how can i solved mixed integer linear programming using genetic algorithm in matlab
Mostra commenti meno recenti
suppose , in my problems there are three variables. i want the integer output of first two variables(such as 5,7) and fractional output(such as 12.234) of the last one.
Risposte (2)
Alan Weiss
il 19 Giu 2013
0 voti
I suppose you have Global Optimization Toolbox R2011b or later. The IntCon field should be [1,2] to specify that the first two variables are integer-valued. See the ga function reference page for more details and examples, or look in the mixed integer programming section of the documentation.
Alan Weiss
MATLAB mathematical toolbox documentation
Seth DeLand
il 17 Mar 2014
0 voti
If your objective function and constraints are linear, I highly recommend using the mixed-integer linear programming solver in Optimization Toolbox R2014a, rather than GA. New solver: http://www.mathworks.com/help/optim/ug/intlinprog.html
1 Commento
Min Adhikari
il 12 Nov 2015
Thank you so much, you literally saved my time.
Categorie
Scopri di più su Genetic Algorithm in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!