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

Respuestas (2)

Alan Weiss
Alan Weiss el 7 de Mayo de 2013
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
gjergj ndoci
gjergj ndoci el 7 de Mayo de 2013
thank you sir, now it works correctly ;)

2 comentarios

Would you then "accept" my answer? Thanks,
Alan Weiss
MATLAB mathematical toolbox documentation
gjergj ndoci
gjergj ndoci el 8 de Mayo de 2013
Editada: gjergj ndoci el 12 de Mayo de 2013
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

Iniciar sesión para comentar.

Categorías

Más información sobre Quadratic Programming and Cone Programming en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 7 de Mayo de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by