Effacer les filtres
Effacer les filtres

GA global optimization toolbox

1 vue (au cours des 30 derniers jours)
mehdi
mehdi le 13 Jan 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 commentaire
Walter Roberson
Walter Roberson le 13 Jan 2012
Doesn't GA use the random number generator? If so then its behavior would be sensitive to the current state of the generator.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Get Started with Optimization Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by