MTZ subtour elimination constraint

6 views (last 30 days)
Brillian
Brillian on 18 Apr 2013
Edited: Walter Roberson on 21 Dec 2016
I am in the middle of doing my thesis on VRP and I am struggling to write a code for the MTZ (Miller-Tucker-Zemlin) constraint. Can anyone help me? The constraints are:
uik = 0 for all k
qi<=uik<=C for all i-idepot
uik-ujk+xijk*C<=C-qj for all i-idepot
I am not sure how to compute the uik because its not binary and it can be any integer. Please help.
Thanks

Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!