Optimisation non-linear constraints

조회 수: 1 (최근 30일)
R Hebi
R Hebi 2020년 3월 8일
댓글: Ameer Hamza 2020년 3월 8일
Hey
I have a optimization issue where I would like to minimize
V = (q*(c1i-x(3)))./(x(3)*kf(x(1))-x(2)*kr(x(1)));
I have 3 variables ( x(1), x(2), x(3) )
  1. The initial condition xo is it only for the three variables or it includes also the the function V
So, should the initial value vector of 3 or 4 elements
x0 = [X1 X2 X3]' OR x0 = [V X1 X2 X3]
2. x(2) have a linre non-equality constraint ( X(2) <= 2), How can let enter this contraints as I have three variables
  댓글 수: 1
Ameer Hamza
Ameer Hamza 2020년 3월 8일
See the answer to your previous question. Both of these points are answered in the code on that question.

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

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