Genetic Algorithm - Special constraint
Mostrar comentarios más antiguos
I am using the Genetic Algorithm to solve a particular problem. I am optimizing scheduled over the day vs a price. The schedule is wether On or Off. So the parameters from the genetic algorithm are the index of starting of each range. Ex :
Range 1 : 0h --> x(1) = 0
Range 2 : 07h --> x(2) = 7....
To do this I need to put a constraint that will tell the algorithm that x(4)>x(3)>x(2)>x(1)... Unfortunately, I am not able to do so with the existing constraints :
A*x = b
lb & ub
Does anyone have an idea to do this ?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Genetic Algorithm en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!