how to choose weight for one of functions in multi-objective genetic algorithm Tool-box?
조회 수: 1 (최근 30일)
이전 댓글 표시
hi
i have two functions(f1,f2).i want to optimization functions with multi-objective genetic algorithm.i want,weight for f1 and f2 where f1=0.3 and f2=0.7
function f = simple_multiobjective222(x)
f(1) = 0.0002169*(x.^0.5)*(-1)*(10000);
f(2) = ((12.85)*(x.^(-1)))+((17.72)*(x.^0.5));
FitnessFunction = @simple_multiobjective222;
numberOfVariables = 1;
[x,fval] = gamultiobj(FitnessFunction,numberOfVariables);
size(x)
size(fval)
A = []; b = [];
Aeq = []; beq = [];
lb = 3;
ub = 17.55;
x = gamultiobj(FitnessFunction,numberOfVariables,A,b,Aeq,beq,lb,ub);
options = optimoptions(@gamultiobj,'PlotFcn',{@gaplotpareto,@gaplotscorediversity});
gamultiobj(FitnessFunction,numberOfVariables,[],[],[],[],lb,ub,options);
please help me.
thanks.
댓글 수: 0
답변 (1개)
Alan Weiss
2018년 12월 26일
But if I misunderstood what you were asking, please ask again, specifying more clearly what you want.
Alan Weiss
MATLAB mathematical toolbox documentation
댓글 수: 1
Ahmed Ellithy
2021년 2월 5일
편집: Ahmed Ellithy
2021년 2월 5일
I think this question is similar to this one "https://www.mathworks.com/support/search.html/answers/475718-how-to-setup-gamultiobj-to-explore-farther-along-a-specific-objective.html?fq=asset_type_name:answer%20category:gads/multiobjective-optimization&page=1"
Do you have any recommendations to "explore further along specific objective" ?
참고 항목
카테고리
Help Center 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!