How to compute VRP by considering MTZ subtour constraints?

Hi,
I am doing thesis on VRP and so far I am using bintprog (excluding MTZ subtour constraint). Everything that I have computed is based on binary only. MTZ constraints are as follow:
u1k=0 for all k
qi<=uik<=C for all i-idepot and for all k
uik-ujk+xijk.C<=C-qj for all i-idepot
MTZ constraints are integer constraints unlike the other constraints which are binary. Has anyone done this before? What optimization tool that I can use to solve this problem? Cheers.

2 Comments

Is there a difference between a "binary" constraint compared to an "integer" that is constrained to 0 or 1 ?
The binary part of the constraint (not included in the question) is the xijk variables (only takes 0s or 1s). Variable uik on the other hand can be integer that ranges from qi to C. Where qi is the demand of customers and C is the capacity of the trucks.

Sign in to comment.

 Accepted Answer

Have a look at this example: http://www.mathworks.com/help/optim/ug/binary-integer-programming-example.html as it shows representation of integer values in terms of binary.

More Answers (0)

Tags

Asked:

on 19 Apr 2013

Commented:

LJ
on 3 Dec 2020

Community Treasure Hunt

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

Start Hunting!