How to count the size of a variable (upper and lower bound) in Genetic Algorithm
1 次查看(过去 30 天)
显示 更早的评论
Having 2 objective functions, thermal Eff and Net work output and the variables are P2 with a range 6 to 19 (P2 = 6......13bar) and T3 with a range 930 to 980 (T3 = 930..... 980K). The lower bound has LB = [6 930] and UB = [13 980] what is the number of decision variable i used variable = 2 but is given me error. Can any one explain much better on how to count it and also how to use it in GA. Here is the code....................... Thank you for your kind support
2 个评论
Geoff Hayes
2018-4-10
Gali - please copy and paste the full error message to your question. Also, attach your code using the paperclip button.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!