error in minimize function

조회 수: 23 (최근 30일)
Mohammad
Mohammad 2015년 6월 16일
댓글: Matt J 2015년 6월 17일
Hi I want to calculate minimum of this function but when I using nonlinear constrain, i have this error
x=fmincon(fx,[1,1],[],[],[],[],[1 0.99],[1 1.1],@confun)
No feasible solution found.
fmincon stopped because the size of the current step is less than the default value of the step size tolerance but constraints are not satisfied to within the default value of the constraint tolerance.
<stopping criteria details>
x =
1.000000000000000 1.099999986802130
  댓글 수: 5
Mohammad
Mohammad 2015년 6월 17일
for simplification the problem i said this actually G and r is not constant
Matt J
Matt J 2015년 6월 17일
But what happens when you do it?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by