help me to use a gamu/pareto to solve an optimization problem
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Alan Weiss
le 12 Mai 2020
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
2 commentaires
Voir également
Catégories
En savoir plus sur Multiobjective Optimization dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!