Writing Penality function in GA
Mostra commenti meno recenti
I am trying to solve a constrained optimization problem with two objectives using GA. The objective function and constraints are as follow:
min f1(x1, x2) & max f2(x1, x2)
subject to:
a*x1-b*x2 < 0 where a and b are constants
sum (x1)= 1
I want to use penalty function approach to solve this problem but I am not sure how to write and apply penalty function to both objectives. I would appreciate any help on this issue.
Risposte (1)
Sebastian Castro
il 3 Ago 2017
0 voti
You can use the gamultiobj function to pass in both your penalty functions separately.
- Sebastian
1 Commento
Saifullah Khalid
il 3 Ago 2017
Categorie
Scopri di più su Multiobjective Optimization in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!