how to set lower and upper bounds for variables to be 0.5 and 2.5 with step 0.5
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how to set lower and upper bounds for variables to be 0.5 and 2.5 with step 0.5 (Taking discrete values from a given set using genetic algorithm)
0 commentaires
Réponses (1)
Alan Weiss
le 8 Déc 2017
Use Mixed Integer Optimization. Have a variable x(1) be integer-valued with a lower bound of 0 and an upper bound of 4. Take y = 0.5 + x(1)/2.
Alan Weiss
MATLAB mathematical toolbox documentation
0 commentaires
Voir également
Catégories
En savoir plus sur Genetic Algorithm 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!