conversion from fmincom to NSGA -II
이전 댓글 표시
I want to convert fmincom to NSGA -II algorithm
댓글 수: 4
Sam Chak
2022년 11월 23일
I guess. Your intent is to use fmincon function as a template and then overwrite the existing method that converges to a solution with your special NSGA-II algorithm?
basit mujtaba
2022년 11월 24일
basit mujtaba
2022년 11월 24일
답변 (1개)
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, ...)
카테고리
도움말 센터 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
