How to solve optimisation problems with discrete search space using GA solver
1 次查看(过去 30 天)
显示 更早的评论
hi friends,
I have a function
F(p1,p2,p3,p4,p5....pn) with input variables p1,p2....pn. Each input variable can have values from the set P which is subset of set {A,B,C,D,E,F,G,H,I}.
The input variables are objects having several properties. One of their properties are "building number" which can be one element from the set P which is subset of {A,B,C,D,E,F,G,H,I}. This is the property upon which the search space depends as mentioned above. I mean to select the population we use this property.
Now after selection, to calculate fitness score we use other properties of the variables p1,p2..pn.
I am thinking, can i solve this type of problem with GA solver? If not is there any alternative way?
0 个评论
回答(1 个)
Alan Weiss
2014-4-3
You can use GA with mixed integer optimization. For an example of how to turn integer variables into your set P, see this example.
Alan Weiss
MATLAB mathematical toolbox documentation
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Direct Search 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!