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

回答(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 个评论

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

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Quadratic Programming and Cone Programming 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by