フィルターのクリア

how can i solve mixed integer programming using genetic algorithm

2 ビュー (過去 30 日間)
kaustov chakraborty
kaustov chakraborty 2013 年 6 月 20 日
suppose for optimizing a problem consists of three variables. i want value of the first two variables are integer (such as 5 & 10)and third variable is fractional representation(12.5). how can i solve the problem in matlab mfile,not using optimization toolbox.

回答 (1 件)

Matt J
Matt J 2013 年 6 月 20 日
編集済み: Matt J 2013 年 6 月 20 日
Since there are such a small number of variables, you could probably search exhaustively over the different possible values of the two integer variables by using a for-loop. For each pair of values, use FMINSEARCH (not in the Optimization Toolbox) to minimize with respect to the 3rd continuous variable.

カテゴリ

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