what is wrong with my optimoptions call?

2 visualizaciones (últimos 30 días)
Dylan
Dylan el 3 de Mayo de 2013
I am running version MATLAB 7.7.0 (R2008b) and the following call givem me an error:
EDU>> options=optimoptions(@linprog,'Algorithm','simplex'); ??? Error using ==> optimoptions Too many input arguments.
What can I do about it? this is copied from a matlab help example.
Thanks Dylan

Respuesta aceptada

Shashank Prasanna
Shashank Prasanna el 3 de Mayo de 2013
Dylan, optimoptions was newly introduced in MATLAB R2013a. If you are using an older release use optimset.
options = optimset('linprog');
options.Algorithm = 'simplex';

Más respuestas (0)

Categorías

Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by