フィルターのクリア

GA global optimization toolbox

1 回表示 (過去 30 日間)
mehdi
mehdi 2012 年 1 月 13 日
Hi, I'm using GA in Global optimization toolbox to solve my mixed integer non-linear program. I have two problems:
1- When the run is finished, I put the results into the main file, but the total cost is different from the objective function that I got from optimization. I'm using the same file, same input data and same values for the decision variables given by GA, but the total cost is different by the minimum value given by GA.
2- My second problem is that, for a same problem and same input data, sometimes GA works well, but, sometimes GA shows crazy values (i.e. inf, zero, 1 or 5 instead of 500000). This is very strange but it's happening to me. For instance, today GA is working well, but yesterday it was not.
Thanks.
  1 件のコメント
Walter Roberson
Walter Roberson 2012 年 1 月 13 日
Doesn't GA use the random number generator? If so then its behavior would be sensitive to the current state of the generator.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with Optimization Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by