Nonlinear constrained optimization using fmincon
显示 更早的评论
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.
回答(1 个)
Matt J
2014-3-16
0 个投票
The objective function is NaN or Inf at the initial guess x0 that you supplied.
类别
在 帮助中心 和 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!