MATLAB Answers

How can I convert a multi objective optimization algorithm to a single objective one by using The weighting method ?

10 views (last 30 days)
ahlem sellami
ahlem sellami on 3 Apr 2018
Answered: Rohit Garud on 31 Aug 2020
F =(f1 ,f2) my objective is maximised f1 et minimised f2 please help me !! thanks in advance

Answers (2)

Rohit Garud
Rohit Garud on 31 Aug 2020
If J is your combined cost function and w1 and w2 are your weights then,
J = w1*(M-f1) + w2*(f2)
Here M is a large number which will always be greater than f1. As (M-f1) is minimized, f1 will be maximized.

Community Treasure Hunt

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

Start Hunting!