Nonlinear constrained optimization using fmincon

23 vues (au cours des 30 derniers jours)
mahir
mahir le 16 Mar 2014
Réponse apportée : Matt J le 16 Mar 2014
Hi!
I am doing an optimization on nonlinear constrained function......I have two different objective function for the same system or decision variables and dependent variable.....for the first objective function, the simulations run nicely...but when I extend the codes for the next objective function with the same decision variable, it fails to simulate with a message-- ''Error running optimization. Objective function is undefined at initial point. Fmincon cannot continue. '' What is the problem??
Thanks.

Réponses (1)

Matt J
Matt J le 16 Mar 2014
The objective function is NaN or Inf at the initial guess x0 that you supplied.

Catégories

En savoir plus sur Problem-Based Optimization Setup dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by