i dont understad where is my mistake, or what i should do to resolve it:

options = optimset(@fmincon,'Display','iter','Algorithm','interior-point');
result: ??? Error using ==> optimset at 151 Expected argument 1 to be a string parameter name or an options structure created with OPTIMSET.
please help

Answers (2)

As detailed in the function reference page, OPTIMSET does not take an initial argument of the solver name. That syntax is for OPTIMOPTIONS, which was introduced in R2013a.
Alan Weiss
MATLAB mathematical toolbox documentation
thank you sir, now it works correctly ;)

2 Comments

Would you then "accept" my answer? Thanks,
Alan Weiss
MATLAB mathematical toolbox documentation
another question, i want to know the deferences that occur betwin: optimal toolbox and knitro? differences on performance, why do we need to use knitro instad of optimal toolbox, in what problems knitro can be more then knitro etc etc
thank you for your advise and help

Sign in to comment.

Categories

Asked:

on 7 May 2013

Community Treasure Hunt

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

Start Hunting!