depot Location allocation problem

3 views (last 30 days)
blitz
blitz on 10 Dec 2014
Commented: Image Analyst on 11 Dec 2014
Hello,
I am trying to solve a depot location allocation problem . I am unable to formulate and solve it in MATLAB. Can anyone help me solve this problem?

Accepted Answer

Alan Weiss
Alan Weiss on 10 Dec 2014
Maybe you could put your problem in an MILP framework, along the lines as this Travelling Salesman Problem example. Notice that, despite the nonlinear distances, the problem itself is linear.
This example might also be relevant: Factory, Warehouse, Sales Allocation Model.
Alan Weiss
MATLAB mathematical toolbox documentation
  4 Comments
blitz
blitz on 11 Dec 2014
Thank you so much! You're awesome, that worked. I just couldn't believe I was missing such a detail. I up-voted the answer. Sorry about the bad arrangement of code. I am new to this and didn't know about it. I thank you once again.
Image Analyst
Image Analyst on 11 Dec 2014
In the meantime, Mathworkers and others with enough reputation points can "Edit" the post to see the code in a form better for viewing and copying and pasting.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!