How can I create two separate files for Objective function and Constraints in the case of complex black-box function BB(x) (where x is the input parameters vector). The black-box function produce the output vector (obj(x), c1(x), c2(x), c3(x)), containing object function value together with constraints.
I am not sure, how to create these two basic files in this case.