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
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
Nilufa Yeasmin 2016년 12월 21일
편집: Nilufa Yeasmin 2016년 12월 21일
SDP means simultaneously deliver and Pickup
Nilufa Yeasmin
Nilufa Yeasmin 2016년 12월 22일
편집: Nilufa Yeasmin 2016년 12월 22일
Thanks Walter Roberson for your kind response. Now i am working with thirty customer points where no of vehicle,vehicle capacity,customer demand are collected.Actually i want to know how to write fitness function,linear equality,linear inequality constrants in matlab in case of three dimensional by using GA toolbox for minimizing travelling distance.I need help urgently
Walter Roberson
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
Nilufa Yeasmin 2016년 12월 23일
Thanks Walter Roberson for your advice. I have attach the file for my problem. How can I breakdown this equation in matlab.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2016년 12월 23일

0 개 추천

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에 대해 자세히 알아보기

질문:

2016년 12월 21일

댓글:

2017년 1월 3일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by