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, ...)

태그

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by