subtour elimination constrinats

Hello,
I am trying to write the following subtour elimination constraints in Matlab:-
∑(i,j∈S)Xij ≥ S ;S ∈ N; S≥ 2
I am not able to come up with the loop for the formulation. Thanks in advance -AJ

Answers (1)

Anuj Vasishta
Anuj Vasishta on 5 Aug 2011
I apologize, but I wrote the formulation wrong. Correct is:-
∑(i,j∈S)Xij < S-1 ;S ∈ N; S≥ 2

1 Comment

I know this post has been around for a long time but do you know how to compute MTZ constraints on MATLAB?

Sign in to comment.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Asked:

on 5 Aug 2011

Community Treasure Hunt

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

Start Hunting!