Writing fitness function in multi objective GA

7 views (last 30 days)
If I need to go for a multi objective optimisation in GA, how can I bring in the two objectives in a custom made fitness function. Can someone explain in the context of the travelling salesman problem described here : https://in.mathworks.com/help/gads/custom-data-type-optimization-using-ga.html

Accepted Answer

Walter Roberson
Walter Roberson on 25 May 2022
mobj = @(x) [fun1(x); fun2(x) ]
  7 Comments
Hari
Hari on 4 Jun 2022
Yes, I tried again. The second approach worked this time. Thanks!!

Sign in to comment.

More Answers (1)

M Mirrashid
M Mirrashid on 5 Jun 2022

Categories

Find more on Cardiology in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!