Borrar filtros
Borrar filtros

conversion from fmincom to NSGA -II

1 visualización (últimos 30 días)
basit mujtaba
basit mujtaba el 23 de Nov. de 2022
Respondida: Sam Chak el 25 de Nov. de 2022
I want to convert fmincom to NSGA -II algorithm
  4 comentarios
basit mujtaba
basit mujtaba el 24 de Nov. de 2022
In this file I want to remove the fmincom part and insert NSGA algorithm in it
basit mujtaba
basit mujtaba el 24 de Nov. de 2022

Iniciar sesión para comentar.

Respuestas (1)

Sam Chak
Sam Chak el 25 de Nov. de 2022
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, ...)

Categorías

Más información sobre Dynamic System Models en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by