Optimisation toolbox (GA)

3 ビュー (過去 30 日間)
Tejaswini Miryala
Tejaswini Miryala 2020 年 4 月 22 日
回答済み: Alan Weiss 2020 年 4 月 23 日
function f = pareto(x)
func1 = 2*x(1).^2+3*x(1)*x(2)+x(2)+x(2).^2-1;
func2 = 18*x(1).^2+x(1)*x(2)+20*x(2)+x(2).^2;
end
I tried using this code in Matlab Optimisation tool box but encountered an error like
Optimization running.
Error running optimization.
Undefined function 'second_objective_toolbox' for input arguments of type 'double'.
Could anyone help me in this regard. I need the solution using gamultiobj?
  1 件のコメント
BALAJI KARTHEEK
BALAJI KARTHEEK 2020 年 4 月 22 日
comment the bounds of x(1) and x(2) . and constraints, then i can give you the code for gamultiobj

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

回答 (1 件)

Alan Weiss
Alan Weiss 2020 年 4 月 23 日
You might want to refer to the documentation for gamultiobj or to the documentation of multiobjective optimization.
Alan Weiss
MATLAB mathematical toolbox documentation

カテゴリ

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