How can I convert a multi objective optimization algorithm to a single objective one by using The weighting method ?
6 次查看(过去 30 天)
显示 更早的评论
F =(f1 ,f2) my objective is maximised f1 et minimised f2 please help me !! thanks in advance
0 个评论
回答(2 个)
Ugur Acar
2020-5-6
Assign weights to objective functions f1,f2) then optimize the weighted sum of f1 and f2
0 个评论
Rohit Garud
2020-8-31
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!