Effacer les filtres
Effacer les filtres

Taking discrete values from a given set using genetic algorithm

5 vues (au cours des 30 derniers jours)
Ace_ventura
Ace_ventura le 29 Mar 2015
Commenté : Ace_ventura le 30 Mar 2015
Guys , I have an optimization problem in which, my variables are discrete. These variables have to take value from a given standard set of values.How do I make these variables take those values from the set. The number of values in the set will define my lower and upper bounds. I am using genetic algorithm

Réponses (1)

Alan Weiss
Alan Weiss le 30 Mar 2015
Take a look at this example.
Alan Weiss
MATLAB mathematical toolbox documentation
  3 commentaires
Alan Weiss
Alan Weiss le 30 Mar 2015
As the release notes state, mixed integer nonlinear programming was added to GA in R2011b. So I am afraid that your MATLAB version does not support integer programming.
Alan Weiss
MATLAB mathematical toolbox documentation
Ace_ventura
Ace_ventura le 30 Mar 2015
Thans a lot Alan. I will get a new version. Cheers Man!!!

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by