Nonlinear constrained optimization using fmincon
23 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Matt J
2014-3-16
The objective function is NaN or Inf at the initial guess x0 that you supplied.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Problem-Based Optimization Setup 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!