GA optimization toolbox sover
古いコメントを表示
Hello I am a student of IPE and i am working with VRPWSDP. I want to optimize the travelling distnce in MATLAB by using GA optimization toolbox.But I am unable to write fitness function,linear equality constrants,inequality constraints etc. How will I do it.
7 件のコメント
Walter Roberson
2016 年 12 月 21 日
I recognize VRP as Vehicle Routing Problem, and the W is "with" but I do not recognize the "SDP" part?
Nilufa Yeasmin
2016 年 12 月 21 日
編集済み: Nilufa Yeasmin
2016 年 12 月 21 日
Walter Roberson
2016 年 12 月 21 日
Nilufa Yeasmin
2016 年 12 月 22 日
編集済み: Nilufa Yeasmin
2016 年 12 月 22 日
Walter Roberson
2016 年 12 月 22 日
We are not equipped for urgent assistance of any nature.
It is just before 3 AM where I am, and I am going to sleep soon. You have also asked a question that would require a fair bit of research from the regular volunteers, as none of us are familiar with advanced vehicle routing problems. It would be a lot better if you were to ask specific questions. For example start with the matter of what is being optimized. Given any particular configuration, how do you measure how good the configuration is?
For that matter, before that you need to figure out what your variables are. What are the inputs that you you need to vary??
Nilufa Yeasmin
2016 年 12 月 23 日
回答 (1 件)
Walter Roberson
2016 年 12 月 23 日
function cost = objective(x, d)
cost = sum(d(:) .* x(:));
end
To be used with
ga( @(x) objective(x, d), 20*20*5 )
カテゴリ
ヘルプ センター および File Exchange で Surrogate Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!