Nonlinear constrained optimization using fmincon

조회 수: 23 (최근 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 CenterFile Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by