GA global optimization toolbox
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Walter Roberson
am 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.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with Optimization Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!