Nonlinear constrained optimization using fmincon

2 views (last 30 days)
mahir
mahir on 16 Mar 2014
Answered: Matt J on 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.

Answers (1)

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

Products

Community Treasure Hunt

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

Start Hunting!