add the boundary objective function value for fmincon

조회 수: 1 (최근 30일)
Wathsala Karunarathne
Wathsala Karunarathne 2020년 11월 13일
댓글: Wathsala Karunarathne 2020년 11월 13일
Hi, I have a nonlinear constrained optimization problem which I am trying to solve using fmincon. I need to say when t1=t2=0 the objective function value is 0.8. Using Aeq = [0 0] and beq = 0.8 gives me a reasonable answer but it doesn't mean what I want to say. Could someone please me with this?
Thank you
  댓글 수: 4
Matt J
Matt J 2020년 11월 13일
편집: Matt J 2020년 11월 13일
The objective function is supposed to be a given function of (t1,t2), and so its value at (0,0) is already supposed to be predetermined. An optimizer like fmincon cannot force it to have a value at a point that it doesn't already have.
Wathsala Karunarathne
Wathsala Karunarathne 2020년 11월 13일
I got you Matt. Thanks a lot. I am now trying to add boundary to my objective function which has only defined when t1,t2>0.

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

답변 (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