Multi-variable optimization problem

조회 수: 5 (최근 30일)
Anshuman S
Anshuman S 2019년 5월 23일
댓글: Anshuman S 2019년 5월 23일
I want to perform a multivariable optimisation. where I want to minimise both the objective functions together for the same value of variables.
The objective function and the variables are listed in my attachment, please go through this once!
Thank you.
  댓글 수: 1
Anshuman S
Anshuman S 2019년 5월 23일
Please check the code for ineqality conditions. is it correct ? I'm not sure about the greater than and less than sign difference.
function [c,ceq] = nlcon_reg(x)
g = 9.8;
R = 0.15;
c1 = (-g*x(1)/(pi*R.^2)) + 0.001; % quality greater than 1.
c2 = (g*x(1)/(pi*R.^2)) - 0.03;
c3 = (-x(2)/2*R) + 0.75 ;
c4 = (x(2)/2*R) - 1.35 ;
c5 = -x(3)/x(2)+ 0.01 ;
c6 = x(3)/x(2)- 0.1 ;
c = [c1,c2,c3,c4,c5,c6];
ceq = []; % total time condition.

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

답변 (0개)

카테고리

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