- Use normal default MATLAB variables, not any other type.
- The mixed-integer solver, as its name suggests, is MIXED-integer, meaning some variables can be continuous. To keep it simple, one data type is used for all variables.
- bitstring variables have many limitations, documented here, such as no constraints are allowed.
- Variables are standard MATLAB variables. The solution is a vector.
- For mixed-integer optimization, variables are standard doubles. If you want a binary variable, give integer type. a lower bound of 0, and an upper bound of 1. See the documentation, which I tried to make clear.
Doubts in genetic algorithm (Using toolbox)
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Parikshit Sharma
le 24 Avr 2018
Commenté : Walter Roberson
le 25 Avr 2018
Hello everyone i have some doubts regarding mixed integer optimization using genetic algorithm in toolbox, please help:
1. what does it mean by population type double?
2. For integer constraint why population should be of type double vector only not bit string or any other ?
3. How population type double vector is different from population type bit string?
4. How a particular string of variables is being represented in a population?
Most important of all :
5. Optimization toolbox uses real coded genetic algorithm or binary coded genetic algorithm??
Thanking you in advance.
0 commentaires
Réponse acceptée
Alan Weiss
le 24 Avr 2018
Alan Weiss
MATLAB mathematical toolbox documentation
2 commentaires
Plus de réponses (0)
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!