conversion from fmincom to NSGA -II

1 回表示 (過去 30 日間)
basit mujtaba
basit mujtaba 2022 年 11 月 23 日
回答済み: Sam Chak 2022 年 11 月 25 日
I want to convert fmincom to NSGA -II algorithm
  4 件のコメント
basit mujtaba
basit mujtaba 2022 年 11 月 24 日
In this file I want to remove the fmincom part and insert NSGA algorithm in it
basit mujtaba
basit mujtaba 2022 年 11 月 24 日

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

回答 (1 件)

Sam Chak
Sam Chak 2022 年 11 月 25 日
If you have written your own NSGA-II algorithm in a MALTAB function file, for example, called nsga2.m, then you can replace this line
[x, aard] = fmincon(costfun, P0, [], [], [], [], lb, ub)
and insert your NSGA-II algorithm with this line:
[x, aard] = nsga2(costfun, param1, param2, param3, ...)

カテゴリ

Help Center および File ExchangeDynamic System Models についてさらに検索

タグ

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by