help me to use a gamu/pareto to solve an optimization problem
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to use a gamu program to solve an optimization problem of 6 variables and draw the 3D pareto curve of 3 functions of nonlinear objectives which are in the first m.file, under constraints of 3 nonlinear constraints which are in the second m.file, and the third m.file dedicate for initial data and options:premier m.file:
fonction [F]=obj(x)
t1=1;
t2=1;
t3=1;
f(1)=t1*(x(1)-x(4));
f(2)=t2*(x(2)-x(5));
f(3)=t3*(x(3)-x(6));
end
second m.file:
(x(1)^2-1)=0;
(x(2)^2-4)=0;
(x(3)^2-9)=0;
t1*(x(1))-x(4)=0;
t2*(x(2))-x(5)=0;
t3*(x(3))-x(6)=0;
third m.file:
x0=[1 2 3 1 2 3];
how to make a simulation and change in t1 and t2 and t3 between [0,1: 1]? and how to draw the pareto curve of f(1) = function (f(2), f(3)).
댓글 수: 0
답변 (1개)
Alan Weiss
2020년 5월 12일
Your three objective functions are t(1)(x(1) - x(4)),..., and your second condition contains the equations t(1)(x(1) - x(4)) = 0,...
So how can you expect to minimize anything? You have already constrained the objectives to all be zero, whatever the variables are.
Furthermore, the second equation can be solved to say x(1) = ±1, x(2) = ±2, and x(3) = ±3. So what is there to plot? What is there to compute?
Alan Weiss
MATLAB mathematical toolbox documentation
참고 항목
카테고리
Help Center 및 File Exchange에서 Multiobjective Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!