フィルターのクリア

How can I define fitness limit for multiple objectives when using gamultiobj

3 ビュー (過去 30 日間)
Veector
Veector 2021 年 4 月 27 日
コメント済み: Veector 2021 年 5 月 4 日
Hello, please pardon my rusty matlab skills...
In working with single objective genetic optimization tool, I am able to define limit on the fitness function using:
opts.FitnessLimit = -100;
[x,fval] = ga(@objfunEff,nvars,A,B,Aeq,Beq,lb,ub,@confun,IntCon,opts);
However, I am working on multiobjective functions using gamultiobj but I do not know how to the fitness limit for the fitness functions.
I know this is not right, but this describes what I want to do
opts.FitnessLimit (1) = -100; %fitness limit for f(1)
opts.FitnessLimit (2) = -10; %fitness limit for f(2)
[x,fval] = ga(@objfunEff,nvars,A,B,Aeq,Beq,lb,ub,@confun,IntCon,opts);
Any help or link would be appreciated.

採用された回答

Alan Weiss
Alan Weiss 2021 年 4 月 29 日
You can set Nonlinear Constraints in gamultiobj to keep the objective functions within the limits you like. Or you can simply postprocess the resulting Pareto set to discard all points that do not satisfy your constraints. But, of course, that might cause you to end up with too few points.
Alan Weiss
MATLAB mathematical toolbox documentation
  1 件のコメント
Veector
Veector 2021 年 5 月 4 日
Thank you for the tip Alan, and apologies for belated reply.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultiobjective Optimization についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by