Genetic Algorithm - Special constraint
이전 댓글 표시
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 ?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!