1. 程式人生 > >【原始碼】NSGA - II:一種基於進化演算法的多目標優化函式

【原始碼】NSGA - II:一種基於進化演算法的多目標優化函式

在這裡插入圖片描述
NSGA-II是一種著名的多目標優化演算法。

NSGA-II is a very famous multi-objective optimization algorithm.

相應的函式為nsga_2(pop,gen)。

The function is nsga_2(pop,gen).

輸入引數pop為種群大小,gen為進化代數。

The input arguments for the function are population size and number of generations.

使用者可以根據需要靈活修改優化目標函式evaluate_objective.m。

For customization purposes the user is free to modify the objective function (function of several decision variables) by modifying an m file (evaluate_objective.m).

本檔案中已經提供了一些目標函式示例。

Couple of sample objective functions is already described in the file.

使用者還可以自定義判決空間。

The user also has the freedom to define the decision space.

完整原始碼下載地址:

http://page5.dfpan.com/fs/flbcdj5232817259166/

更多精彩文章請關注微訊號:在這裡插入圖片描述