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.

2 Kommentare

Michal Kvasnicka
Michal Kvasnicka am 27 Jan. 2012
this thread is probably relevant to my problem:
http://www.mathworks.com/matlabcentral/newsreader/view_thread/269936#707304
Alan Weiss
Alan Weiss am 2 Mär. 2012
Note that this discussion continued on CSSM:
http://www.mathworks.com/matlabcentral/newsreader/view_thread/316329

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Steve Grikschat
Steve Grikschat am 21 Mär. 2012

0 Stimmen

Just to close the thread, the answer is given by Alan and others here:

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by