Nonlinear constrained optimization using fmincon

22 ビュー (過去 30 日間)
mahir
mahir 2014 年 3 月 16 日
回答済み: Matt J 2014 年 3 月 16 日
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
Matt J 2014 年 3 月 16 日
The objective function is NaN or Inf at the initial guess x0 that you supplied.

カテゴリ

Help Center および File ExchangeProblem-Based Optimization Setup についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by