Azzera filtri
Azzera filtri

GA global optimization toolbox

1 visualizzazione (ultimi 30 giorni)
mehdi
mehdi il 13 Gen 2012
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 Commento
Walter Roberson
Walter Roberson il 13 Gen 2012
Doesn't GA use the random number generator? If so then its behavior would be sensitive to the current state of the generator.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Get Started with Optimization Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by