Logo Solving a TSP > Cut Applet > Tutorial
Cut Applet
Cutting Plane Applet
  Home
  Solving a TSP
  TSP Progress
  Tour Quality
  Cutting Planes
  Cut Applet
Tutorial
  Help
  Talks
  Papers
Cutting Plane Applet Tutorial
Next
Start
1  2  3  4  5  6  7  8  9  10  11  12 
Finish

Start:   The initial LP solution for this example breaks up into three islands. That is bad news for the salesman, but it makes it easy to spot violated subtour-elimination constraints. We will begin by adding the constraint corresponding to the small triangle in the bottom left-hand-corner of the drawing. In this case, the set S consists of the three cities (0 1 5).

To add the subtour-elimination constraint for S, either click on the three cities, or type "0 1 5" in the text area to the right of the "Add Subtour Inequality" button. (See the figure below.) After selecting the three cities, click on "Add Subtour Inequality"; this will build the constraint and add it to the LP relaxation. (Note that we do not mean to click on the figure below; the figure is only a snap-shot of the applet. To actively follow along with the tutorial, you will need to open the applet in another browser window.)

Now click on "Solve Problem" to update the LP solution in the drawing.

To proceed to the next step in the tutorial, click on the Next link in the navigation table above.

Home | Solving a TSP Back
Last Updated: Jan 2005