A optimset code that was running in MATLAB 2015 version is not working on Matlab 2019 version. What is the problem

I was using this code in Matlab 2015. Then i Upgraded my version to Matlab 2019 and it shows this error
Error using optimset (line 255) Unrecognized parameter name 'Algorithm'. Please see the optimset reference page in the documentation for a list of acceptable option parameters. Link to reference page.
What should i do?
Code :
options=optimset('Algorithm','sqp','ScaleProblem','obj-and-constr','TolX',1e-10,'TolFun',1e-10,'MaxFunEvals',1e5,'MaxIter',1e4);

Respuestas (0)

Categorías

Preguntada:

el 22 de Jul. de 2019

Comentada:

el 22 de Jul. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by