Multiobjective optimization using genetic algorithm

2 ビュー (過去 30 日間)
Saifullah Khalid
Saifullah Khalid 2017 年 7 月 9 日
コメント済み: Saifullah Khalid 2017 年 7 月 12 日
I have an objective function given below. I want to solve it using genetic/evolutionary algorithm (strength pareto SPEA2). Since the algorithm is multi-objective so I consider the income maximization as one objective and expense minimization as second objective. I am using SPEA2 code from YARPIZ. I am not sure whether this approach of breaking objective function is technically correct. Secondly, please also through some light how to do both conflicting objective simultaneously. The code in link is written for minimization of objective functions.
profit = income - expense
  2 件のコメント
Alan Weiss
Alan Weiss 2017 年 7 月 10 日
I don't see any linked code.
If you have a multiobjective function to maximize income and minimize expenses, then you should write a two-output objective function:
function F = myobjective(x)
% calculate income and expense here
% then output the following
F(1) = -profit;
F(2) = expense
gamultiobj tries to minimize both objective functions, and gives you the Pareto set where they are as minimal as possible.
Alan Weiss
MATLAB mathematical toolbox documentation
Saifullah Khalid
Saifullah Khalid 2017 年 7 月 12 日
Sir, thanks for insight.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeGenetic Algorithm についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by