Simulation Optimization by fmincon
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
I am trying to optimize a simulation by simulink and fmincon. At some iterations, infeasible points, my simulation fails. I am using try and catch command to catch the error and return NaN to the optimizer as suggested here (see the link) . It is mentioned that fmincon has the ability to deal with NaN; however, I am getting the following error from the optimizer:
Error using sqpInterface
Finite difference derivatives at initial point contain Inf or NaN values. Fmincon cannot continue.
I would appreciate it if someone could help me with this. Thanks.
Regards,
Mo
0 comentarios
Respuestas (1)
Pratheek Punchathody
el 15 de Feb. de 2021
Editada: Pratheek Punchathody
el 15 de Feb. de 2021
0 comentarios
Ver también
Categorías
Más información sobre Manual Performance Optimization 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!