フィルターのクリア

how can i solved mixed integer linear programming using genetic algorithm in matlab

2 ビュー (過去 30 日間)
kaustov chakraborty
kaustov chakraborty 2013 年 6 月 19 日
コメント済み: Min Adhikari 2015 年 11 月 12 日
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.

回答 (2 件)

Alan Weiss
Alan Weiss 2013 年 6 月 19 日
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
Seth DeLand 2014 年 3 月 17 日
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

カテゴリ

Help Center および File ExchangeGenetic Algorithm についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by