Skip to content
Back to exploration
Mathematical modeling / English

Traveling Salesperson Problem (TSP) - Formulation-2

MH Studio · YouTube · 8:37

Open original
READ & KEEP

The explanation, unpacked.

Saves 0

Reviewed learning material · Video analysis · English
Read the full overview

This 150-second lecture segment introduces a second integer-programming formulation for the Traveling Salesperson Problem aimed at automatically breaking subtours. After showing the title and chapter outline, the speaker defines a new non-negative variable uiu_i for i>1i>1 as the number of cities visited before reaching city i, under the crucial assumption that the tour starts from city 1. The binary arc variable xi,jx_{i,j} is reviewed as indicating whether the tour goes directly from city i to city j. Using a hand-drawn i-to-j illustration, the lecture derives the conditional rule xi,j=1x_{i,j}=1 implies ui+1≤uju_i+1\le u_j, while xi,j=0x_{i,j}=0 imposes no direct relation between uiu_i and uju_j. This if-then logic is then linearized as the big-M inequality ui+1≤uj+M(1−xi,j)u_i+1\le u_j+M(1-x_{i,j}), with M required to be large enough that ui≤Mu_i\le M. The slide recommends M=nM=n, the total number of cities, and notes that M=n−1M=n-1 is the tighter best estimate, though n is used in the presentation. The segment ends with the final MTZ-style subtour-breaking constraint ui+1≤uj+n(1−xi,j)u_i+1\le u_j+n(1-x_{i,j}) for all distinct i,j=2j=2,…\dots,n, stated as automatically eliminating subtours. No worked numerical example appears in this clip, and the full formal proof that the constraint removes every subtour is not completed within the available duration. This lecture segment introduces the Miller-Tucker-Zemlin (MTZ) subtour elimination constraint for the Traveling Salesperson Problem. It defines auxiliary continuous variables uiu_i to track city visit order and explains how the Big-M method uses the binary edge variables xi,jx_{i,j} to conditionally enforce the ordering constraint ui+1u_i + 1 <= uju_j. The instructor emphasizes excluding the starting city from these constraints. Two graphical examples are analyzed: a valid full tour that yields consistent bounds and feasible u values, and an invalid subtour configuration that generates a cyclic chain of strict inequalities, thereby proving its mathematical infeasibility. This 150-second lecture segment explains the subtour-breaking constraint in TSP Formulation-2. It first verifies on a 5-node example that a subtour not containing node 1 forces inconsistent values of the auxiliary ordering variables uiu_i, making the subtour infeasible. The clip then presents the full integer-programming model: minimize total arc cost subject to one-incoming and one-outgoing constraints, binary arc variables xi,jx_{i,j}, the subtour-breaking inequalities ui+1≤uj+n(1−xi,j)u_i+1\le u_j+n(1-x_{i,j}), and nonnegativity of uiu_i. The lecturer states that the main advantage is automatic subtour elimination, allowing standard solvers such as CPLEX or Gurobi to be used with conventional branch-and-bound. The stated disadvantages are loss of assignment-problem structure, which rules out the Hungarian method for the LP relaxation, and the addition of about (n-1)^2 constraints. The clip ends with an exercise prompt to solve Formulation-2 using Cplex, but no numerical solution is performed here. This 67-second lecture segment first states that the TSP can be tested computationally by solving Formulation-2 with the Cplex solver, using data from Example-1 and Example-2. It then shifts to a conceptual overview of improving the TSP branch-and-bound approach. The speaker identifies two key directions: tightening lower bounds and tightening upper bounds. The slide specifies that the assignment problem approach is used for tighter lower bounds, while heuristic or metaheuristic methods are used for tighter upper bounds. The central claim is that better bounds can drastically reduce the size of the branch-and-bound enumeration tree. No formulas, numerical instances, or solver outputs are shown in this clip.

Use the learning inspector for key ideas and moments, or open the reading tabs for the complete notes.

Chapters

0:00Introduction to Formulation-2 for TSP0:16Defining the auxiliary variable uiu_i0:49Reviewing xi,jx_{i,j} and seeking a relationship1:20If-then logic for arcs and city order2:04Big-M linearization and choosing M=nM=n2:25Final subtour breaking constraint2:30Introduction to the Subtour Breaking Constraint3:00Verifying the Constraint with a Full Tour4:40Demonstrating Infeasibility with a Subtour5:00Subtour-breaking verification on a 5-node example6:25Full statement of TSP Formulation-26:45Advantages: automatic subtour breaking and standard solvers7:04Disadvantages: lost assignment structure and more constraints7:26Closing exercise prompt7:30TSP Formulation-2 testing with Cplex7:43Improving the TSP branch-and-bound approach8:06Lower bounds via the assignment problem approach8:18Upper bounds via heuristics and metaheuristics

Learning script

Generated from the video's visuals and explanation; not verbatim speech.

The clip opens on a lecture titled "Traveling Salesperson Problem" and then shows a chapter outline placing this material under Exact Methods, specifically Formulation-2. The speaker states that this formulation is designed to break all subtours automatically, establishing the modeling goal before any variables are introduced.

The slide titled "TSP: Subtour Breaking Constraint" introduces a new auxiliary variable uiu_i. It is defined as a non-negative variable representing the number of cities visited before reaching city ii, for i>1i>1, with the explicit assumption that the tour starts from city 1. The speaker emphasizes that this starting-city assumption is crucial because the later constraint relies on a notion of order along the tour.

Next, the lecture reviews the standard binary arc variable xi,jx_{i,j}, which equals 1 when the tour travels directly from city ii to city jj and equals 0 otherwise. The goal is now to connect this arc variable with the order variables uiu_i and uju_j, because subtour elimination requires enforcing consistency between route selection and visitation order.

A hand-drawn diagram with nodes labeled ii and jj supports the intuitive derivation. If xi,j=1x_{i,j}=1, meaning the arc from ii to jj is used, then city jj must be reached after city ii, so the order variable must satisfy ui+1≤uju_i+1\le u_j. If xi,j=0x_{i,j}=0, the speaker explicitly notes that no direct relationship between uiu_i and uju_j can be inferred, because the model should not constrain the relative order of cities unless that specific arc is selected.

The conditional statement is then converted into a linear inequality using a big-M formulation: ui+1≤uj+M(1−xi,j)u_i+1\le u_j+M(1-x_{i,j}), where MM is chosen large enough that ui≤Mu_i\le M. When xi,j=1x_{i,j}=1, the term M(1−xi,j)M(1-x_{i,j}) disappears and the ordering constraint becomes active. When xi,j=0x_{i,j}=0, the added MM relaxes the inequality so that it does not impose the direct ordering relation.

The lecture then specializes the big-M constant to the TSP setting. The slide states that a good estimate is M=nM=n, the total number of cities, and adds that the tighter best estimate is M=n−1M=n-1. The speaker says the presentation will use nn in the slides, so the final displayed model adopts M=nM=n rather than the sharper value.

Substituting M=nM=n yields the final subtour-breaking constraint shown on screen: ui+1≤uj+n(1−xi,j)u_i+1\le u_j+n(1-x_{i,j}) for all i,j=2,…,ni,j=2,\dots,n with i≠ji\ne j. The speaker identifies this as the constraint that automatically breaks subtours. The clip ends after presenting the formula and its purpose; it does not include a full formal proof that every possible subtour is excluded, nor does it work a numerical example.

The lecture begins by presenting the subtour breaking constraint for the Traveling Salesperson Problem. The formula ui+1≤uj+n(1−xi,j)u_i + 1 \le u_j + n(1 - x_{i,j}) is introduced for all i,j∈{2,…,n}i, j \in \{2, \dots, n\} with i≠ji \neq j. The instructor highlights a critical design choice: the indices start at 2, deliberately excluding city 1, which serves as the fixed start and end point of the tour. This exclusion is described as the 'crux' of the constraint, preventing artificial restrictions on the depot.

The role of the auxiliary variable uiu_i is clarified as tracking the sequence of visited cities. The term n(1−xi,j)n(1 - x_{i,j}) functions as a Big-M relaxation. When an edge is selected (xi,j=1x_{i,j} = 1), this term vanishes, strictly enforcing ui+1≤uju_i + 1 \le u_j. Conversely, when the edge is absent (xi,j=0x_{i,j} = 0), the addition of nn ensures the inequality is trivially satisfied, effectively disabling the constraint for that pair. The value nn is noted as a robust estimate for the Big-M constant.

To validate the formulation, a concrete example with n=5n=5 cities is constructed. A directed graph displays a valid Hamiltonian cycle: 1→3→2→5→4→11 \to 3 \to 2 \to 5 \to 4 \to 1. The active edges within the subset {2,3,4,5}\{2, 3, 4, 5\} generate specific inequalities: u2+1≤u3u_2 + 1 \le u_3, u4+1≤u2u_4 + 1 \le u_2, and u5+1≤u4u_5 + 1 \le u_4. Additionally, the global bound ui≤4u_i \le 4 applies since city 1 is the start/end point.

The instructor systematically deduces the upper bounds for each variable by tracing the path backward from the start city. Because node 3 connects directly to node 1, u3u_3 is assigned the maximum possible value of 4. Propagating this bound through the chain of inequalities yields u2≤3u_2 \le 3, u4≤2u_4 \le 2, and u5≤1u_5 \le 1. This establishes a strict, acyclic ordering: u5<u4<u2<u3u_5 < u_4 < u_2 < u_3.

Feasible integer assignments are then demonstrated on the graph. One valid solution sets (u2,u3,u4,u5)=(3,4,2,1)(u_2, u_3, u_4, u_5) = (3, 4, 2, 1), while another shifts the entire sequence down to (2,3,1,0)(2, 3, 1, 0). Both sets perfectly satisfy all derived inequalities and the upper bound constraint, confirming that the formulation correctly accommodates valid, single-loop tours without eliminating legitimate solutions.

The analysis then pivots to an invalid configuration to test the constraint's eliminative power. A new graph illustrates two disjoint subtours: a 2-city loop (1↔31 \leftrightarrow 3) and a 3-city loop (2→5→4→22 \to 5 \to 4 \to 2). The edges comprising the secondary loop activate the constraints u4+1≤u2u_4 + 1 \le u_2, u2+1≤u5u_2 + 1 \le u_5, and u5+1≤u4u_5 + 1 \le u_4, creating a closed chain of dependencies among the uu variables.

By chaining these three inequalities together, the system demands that u4<u2<u5<u4u_4 < u_2 < u_5 < u_4. This circular strict ordering constitutes a fundamental mathematical contradiction, as no real number can be strictly less than itself. Although the video concludes before explicitly stating the final result, the setup definitively proves that the MTZ constraints render any subtour configuration mathematically infeasible.

The clip opens on a slide titled "TSP: Subtour Breaking Constraint" with a five-node directed graph. The lecturer begins a concrete verification by assigning the largest ordering value to node 3, writing u3=3u_3=3. The purpose of this step is to test whether a proposed cyclic solution can satisfy the auxiliary ordering constraints.

Because the remaining cycle does not connect to node 3, the lecturer chooses node 4 arbitrarily and assigns u4=2u_4=2, noting that this value must stay below 3 since the node leading into node 1 should carry the highest value. This sets up a chain of implications through the other inequalities on the slide.

Using the displayed inequality u5+1≤u4u_5+1\le u_4, the assignment u4=2u_4=2 forces u5=1u_5=1. Then using u2+1≤u5u_2+1\le u_5, the value u5=1u_5=1 forces u2=0u_2=0. These are direct substitutions into the visible constraints, and they show how the ordering variables propagate around the cycle.

The lecturer then examines the third displayed inequality u4+1≤u2u_4+1\le u_2. With u4=2u_4=2, this requires u2u_2 to be 3, contradicting the previously derived value u2=0u_2=0. The slide therefore demonstrates an explicit inconsistency in the same variable, and the spoken conclusion is that the subtour is infeasible under the subtour-breaking constraints.

This example illustrates the general logic of the constraint ui+1≤uj+n(1−xi,j)u_i+1\le u_j+n(1-x_{i,j}). When an arc is selected, xi,j=1x_{i,j}=1 and the inequality reduces to ui+1≤uju_i+1\le u_j, imposing a strict ordering from ii to jj. Chaining such strict inequalities around a closed cycle eventually demands that some uu-value be larger than itself, which is impossible.

The presentation then switches to the full model on a slide titled "TSP: Formulation-2". The objective is min⁡∑i=1n∑j=1ndi,jxi,j\min \sum_{i=1}^{n}\sum_{j=1}^{n} d_{i,j}x_{i,j}, minimizing total travel cost over selected arcs. The lecturer states that this objective and some constraints are similar to Formulation-1, while the new ingredients are the subtour-breaking constraint and the associated nonnegative variables.

The degree constraints are shown as ∑i=1i≠jnxi,j=1\sum_{\substack{i=1\\ i\neq j}}^{n} x_{i,j}=1 for every node jj and ∑j=1j≠inxi,j=1\sum_{\substack{j=1\\ j\neq i}}^{n} x_{i,j}=1 for every node ii. These enforce exactly one incoming and one outgoing selected arc at each node. The model also declares xi,j∈{0,1}x_{i,j}\in\{0,1\} and ui≥0u_i\ge 0 for i=2,…,ni=2,\ldots,n.

The subtour-breaking family is restated in the full formulation as ui+1≤uj+n(1−xi,j)u_i+1\le u_j+n(1-x_{i,j}) for all i,j=2,…,ni,j=2,\ldots,n with i≠ji\neq j. This is the central addition that distinguishes Formulation-2 from the earlier assignment-style model.

The lecturer then summarizes the practical advantage: because subtours are broken automatically by these explicit inequalities, the model can be given directly to commercial solvers such as CPLEX or Gurobi and solved with conventional branch-and-bound. No special-purpose subtour-handling algorithm has to be built from scratch for this formulation.

Two disadvantages are stated. First, the added constraints and auxiliary variables damage the pure assignment-problem structure, so the Hungarian method can no longer be used to solve the LP relaxation. Second, the formulation introduces approximately (n−1)2(n-1)^2 additional constraints, increasing the overall problem size relative to Formulation-1.

The clip closes on a slide titled "TSP: Formulation-2 Testing" with the prompt: "Use the data from Example-1 and Example-2, and solve Formulation-2 of TSP using Cplex solver." The lecturer explicitly says that this video will not solve the TSP problem, so the exercise is only announced here and not worked out in the clip.

The clip opens on a slide titled "TSP: Formulation-2 Testing" whose text asks the viewer to use the data from Example-1 and Example-2 and solve Formulation-2 of the TSP with the Cplex solver. The speaker frames this as a departure from the manual branch-and-bound discussion: instead of continuing that method here, the lecture points to a computational route through Cplex.

The slide then changes to "TSP: Improving the B & B Approach," and the lecture turns from solver use to algorithmic refinement of branch and bound. The speaker states that there are two main areas of improvement: the lower bound and the upper bound. The mathematical point is that a tighter pair of bounds narrows the gap used for pruning, so fewer nodes need to be explored in the enumeration tree.

For the lower-bound side, the slide and narration identify the assignment problem approach as the method already covered in the course. This is presented as a way to obtain tighter lower bounds for TSP branch and bound. The speaker also notes that another lower-bound approach will appear later in the slide sequence, but that later method is not shown in this excerpt.

For the upper-bound side, the lecture says that heuristics or metaheuristic methods are typically used to obtain tighter upper bounds. The reasoning is that better feasible tours give smaller upper bounds, which again strengthens pruning in the branch-and-bound tree. The clip closes by announcing that subsequent slides will discuss heuristic methods for the TSP.

Knowledge cards

01

Goal of Formulation-2 for TSP

This segment introduces a second integer-programming formulation for the Traveling Salesperson Problem. Its stated purpose is to build a model that automatically breaks subtours. The chapter outline places it under Exact Methods as Formulation-2.

02

Auxiliary order variable uiu_i

The new variable uiu_i is defined for cities i>1i>1 as the number of cities visited before reaching city ii. It is non-negative and encodes a tour order relative to a fixed starting city. The video stresses that the tour is assumed to start from city 1, and this assumption is essential for the subtour-breaking logic.

ui≥0,i>1u_i \ge 0,\quad i>1
03

Binary arc variable xi,jx_{i,j}

The speaker reviews xi,jx_{i,j} as the usual TSP arc-selection variable. It is binary and equals 1 exactly when the tour travels directly from city ii to city jj; otherwise it equals 0. The formulation seeks a relationship among xi,jx_{i,j}, uiu_i, and uju_j.

xi,j∈{0,1}x_{i,j} \in \{0,1\}
04

Conditional ordering rule for used arcs

If the arc from ii to jj is used, then the order at jj must be at least one larger than the order at ii. This gives the implication xi,j=1⇒ui+1≤ujx_{i,j}=1 \Rightarrow u_i+1\le u_j. If the arc is not used, the video explicitly says no direct relation between uiu_i and uju_j can be asserted.

xi,j=1  ⟹  ui+1≤ujx_{i,j}=1 \implies u_i+1 \le u_j
05

Big-M linearization of the if-then condition

The conditional relation is rewritten as a single linear inequality using a big-M term: ui+1≤uj+M(1−xi,j)u_i+1\le u_j+M(1-x_{i,j}). When xi,j=1x_{i,j}=1, the constraint reduces to the desired ordering relation. When xi,j=0x_{i,j}=0, the MM term relaxes the inequality so it does not force a direct ordering. The slide requires MM to be large enough that ui≤Mu_i\le M.

ui+1≤uj+M(1−xi,j)u_i+1 \le u_j + M(1-x_{i,j})
06

Choosing M=nM = n in the TSP model

For this TSP formulation, the big-M constant is chosen from the problem size. The slide recommends M=nM=n, the total number of cities, and notes that M=n−1M=n-1 is the tighter best estimate. The presentation nevertheless uses nn in the final displayed constraint.

M=n,Mbest=n−1M=n,\quad M_{\text{best}}=n-1
07

Final MTZ-style subtour breaking constraint

Substituting M=nM=n gives the final constraint shown in the video: ui+1≤uj+n(1−xi,j)u_i+1\le u_j+n(1-x_{i,j}) for all distinct i,j=2,…,ni,j=2,\dots,n. The speaker presents this as the condition that automatically breaks subtours by enforcing increasing order values along selected arcs. The clip states the result but does not complete a full formal proof within the available time.

ui+1≤uj+n(1−xi,j)∀i,j=2,…,n,  i≠ju_i+1 \le u_j+n(1-x_{i,j}) \qquad \forall i,j=2,\dots,n,\; i\ne j
08

MTZ Subtour Elimination Constraint

The core integer programming constraint used to prevent disconnected loops in the Traveling Salesperson Problem. It utilizes auxiliary variables uiu_i to enforce a strict sequential ordering on visited cities, ensuring a single valid tour.

ui+1≤uj+n(1−xi,j)∀i,j=2,…,n,i≠ju_i + 1 \le u_j + n(1 - x_{i,j}) \quad \forall i, j = 2, \dots, n, \quad i \neq j
09

Big-M Relaxation in TSP

A modeling technique where a large constant MM (here estimated as nn) multiplies the complement of a binary variable (1−xi,j)(1 - x_{i,j}). This dynamically activates or deactivates the ordering constraint based on whether a specific edge is included in the tour.

10

Exclusion of the Starting City

The subtour constraints are strictly defined for indices i,j≥2i, j \ge 2. City 1 is intentionally omitted from the uu-variable ordering to serve as an unconstrained depot, which is essential for the logical validity of the formulation.

11

Feasibility of Valid Tours

When edges form a single Hamiltonian cycle, the active constraints create a directed acyclic graph of inequalities. This allows for consistent backward substitution to find valid integer bounds for all uu variables, as demonstrated by the 5-city example.

12

Infeasibility of Subtour Configurations

If selected edges form a closed loop excluding the start city, the constraints generate a cyclic chain of strict inequalities (e.g., ua<ub<uc<uau_a < u_b < u_c < u_a). This mathematical contradiction proves that subtours cannot yield feasible solutions.

13

Subtour-breaking constraint

The key new constraint in Formulation-2 is ui+1≤uj+n(1−xi,j)u_i+1\le u_j+n(1-x_{i,j}) for all i,j=2,…,ni,j=2,\ldots,n with i≠ji\neq j. If arc (i,j)(i,j) is selected, then xi,j=1x_{i,j}=1 and the constraint becomes ui+1≤uju_i+1\le u_j, forcing a strict ordering along that arc. If the arc is not selected, the term nn relaxes the inequality so it does not restrict that pair.

ui+1≤uj+n(1−xi,j)∀i,j=2,…,n,i≠ju_i+1\le u_j+n(1-x_{i,j})\quad \forall i,j=2,\ldots,n,\quad i\neq j
14

Why a subtour is infeasible

The worked 5-node example assigns u3=3u_3=3, then u4=2u_4=2, which forces u5=1u_5=1 from u5+1≤u4u_5+1\le u_4 and u2=0u_2=0 from u2+1≤u5u_2+1\le u_5. But the remaining inequality u4+1≤u2u_4+1\le u_2 forces u2=3u_2=3, contradicting u2=0u_2=0. Hence a closed subtour among nodes 2,…,n2,\ldots,n cannot satisfy the ordering constraints.

u4=2, u5=1, u2=0, but also u2=3u_4=2,\ u_5=1,\ u_2=0,\ \text{but also }u_2=3
15

Complete Formulation-2

The full model minimizes ∑i=1n∑j=1ndi,jxi,j\sum_{i=1}^{n}\sum_{j=1}^{n} d_{i,j}x_{i,j} subject to one incoming and one outgoing arc at each node, binary arc variables, the subtour-breaking inequalities, and nonnegative auxiliary variables uiu_i for i=2,…,ni=2,\ldots,n. The lecturer describes this as the overall "formulation two" for TSP.

min⁡∑i=1n∑j=1ndi,jxi,j\min \sum_{i=1}^{n}\sum_{j=1}^{n} d_{i,j}x_{i,j}
16

Degree constraints in Formulation-2

The model retains assignment-style degree constraints: ∑i=1i≠jnxi,j=1\sum_{\substack{i=1\\ i\neq j}}^{n} x_{i,j}=1 for each node jj, and ∑j=1j≠inxi,j=1\sum_{\substack{j=1\\ j\neq i}}^{n} x_{i,j}=1 for each node ii. These ensure every city has exactly one predecessor and one successor in the selected route structure.

∑i=1i≠jnxi,j=1,∑j=1j≠inxi,j=1\sum_{\substack{i=1\\ i\neq j}}^{n} x_{i,j}=1,\quad \sum_{\substack{j=1\\ j\neq i}}^{n} x_{i,j}=1
17

Variable domains

The arc variables are binary, xi,j∈{0,1}x_{i,j}\in\{0,1\}, and the auxiliary ordering variables satisfy ui≥0u_i\ge 0 for i=2,…,ni=2,\ldots,n. These domain declarations are part of what makes the subtour-breaking constraint work as a mixed-integer formulation.

xi,j∈{0,1},ui≥0  (i=2,…,n)x_{i,j}\in\{0,1\},\quad u_i\ge 0\ \ (i=2,\ldots,n)
18

Main advantage of Formulation-2

Because subtours are eliminated automatically by the explicit inequalities, the model can be solved with standard integer-programming software such as CPLEX or Gurobi using conventional branch-and-bound. The lecturer emphasizes that one does not need to build a special branch-and-bound scheme just for TSP.

19

Main disadvantages of Formulation-2

The added subtour-breaking system destroys the pure assignment-problem structure, so the Hungarian method cannot be used on the LP relaxation. It also adds about (n−1)2(n-1)^2 constraints, making the model larger than Formulation-1.

Additional (n−1)2 constraints\text{Additional }(n-1)^2\text{ constraints}
20

Closing exercise

The final slide asks the viewer to use data from Example-1 and Example-2 and solve Formulation-2 of TSP with the Cplex solver. The lecturer states that this particular video does not perform that solution.

21

Cplex route for TSP Formulation-2

The opening slide states a concrete computational task: use the data from Example-1 and Example-2 and solve Formulation-2 of the TSP with the Cplex solver. The speaker contrasts this with the branch-and-bound method, indicating that this segment is about testing the formulation in a solver environment rather than developing the enumeration tree by hand.

22

Two ways to improve TSP branch and bound

The lecture organizes improvements to the TSP branch-and-bound approach into two categories: tighter lower bounds and tighter upper bounds. The key claim is that improving both sides of the bounding process can drastically reduce the size of the enumeration tree, because stronger bounds enable more effective pruning.

23

Assignment problem approach for lower bounds

For lower bounds, the slide specifies the assignment problem approach as the method used to obtain tighter bounds. The speaker notes that this is the approach already seen in the course slides and that another lower-bound method will be introduced later outside this clip.

24

Heuristics and metaheuristics for upper bounds

For upper bounds, the slide specifies heuristic or metaheuristic methods as the standard way to obtain tighter bounds. The lecture's point is that better feasible solutions lower the upper bound, which complements stronger lower bounds in shrinking the branch-and-bound search space.

Detailed learning notes

Explore conditions, steps and evidence. Supplementary explanations are labeled separately from content shown in the video.

Symbols · 15

uiu_i

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide text: "Let uiu_i be a non-negative variable that represents the number of cities visited before reaching city i, i>1i > 1".

  2. Audio
    Observation

    Speaker says uiu_i is a new non-negative variable representing the number of cities visited before reaching city i.

Symbol

uiu_i

Meaning

Auxiliary integer-order variable for city i; the number of cities visited before reaching city i, under the assumption that the tour starts from city 1.

Domain

Non-negative variable for i>1i>1; later constrained by ui≤Mu_i \le M and used for i,j=2j=2,…\dots,n.

xi,jx_{i,j}

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide asks for a relationship between xi,jx_{i,j}, uiu_i, and uju_j.

  2. Audio
    Observation

    Speaker reviews x_{ij} as a binary variable equal to 1 if we visit from city i to city j, otherwise 0.

Symbol

xi,jx_{i,j}

Meaning

Binary arc-selection variable indicating whether the tour travels directly from city i to city j.

Domain

Binary variable, xi,j∈x_{i,j}\in\{0,1\}.

i

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Subscripts in uiu_i, xi,jx_{i,j}, and the final quantifier use i.

  2. Diagram
    Observation

    Hand-drawn node labeled i connected to node labeled j.

Symbol

i

Meaning

City index or origin city in an arc from i to j.

Domain

In the final displayed constraint, i=2i=2,…\dots,n.

j

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Subscripts in xi,jx_{i,j}, uju_j, and the final quantifier use j.

  2. Diagram
    Observation

    Hand-drawn node labeled j connected to node labeled i.

Symbol

j

Meaning

City index or destination city in an arc from i to j.

Domain

In the final displayed constraint, j=2j=2,…\dots,n.

M

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide shows ui+1≤uj+M(1−xi,j)u_i+1 \le u_j + M(1-x_{i,j}) and states "where M is some big number, such that ui≤Mu_i \le M".

  2. Audio
    Observation

    Speaker says the if-then scenario can be modeled like a big M constraint and that M is a very large number.

Uncertainties
  1. The slide uses M as a generic big number and then recommends n; it does not formally prove that n is sufficient in this clip.

Symbol

M

Meaning

Big-M constant used to deactivate the subtour-breaking inequality when xi,j=0x_{i,j}=0.

Domain

A sufficiently large number satisfying ui≤Mu_i \le M; recommended value on the slide is n.

n

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide states "A good estimate of M can be n, the total number of cities" and the final constraint quantifies over i,j=2j=2,…\dots,n.

  2. Audio
    Observation

    Speaker says the best value for M will be n in this case and that n will be used in the slides.

Symbol

n

Meaning

Total number of cities in the TSP instance.

Domain

Positive integer; used as the chosen big-M value and as the upper index bound for cities.

uiu_i

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide text defines uiu_i as a non-negative variable representing the number of cities visited before reaching city i, for i>1i > 1.

  2. Audio
    Observation

    The speaker discusses finding feasible values for all the u's.

Symbol

uiu_i

Meaning

Non-negative integer variable representing the position (or number of cities visited before) of city i in the tour, for i>1i > 1.

Domain

i∈i \in \{2, …\dots, n\}

xi,jx_{i,j}

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide text uses xi,jx_{i,j} in the subtour breaking constraint and states 'If xi,j=1x_{i,j} = 1, then ui+1≤uju_i + 1 \le u_j'.

Symbol

xi,jx_{i,j}

Meaning

Binary decision variable indicating whether the edge from city i to city j is included in the tour.

Domain

i, j∈j \in \{2, …\dots, n\}, i≠ji \neq j

n

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide text states 'A good estimate of M can be n, the total number of cities'.

  2. Audio
    Observation

    Speaker mentions values ranging from 2 up to n.

Symbol

n

Meaning

Total number of cities in the Traveling Salesperson Problem instance.

Domain

n∈Z+n \in \mathbb{Z}^+, n≥2n \ge 2

M

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide text mentions 'A good estimate of M can be n' and 'the best estimate for M is (n-1)'.

  2. Diagram
    Observation

    Annotations on the graph slide point to constraints saying 'where the big-M part disappears' and 'where the big-M part appears'.

Symbol

M

Meaning

A large constant used in the Big-M method to relax constraints when a binary variable is zero.

Domain

M∈Z+M \in \mathbb{Z}^+

xi,jx_{i,j}

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    On the slide titled "TSP: Formulation-2", the variable xi,jx_{i,j} appears in the objective ∑i=1n∑j=1ndi,jxi,j\sum_{i=1}^{n}\sum_{j=1}^{n} d_{i,j}x_{i,j}, in the two degree constraints, in the binary declaration xi,j∈x_{i,j}\in\{0,1\}, and inside the subtour-breaking constraint through the term n(1−xi,j)n(1-x_{i,j}).

Symbol

xi,jx_{i,j}

Meaning

Binary route-selection variable for the directed arc from node i to node j.

Domain

xi,j∈x_{i,j}\in\{0,1\},∀i=1\quad \forall i=1,…\ldots,n

di,jd_{i,j}

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The objective function on the formulation slide is written as ∑i=1n∑j=1ndi,jxi,j\sum_{i=1}^{n}\sum_{j=1}^{n} d_{i,j}x_{i,j}.

Uncertainties
  1. The video does not explicitly define di,jd_{i,j} in this clip; its meaning is inferred from standard TSP notation and from its use as a coefficient of xi,jx_{i,j}.

Symbol

di,jd_{i,j}

Meaning

Cost or distance coefficient associated with traveling from node i to node j.

Domain

Indexed by i,j=1j=1,…\ldots,n

Knowledge points · 22

Goal of the second TSP formulation

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker introduces another formulation for the Traveling Salesperson Problem whose idea is to break all subtours automatically.

  2. Diagram
    Observation

    Title slide reads "Traveling Salesperson Problem"; outline slide lists Exact Methods with Formulation-1 and Formulation-2.

Definition
Explanation

This segment presents a second integer-programming formulation for the TSP. Its stated purpose is to build a model that automatically breaks subtours, rather than relying only on explicit subtour-elimination constraints.

Formula
Conditions
  1. Applies to the Traveling Salesperson Problem.

  2. The formulation is intended to prevent subtours automatically.

Auxiliary variable uiu_i for city order

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide text defines uiu_i as a non-negative variable representing the number of cities visited before reaching city i, i>1i>1, assuming tour starts from city 1.

  2. Audio
    Observation

    Speaker emphasizes that the tour starting from city 1 is a crucial assumption affecting the subtour-breaking constraint.

Definition
Explanation

The model introduces uiu_i for each city i>1i>1. The variable records how many cities are visited before reaching city i, thereby encoding a position or order along the tour. The definition depends on fixing city 1 as the starting city.

Formula
ui≥0,i>1u_i \ge 0,\quad i>1
Conditions
  1. Defined for cities i>1i>1.

  2. Assumes the tour starts from city 1.

  3. uiu_i is non-negative.

Prerequisites
  1. Goal of the second TSP formulation

Binary arc variable xi,jx_{i,j}

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide asks for a relationship between xi,jx_{i,j}, uiu_i, and uju_j.

  2. Audio
    Observation

    Speaker reviews x_{ij} as binary, equal to 1 if visiting from city i to city j, otherwise 0.

Definition
Explanation

The speaker reviews the standard TSP arc variable xi,jx_{i,j}. It is binary and indicates whether the selected tour contains the directed move from city i to city j. The new formulation relates this arc variable to the auxiliary order variables uiu_i and uju_j.

Formula
xi,j∈{0,1},xi,j=1 if the tour goes from city i to city jx_{i,j} \in \{0,1\},\quad x_{i,j}=1 \text{ if the tour goes from city } i \text{ to city } j
Conditions
  1. xi,jx_{i,j} is binary.

  2. xi,j=1x_{i,j}=1 means the directed arc from i to j is used.

  3. xi,j=0x_{i,j}=0 means that direct arc is not used.

Prerequisites
  1. Goal of the second TSP formulation

Conditional ordering relation induced by an arc

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide states: If xi,j=1x_{i,j}=1, then ui+1≤uju_i+1 \le u_j.

  2. Diagram
    Observation

    Hand-drawn nodes i and j are connected by a blue line while the speaker discusses going from city i to city j.

  3. Audio
    Observation

    Speaker says that if we go from city i to city j, then uju_j should be greater than or equal to uiu_i plus one; if we do not go directly, no relation is certain.

Method
Explanation

The derivation identifies the logical relationship needed for subtour breaking. If the tour uses the arc from i to j, then the order value at j must be at least one larger than the order value at i. If the arc is not used, the model should not force any direct relation between uiu_i and uju_j.

Formula
xi,j=1  ⟹  ui+1≤ujx_{i,j}=1 \implies u_i+1 \le u_j
Conditions
  1. Applies when considering a possible directed arc from city i to city j.

  2. The implication is active only when xi,j=1x_{i,j}=1.

  3. When xi,j=0x_{i,j}=0, no direct relation between uiu_i and uju_j is asserted.

Prerequisites
  1. Auxiliary variable uiu_i for city order
  2. Binary arc variable xi,jx_{i,j}

Big-M linearization of the conditional relation

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide states: The above scenario can be modeled as ui+1≤uj+M(1−xi,j)u_i+1 \le u_j + M(1-x_{i,j}), where M is some big number, such that ui≤Mu_i \le M.

  2. Audio
    Observation

    Speaker says this is the classical if-then scenario and can be modeled like a big M constraint.

Formula
Explanation

The conditional statement is converted into a single linear inequality using a big-M term multiplied by 1−xi,j1-x_{i,j}. When xi,j=1x_{i,j}=1, the M-term vanishes and the ordering constraint is enforced. When xi,j=0x_{i,j}=0, the added M makes the inequality non-binding, provided M is large enough.

Formula
ui+1≤uj+M(1−xi,j)u_i+1 \le u_j + M(1-x_{i,j})
Conditions
  1. M must be sufficiently large.

  2. The slide states the requirement ui≤Mu_i \le M.

  3. xi,jx_{i,j} is binary.

Prerequisites
  1. Conditional ordering relation induced by an arc
  2. M

Choosing the big-M constant for TSP subtour breaking

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide asks what could be a good estimate of M and answers that a good estimate can be n, the total number of cities; in fact, the best estimate is (n-1).

  2. Audio
    Observation

    Speaker says the best value for M will be n in this case, that the best estimate could be n minus one, but n will be used in the slides.

Uncertainties
  1. The video distinguishes a good estimate n from a best estimate n-1 but does not provide a proof of optimality for n-1 in this clip.

Method
Explanation

For this formulation, the big-M constant is chosen based on the number of cities. The slide recommends M=nM=n because there are n cities, while also noting that M=n−1M=n-1 is the tighter best estimate. The presentation proceeds with M=nM=n.

Formula
M=n(used in the slides),Mbest=n−1M=n \quad \text{(used in the slides)},\qquad M_{\text{best}}=n-1
Conditions
  1. n is the total number of cities.

  2. M must satisfy the upper-bound requirement for the u variables.

  3. The clip uses n rather than n-1 in the final displayed constraint.

Prerequisites
  1. Big-M linearization of the conditional relation
  2. n
  3. M

MTZ-style subtour breaking constraint

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Final slide text: Thus, the following condition will automatically break the subtours: ui+1≤uj+n(1−xi,j)∀iu_i+1 \le u_j+n(1-x_{i,j}) \quad \forall i,j=2j=2,…\dots,n,i≠j\quad i\ne j.

  2. Audio
    Observation

    Speaker concludes that this is the subtour avoiding constraint built based on the if-then statements.

Uncertainties
  1. The clip displays the constraint but does not complete a formal proof that it eliminates every subtour.

Formula
Explanation

Substituting M=nM=n into the big-M inequality gives the final subtour-breaking constraint shown in the video. It is imposed for all ordered pairs of distinct cities i and j among 2 through n. The constraint enforces increasing u-values along used arcs and thereby prevents closed subtours not containing the fixed start city 1.

Formula
ui+1≤uj+n(1−xi,j)∀i,j=2,…,n,  i≠ju_i+1 \le u_j+n(1-x_{i,j}) \qquad \forall i,j=2,\dots,n,\; i\ne j
Conditions
  1. Applied for all i,j=2j=2,…\dots,n with i≠ji\ne j.

  2. Uses M=nM=n.

  3. Assumes the tour starts from city 1.

  4. uiu_i are non-negative order variables.

  5. xi,jx_{i,j} are binary arc variables.

Prerequisites
  1. Auxiliary variable uiu_i for city order
  2. Binary arc variable xi,jx_{i,j}
  3. Big-M linearization of the conditional relation
  4. Choosing the big-M constant for TSP subtour breaking

Subtour Breaking Constraint Formula

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide displays the formula: ui+1≤uj+n(1−xi,j)∀iu_i + 1 \le u_j + n(1 - x_{i,j}) \quad \forall i, j=2j = 2, …\dots, n, i≠j\quad i \neq j.

  2. Audio
    Observation

    Speaker explains that the condition is designed for all i, j not equal to 1, avoiding the starting city.

Formula
Explanation

This integer programming constraint ensures that if an edge from city i to city j is selected (xi,j=1x_{i,j} = 1), the position of city j in the tour must be strictly greater than the position of city i(ui+1≤uj)i (u_i + 1 \le u_j). If the edge is not selected (xi,j=0x_{i,j} = 0), the term n(1−xi,j)n(1 - x_{i,j}) becomes n, which acts as a large enough constant (Big-M) to make the inequality trivially satisfied, thus relaxing the constraint.

Formula
ui+1≤uj+n(1−xi,j)∀i,j=2,…,n,i≠ju_i + 1 \le u_j + n(1 - x_{i,j}) \quad \forall i, j = 2, \dots, n, \quad i \neq j
Conditions
  1. Applies to all pairs of cities i and j from 2 to n, where i≠ji \neq j.

  2. Assumes the tour starts and ends at city 1.

Prerequisites
  1. uiu_i
  2. xi,jx_{i,j}
  3. n

Big-M Method in TSP Formulation

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide text: 'A good estimate of M can be n, the total number of cities (in fact, the best estimate for M is (n-1)).'

  2. Diagram
    Observation

    Annotations explicitly refer to the 'big-M part' appearing or disappearing based on the value of xi,jx_{i,j}.

Definition
Explanation

The Big-M method is used to conditionally enforce constraints in integer programming. In this TSP formulation, the term n(1−xi,j)n(1 - x_{i,j}) acts as the Big-M component. When xi,j=1x_{i,j} = 1, this term is 0, enforcing the strict ordering ui+1≤uju_i + 1 \le u_j. When xi,j=0x_{i,j} = 0, the term becomes n, which is large enough to ensure the inequality holds regardless of the values of uiu_i and uju_j, effectively disabling the constraint for that specific edge.

Conditions
  1. M must be chosen large enough so that the constraint is always satisfied when the binary variable is 0.

  2. In this specific formulation, M is estimated as n, the total number of cities.

Prerequisites
  1. M
  2. xi,jx_{i,j}

Subtour-breaking constraint

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide title: "TSP: Subtour Breaking Constraint".

  2. Formula
    Observation

    Displayed constraint: ui+1≤uj+n(1−xi,j)∀iu_i+1\le u_j+n(1-x_{i,j})\quad \forall i,j=2j=2,…\ldots,n,i≠j\quad i\neq j.

  3. Audio
    Observation

    The lecturer calls it "the subtour avoiding or subtour breaking constraint".

Formula
Explanation

This constraint uses auxiliary ordering variables uiu_i to enforce a consistent ordering along selected arcs. If an arc (i,j) is chosen, then xi,j=1x_{i,j}=1 and the inequality reduces to ui+1≤uju_i+1\le u_j, forcing the successor node to have a strictly larger u-value. If the arc is not chosen, then xi,j=0x_{i,j}=0 and the large additive term n makes the inequality automatically satisfied, so it imposes no effective restriction on that pair.

Formula
ui+1≤uj+n(1−xi,j)∀i,j=2,…,n,i≠ju_i+1\le u_j+n(1-x_{i,j})\quad \forall i,j=2,\ldots,n,\quad i\neq j
Conditions
  1. Applies for all ordered pairs i,j with i,j∈j\in\{2,…\ldots,n\} and i≠ji\neq j.

  2. xi,jx_{i,j} is binary.

  3. uiu_i is nonnegative for i=2i=2,…\ldots,n.

Prerequisites
  1. uiu_i
  2. xi,jx_{i,j}
  3. n

Objective function of Formulation-2

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The slide "TSP: Formulation-2" shows minimize : ∑i=1n∑j=1ndi,jxi,j\sum_{i=1}^{n}\sum_{j=1}^{n} d_{i,j}x_{i,j}.

  2. Audio
    Observation

    The lecturer says, "So this is the overall formulation. We call this as formulation two."

Formula
Explanation

The optimization goal is to minimize total travel cost over all selected directed arcs. The lecturer states that this objective is similar to Formulation-1.

Formula
min⁡∑i=1n∑j=1ndi,jxi,j\min \sum_{i=1}^{n}\sum_{j=1}^{n} d_{i,j}x_{i,j}
Conditions
  1. Summation runs over all node pairs i,j=1j=1,…\ldots,n.

Prerequisites
  1. xi,jx_{i,j}
  2. di,jd_{i,j}

Incoming-degree constraint

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The formulation slide lists ∑i=1, i≠jnxi,j=1∀j=1\sum_{i=1,\ i\neq j}^{n} x_{i,j}=1\quad \forall j=1,…\ldots,n.

  2. Audio
    Observation

    The lecturer says some of the constraints are similar to formulation one.

Formula
Explanation

Each node j must have exactly one incoming selected arc from some other node i. This is one of the assignment-style degree constraints retained in Formulation-2.

Formula
∑i=1i≠jnxi,j=1∀j=1,…,n\sum_{\substack{i=1\\ i\neq j}}^{n} x_{i,j}=1\quad \forall j=1,\ldots,n
Conditions
  1. Holds for every node j=1j=1,…\ldots,n.

  2. Self-loops are excluded by i≠ji\neq j.

Prerequisites
  1. xi,jx_{i,j}
Claims and conditions · 9

Fixed starting city assumption

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide parenthetical: "assuming tour starts from city 1".

  2. Audio
    Observation

    Speaker calls this a very crucial assumption and says it will affect the subtour breaking constraint.

Uncertainties
  1. The clip states the importance of the assumption but does not show a counterexample where changing the start city breaks the formulation.

Proposition
Statement

The subtour-breaking formulation assumes that the tour starts from city 1; this assumption is crucial for defining the order variables uiu_i and for the resulting constraint to work.

Hypotheses
  1. The TSP tour is represented with directed arc variables xi,jx_{i,j}.

  2. Order variables uiu_i are defined for i>1i>1 relative to a start city.

Quantifiers

Applies to the formulation presented for cities indexed with a distinguished start city 1.

Arc use implies increase in order variable

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide bullet: If xi,j=1x_{i,j}=1, then ui+1≤uju_i+1 \le u_j.

  2. Audio
    Observation

    Speaker says that when going from city i to city j, uju_j should be greater than or equal to uiu_i plus one.

Proposition
Statement

If the tour travels directly from city i to city j, then the order variable at j must be at least one larger than the order variable at i.

Hypotheses
  1. xi,jx_{i,j} is the binary variable for traveling from i to j.

  2. uiu_i and uju_j count cities visited before reaching i and j.

Quantifiers

For a considered pair of cities i and j with xi,j=1x_{i,j}=1.

Unused arc imposes no direct ordering relation

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide bullet: If xi,j=0x_{i,j}=0, then we cannot say any direct relation between uiu_i and uju_j.

  2. Audio
    Observation

    Speaker says if we do not go directly from city i to city j, we are not sure about the relationship between uiu_i and uju_j.

Proposition
Statement

If xi,j=0x_{i,j}=0, the formulation does not assert any direct relationship between uiu_i and uju_j.

Hypotheses
  1. xi,jx_{i,j} is binary.

  2. The only asserted direct relation comes from the case xi,j=1x_{i,j}=1.

Quantifiers

For a considered pair of cities i and j with xi,j=0x_{i,j}=0.

Final constraint automatically breaks subtours

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide states: Thus, the following condition will automatically break the subtours: ui+1≤uj+n(1−xi,j)u_i+1 \le u_j+n(1-x_{i,j}) for all i,j=2j=2,…\dots,n, i≠ji\ne j.

  2. Audio
    Observation

    Speaker calls it the subtour avoiding constraint built based on the if-then statements.

Uncertainties
  1. The clip asserts the subtour-breaking effect but does not include the full formal proof within the available duration.

Proposition
Statement

The constraint ui+1≤uj+n(1−xi,j)u_i+1 \le u_j+n(1-x_{i,j}) for all distinct i,j=2j=2,…\dots,n is presented as automatically breaking subtours in the TSP integer program.

Hypotheses
  1. The tour starts from city 1.

  2. uiu_i are non-negative order variables for i>1i>1.

  3. xi,jx_{i,j} are binary arc variables.

  4. M is chosen as n.

Quantifiers

∀i\forall i,j=2j=2,…\dots,n with i≠ji\ne j.

Any subtour not containing node 1 creates inconsistency in the u-values

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The lecturer says there is inconsistency because u2u_2 would equal both 0 and 3, and concludes that the subtour is infeasible under these constraints.

  2. Formula
    Observation

    The slide shows the chain u4+1≤u2u_4+1\le u_2, u2+1≤u5u_2+1\le u_5, u5+1≤u4u_5+1\le u_4 together with assigned values u4=2u_4=2, u5=1u_5=1, u2=0u_2=0 and also u2=3u_2=3.

  3. Caption evidence
    Observation

    Text on slide: "Thus, any subtour that does not contain Node-1 will Have inconsistency in the value of variable uiu_i."

Proposition
Statement

If a closed subtour among nodes 2,…\ldots,n is selected, then the subtour-breaking constraints force contradictory values for at least one auxiliary variable uiu_i, so that subtour is infeasible.

Hypotheses
  1. The selected arcs form a subtour not containing node 1.

  2. All arcs in the subtour have xi,j=1x_{i,j}=1.

  3. The subtour-breaking constraint ui+1≤uj+n(1−xi,j)u_i+1\le u_j+n(1-x_{i,j}) is imposed for all i,j=2j=2,…\ldots,n,\ i≠ji\neq j.

Quantifiers

For any subtour on nodes within \{2,…\ldots,n\} that does not include node 1.

Formulation-2 can be solved with conventional integer-programming solvers

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The lecturer says, "so you could use commercial solvers like Cplex or Gurobi and can solve the TSP problem. That is you do not have to build a special branch and bound approach for solving the TSP problem."

  2. Caption evidence
    Observation

    Advantages text states that the formulation can be automated and solved using the conventional B&B approach.

Proposition
Statement

Because the subtours are broken automatically by the explicit constraints, Formulation-2 can be solved using standard commercial solvers and conventional branch-and-bound rather than a special-purpose TSP algorithm.

Hypotheses
  1. The model includes the subtour-breaking constraints and the auxiliary variables uiu_i.

Quantifiers

For the full Formulation-2 model as presented.

The LP relaxation of Formulation-2 is no longer an assignment problem

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The lecturer says, "we are losing the assignment problem structure, so we cannot use Hungarian method to solve the LP relaxation."

  2. Caption evidence
    Observation

    Disadvantages text states: "The assignment problem structure is damaged."

Proposition
Statement

After adding the subtour-breaking constraints and auxiliary variables, the relaxation loses assignment-problem structure, so the Hungarian method cannot be used to solve the LP relaxation.

Hypotheses
  1. One considers the LP relaxation of Formulation-2.

Quantifiers

For the LP relaxation of the full formulation.

Tighter bounds reduce enumeration tree size

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker states that by identifying a better lower bound and a better upper bound, the branch and bound enumeration tree size can be reduced drastically.

  2. Caption evidence
    Observation

    The slide heading is "TSP: Improving the B & B Approach" and the listed rules are exactly the two bound-improvement directions.

Proposition
Statement

In TSP branch and bound, improving both the lower bound and the upper bound can drastically reduce the size of the enumeration tree.

Hypotheses
  1. The method under discussion is branch and bound for TSP

  2. The bounds being improved are the lower bound and the upper bound

Quantifiers

General statement about the branch-and-bound enumeration tree when bounds are tightened.

Standard bound-improvement pairing in this lecture

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker says the slides so far used the assignment problem approach for lower bounds and that heuristics or metaheuristics are typically used for upper bounds.

  2. Caption evidence
    Observation

    The slide lists "Lower bounds: Use assignment problem approach ..." and "Upper bounds: Use heuristic or metaheuristic methods ...".

Proposition
Statement

For the TSP branch-and-bound approach discussed here, the lecture associates tighter lower bounds with the assignment problem approach and tighter upper bounds with heuristic or metaheuristic methods.

Hypotheses
  1. The context is the TSP branch-and-bound framework presented in these slides

Quantifiers

Lecture-specific association between bound type and improvement technique.

Derivations and proofs · 5

Derivation of the subtour breaking constraint

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slides progress from asking for a relationship among xi,jx_{i,j}, uiu_i, uju_j to the conditional inequalities, then to the big-M form, then to M=nM=n, and finally to the quantified subtour-breaking constraint.

  2. Audio
    Observation

    Speaker explains the review of variables, the if-then logic, the big-M modeling, the choice of M, and the final constraint.

  3. Diagram
    Observation

    A hand-drawn connection between nodes i and j illustrates the case of traveling from city i to city j.

Uncertainties
  1. The derivation establishes the intended constraint but stops before a complete formal proof that every subtour is eliminated.

Proof
Steps
  1. Expression
    xi,j∈{0,1},ui≥0  (i>1)x_{i,j} \in \{0,1\},\quad u_i \ge 0\;(i>1)
    Explanation

    Review the variables used in the formulation: xi,jx_{i,j} indicates whether the arc from i to j is used, and uiu_i records the number of cities visited before reaching city i.

    Justification

    Definitions shown on the slide and explained by the speaker.

    Shown in the video
  2. Expression
    xi,j=1  ⟹  ui+1≤ujx_{i,j}=1 \implies u_i+1 \le u_j
    Explanation

    If the tour goes directly from city i to city j, then j is reached after i, so its order value must be at least one larger.

    Justification

    Logical consequence of interpreting uiu_i and uju_j as visit counts before reaching the respective cities.

    Shown in the video
  3. Expression
    xi,j=0  ⟹  no direct relation between ui and ujx_{i,j}=0 \implies \text{no direct relation between }u_i\text{ and }u_j
    Explanation

    If the arc from i to j is not used, the model should not force a particular ordering between those two cities.

    Justification

    Stated explicitly on the slide and in the audio.

    Shown in the video
  4. Expression
    ui+1≤uj+M(1−xi,j)u_i+1 \le u_j+M(1-x_{i,j})
    Explanation

    Convert the conditional statement into a linear inequality using a big-M term. When xi,j=1x_{i,j}=1, the term M(1−xi,j)M(1-x_{i,j}) is zero and the ordering constraint is active; when xi,j=0x_{i,j}=0, the term relaxes the inequality.

    Justification

    Standard big-M linearization of an if-then constraint, as identified by the speaker.

    Shown in the video
  5. Expression
    M=nM=n
    Explanation

    Choose the big-M constant as the total number of cities. The slide notes that n-1 is the tighter best estimate, but the presentation uses n.

    Justification

    Slide recommendation and speaker explanation for selecting M.

    Shown in the video
  6. Expression
    ui+1≤uj+n(1−xi,j)∀i,j=2,…,n,  i≠ju_i+1 \le u_j+n(1-x_{i,j}) \qquad \forall i,j=2,\dots,n,\; i\ne j
    Explanation

    Substitute M=nM=n and impose the inequality for every ordered pair of distinct cities from 2 through n, producing the final subtour-breaking constraint.

    Justification

    Final displayed formula on the slide.

    Shown in the video
Conclusion

The video derives an MTZ-style subtour elimination constraint by encoding the required increase in city order along used arcs and linearizing the conditional relation with a big-M constant chosen as n.

Derivation of Feasible u Values for a Full Tour

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Graph shows a full tour 1->3->2->5->4->1. Constraints listed are u5+1u_5+1<=u4u_4, u4+1u_4+1<=u2u_2, u2+1u_2+1<=u3u_3, and u2u_2,u3u_3,u4u_4,u5u_5<=4.

  2. Audio
    Observation

    Speaker walks through the logic: starting from node 3 reaching node 1, u3u_3 can take max value 4. Then u2u_2<=3, u4u_4<=2, u5u_5<=1, leading to u5<u4<u2<u3u_5 < u_4 < u_2 < u_3.

Intuitive argument
Steps
  1. Expression
    u3≤4u_3 \le 4
    Explanation

    Since the tour goes from node 3 to node 1 (the start/end city), node 3 is the last city visited before returning to the start. With n=5n=5 cities, the maximum position index for any other city is 4.

    Justification

    Definition of uiu_i as the number of cities visited before reaching city i, and the structure of the full tour.

    Shown in the video
  2. Expression
    u2+1≤u3  ⟹  u2≤3u_2 + 1 \le u_3 \implies u_2 \le 3
    Explanation

    The edge from 2 to 3 is in the tour (x2,3=1x_{2,3}=1), so the subtour constraint applies without the Big-M relaxation. Since u3u_3 <= 4, u2u_2 must be at most 3.

    Justification

    Applying the subtour breaking constraint formula with x2,3=1x_{2,3}=1 and substituting the bound for u3u_3.

    Shown in the video
  3. Expression
    u4+1≤u2  ⟹  u4≤2u_4 + 1 \le u_2 \implies u_4 \le 2
    Explanation

    The edge from 4 to 2 is in the tour (x4,2=1x_{4,2}=1). Applying the constraint and using the bound for u2u_2 gives u4u_4 <= 2.

    Justification

    Applying the subtour breaking constraint formula with x4,2=1x_{4,2}=1 and substituting the bound for u2u_2.

    Shown in the video
  4. Expression
    u5+1≤u4  ⟹  u5≤1u_5 + 1 \le u_4 \implies u_5 \le 1
    Explanation

    The edge from 5 to 4 is in the tour (x5,4=1x_{5,4}=1). Applying the constraint and using the bound for u4u_4 gives u5u_5 <= 1.

    Justification

    Applying the subtour breaking constraint formula with x5,4=1x_{5,4}=1 and substituting the bound for u4u_4.

    Shown in the video
  5. Expression
    u5<u4<u2<u3u_5 < u_4 < u_2 < u_3
    Explanation

    Combining the inequalities derived from the edges in the tour establishes a strict ordering of the positions of these cities.

    Justification

    Transitivity of the strict inequalities implied by ui+1u_i + 1 <= uju_j.

    Shown in the video
Conclusion

For the given full tour, the constraints successfully force a strict, valid ordering of the u variables, allowing feasible integer assignments like (u2=3u_2=3, u3=4u_3=4, u4=2u_4=2, u5=1u_5=1) or (u2=2u_2=2, u3=3u_3=3, u4=1u_4=1, u5=0u_5=0).

Derivation of Infeasibility for a Subtour Configuration

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Graph shows two disjoint subtours: 1->3->1 and 2->5->4->2. Constraints listed are u4+1u_4+1<=u2u_2, u2+1u_2+1<=u5u_5, u5+1u_5+1<=u4u_4.

  2. Audio
    Observation

    Speaker begins to analyze the subtour configuration, noting the node reaching city 1 is node 3.

Uncertainties
  1. The video cuts off before the speaker completes the derivation showing the contradiction for the 2-5-4 subtour.

Intuitive argument
Steps
  1. Expression
    u4+1≤u2u_4 + 1 \le u_2
    Explanation

    Edge 4->2 is present in the subtour, so x4,2=1x_{4,2}=1 and the Big-M term vanishes.

    Justification

    Application of the subtour breaking constraint for an active edge.

    Shown in the video
  2. Expression
    u2+1≤u5u_2 + 1 \le u_5
    Explanation

    Edge 2->5 is present in the subtour, so x2,5=1x_{2,5}=1 and the Big-M term vanishes.

    Justification

    Application of the subtour breaking constraint for an active edge.

    Shown in the video
  3. Expression
    u5+1≤u4u_5 + 1 \le u_4
    Explanation

    Edge 5->4 is present in the subtour, so x5,4=1x_{5,4}=1 and the Big-M term vanishes.

    Justification

    Application of the subtour breaking constraint for an active edge.

    Shown in the video
  4. Expression
    u4+1<u4u_4 + 1 < u_4
    Explanation

    Chaining the three inequalities yields u4+1u_4 + 1 <= u2u_2 <= u5−1u_5 - 1 <= u4−1+1=u4u_4 - 1 + 1 = u_4, which simplifies to u4+1u_4 + 1 <= u4u_4, a mathematical contradiction.

    Justification

    Transitivity of inequalities leading to an impossible statement for real numbers.

    Derived from the video
Conclusion

The subtour breaking constraints create a cyclic set of strict inequalities for any closed loop not containing the starting city, proving that such configurations are mathematically infeasible.

Numerical verification that a subtour violates the ordering constraints

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The lecturer assigns u3=3u_3=3, then chooses node 4 and assigns u4=2u_4=2, then derives u5=1u_5=1 and u2=0u_2=0 from the displayed inequalities, and finally notes that another edge gives u2=3u_2=3, producing contradiction.

  2. Formula
    Observation

    Visible inequalities: u4+1≤u2u_4+1\le u_2, u2+1≤u5u_2+1\le u_5, u5+1≤u4u_5+1\le u_4, with bound u2u_2,u3u_3,u4u_4,u5≤4u_5\le 4.

  3. Diagram
    Observation

    The graph shows a 2-cycle on nodes 1 and 3 and a 3-cycle on nodes 2, 4, and 5.

Uncertainties
  1. The exact arc directions in the drawn 3-cycle are visually small, but the displayed inequalities identify the relevant ordered pairs as (4,2), (2,5), and (5,4).

Numerical verification
Steps
  1. Expression
    u3=3u_3=3
    Explanation

    The lecturer first assigns the highest value to the node reached from node 1 in the 1-3 cycle.

    Justification

    Stated verbally and written next to node 3 on the slide.

    Shown in the video
  2. Expression
    u4=2u_4=2
    Explanation

    From the remaining disconnected cycle, the lecturer arbitrarily picks node 4 and assigns a feasible value below 3.

    Justification

    Stated verbally and written next to node 4 on the slide.

    Shown in the video
  3. Expression
    u5=1u_5=1
    Explanation

    Using the inequality u5+1≤u4u_5+1\le u_4 together with u4=2u_4=2 forces u5u_5 to be 1.

    Justification

    Derived from the displayed constraint u5+1≤u4u_5+1\le u_4 and the assigned value u4=2u_4=2.

    Shown in the video
  4. Expression
    u2=0u_2=0
    Explanation

    Using the inequality u2+1≤u5u_2+1\le u_5 together with u5=1u_5=1 forces u2u_2 to be 0.

    Justification

    Derived from the displayed constraint u2+1≤u5u_2+1\le u_5 and the assigned value u5=1u_5=1.

    Shown in the video
  5. Expression
    u2=3u_2=3
    Explanation

    Using the inequality u4+1≤u2u_4+1\le u_2 together with u4=2u_4=2 forces u2u_2 to be at least 3, and in the lecturer's spoken chain this is treated as giving u2=3u_2=3.

    Justification

    Derived from the displayed constraint u4+1≤u2u_4+1\le u_2 and the assigned value u4=2u_4=2.

    Shown in the video
  6. Expression
    u2=0 and u2=3u_2=0\ \text{and}\ u_2=3
    Explanation

    The same variable u2u_2 is forced to take two different values, which is impossible.

    Justification

    Direct comparison of the previous two derived assignments.

    Shown in the video
Conclusion

The attempted assignment around the subtour 2-4-5 leads to a contradiction, so that subtour is infeasible under the subtour-breaking constraints.

Why the big-M term deactivates unselected arcs

Clear evidence
Derived from the video
Evidence
  1. Formula
    Observation

    The general constraint is shown as ui+1≤uj+n(1−xi,j)u_i+1\le u_j+n(1-x_{i,j}).

  2. Formula
    Observation

    The binary declaration xi,j∈x_{i,j}\in\{0,1\} is shown on the formulation slide.

Intuitive argument
Steps
  1. Expression
    xi,j=1⇒ui+1≤uj+n(1−1)=ujx_{i,j}=1\Rightarrow u_i+1\le u_j+n(1-1)=u_j
    Explanation

    When arc (i,j) is selected, the big-M term vanishes and the constraint becomes an ordering requirement from i to j.

    Justification

    Substitution into the displayed subtour-breaking constraint using xi,j∈x_{i,j}\in\{0,1\}.

    Derived from the video
  2. Expression
    xi,j=0⇒ui+1≤uj+nx_{i,j}=0\Rightarrow u_i+1\le u_j+n
    Explanation

    When arc (i,j) is not selected, the right-hand side is increased by n, making the inequality nonbinding for the example sizes shown.

    Justification

    Substitution into the displayed subtour-breaking constraint using xi,j∈x_{i,j}\in\{0,1\}.

    Derived from the video
  3. Expression
    cycle of active arcs⇒ua1+1≤ua2,…,uak+1≤ua1\text{cycle of active arcs} \Rightarrow u_{a_1}+1\le u_{a_2},\ldots,u_{a_k}+1\le u_{a_1}
    Explanation

    If all arcs in a cycle are active, chaining the reduced inequalities around the cycle forces a strict increase in u-values that returns to the starting node.

    Justification

    Composition of the active-arc inequalities around a closed directed cycle.

    Derived from the video
  4. Expression
    ua1>ua1u_{a_1}>u_{a_1}
    Explanation

    Chaining around the cycle yields an impossibility, so a fully active subtour cannot satisfy the constraints.

    Justification

    Transitivity of > applied to the chained inequalities.

    Derived from the video
Conclusion

The constraint enforces a strict ordering along selected arcs; a closed selected cycle would require a variable to be strictly greater than itself, which is impossible.

Worked examples · 5

Verification with a Full Tour

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Slide shows a 5-node graph with a Hamiltonian cycle 1-3-2-5-4-1 and lists the corresponding active constraints.

  2. Audio
    Observation

    Speaker says 'Let us take an example for a full tour...' and walks through finding feasible values for u.

Problem

Verify that the subtour breaking constraints allow feasible integer solutions for the u variables when the selected edges form a single valid tour covering all cities.

Given
  1. n=5n = 5 cities.

  2. Tour edges: (1,3), (3,2), (2,5), (5,4), (4,1).

  3. Constraints apply for i,j >= 2.

Goal

Find a feasible set of values for u2u_2, u3u_3, u4u_4, u5u_5 satisfying all active constraints and bounds.

Steps
  1. Expression
    u5+1≤u4,u4+1≤u2,u2+1≤u3u_5 + 1 \le u_4, \quad u_4 + 1 \le u_2, \quad u_2 + 1 \le u_3
    Explanation

    Identify the active constraints corresponding to the edges within the subset of cities {2,3,4,5}.

    Justification

    Edges (5,4), (4,2), and (2,3) have xi,j=1x_{i,j}=1, reducing the general constraint to ui+1u_i + 1 <= uju_j.

    Shown in the video
  2. Expression
    u2,u3,u4,u5≤4u_2, u_3, u_4, u_5 \le 4
    Explanation

    Apply the upper bound for the u variables.

    Justification

    Since there are 5 cities and city 1 is the start/end, the maximum number of cities visited before reaching any other city is 4.

    Shown in the video
  3. Expression
    u2=3,u3=4,u4=2,u5=1u_2 = 3, u_3 = 4, u_4 = 2, u_5 = 1
    Explanation

    Provide one valid assignment of integer values.

    Justification

    Substituting these values satisfies 1+11+1<=2, 2+12+1<=3, 3+13+1<=4, and all are <=4.

    Shown in the video
  4. Expression
    u2=2,u3=3,u4=1,u5=0u_2 = 2, u_3 = 3, u_4 = 1, u_5 = 0
    Explanation

    Provide another valid assignment of integer values.

    Justification

    Substituting these values satisfies 0+10+1<=1, 1+11+1<=2, 2+12+1<=3, and all are <=4.

    Shown in the video
Answer

Feasible solutions exist, such as (u2=3u_2=3, u3=4u_3=4, u4=2u_4=2, u5=1u_5=1) or (u2=2u_2=2, u3=3u_3=3, u4=1u_4=1, u5=0u_5=0), confirming the constraints do not eliminate valid full tours.

Verification

Both provided sets of values strictly satisfy all listed inequalities and the upper bound constraint.

Verification with a Subtour Configuration

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Slide shows a 5-node graph with two disjoint cycles: 1-3-1 and 2-5-4-2, along with the active constraints for the second cycle.

  2. Audio
    Observation

    Speaker says 'Now let us take another example where we do not have a complete tour...' and begins analyzing the subtour.

Uncertainties
  1. The video ends before the speaker explicitly states the contradiction, though the setup clearly implies it.

Problem

Analyze the feasibility of the u variables when the selected edges form disjoint subtours instead of a single valid tour.

Given
  1. n=5n = 5 cities.

  2. Subtour edges: (1,3), (3,1) and (2,5), (5,4), (4,2).

  3. Constraints apply for i,j >= 2.

Goal

Determine if a feasible set of values for u2u_2, u3u_3, u4u_4, u5u_5 exists for this configuration.

Steps
  1. Expression
    u4+1≤u2,u2+1≤u5,u5+1≤u4u_4 + 1 \le u_2, \quad u_2 + 1 \le u_5, \quad u_5 + 1 \le u_4
    Explanation

    Identify the active constraints for the edges forming the subtour among cities {2,4,5}.

    Justification

    Edges (4,2), (2,5), and (5,4) have xi,j=1x_{i,j}=1, reducing the general constraint to ui+1u_i + 1 <= uju_j.

    Shown in the video
  2. Expression
    u4+1<u4u_4 + 1 < u_4
    Explanation

    Chain the inequalities to derive a contradiction.

    Justification

    Adding the three inequalities yields u4+u2+u5+3u_4 + u_2 + u_5 + 3 <= u2+u5+u4u_2 + u_5 + u_4, which simplifies to 3 <= 0, or equivalently, following the strict ordering u4<u2<u5<u4u_4 < u_2 < u_5 < u_4.

    Derived from the video
Answer

No feasible solution exists because the constraints force a strict cyclic ordering (u4<u2<u5<u4u_4 < u_2 < u_5 < u_4), which is a mathematical contradiction.

Verification

The derived contradiction proves that any closed loop not containing the starting city violates the subtour breaking constraints.

Worked verification on a 5-node TSP with a subtour

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    The slide shows nodes 1 and 3 forming one cycle and nodes 2, 4, and 5 forming another cycle.

  2. Formula
    Observation

    The displayed inequalities are u4+1≤u2u_4+1\le u_2, u2+1≤u5u_2+1\le u_5, u5+1≤u4u_5+1\le u_4, with u2u_2,u3u_3,u4u_4,u5≤4u_5\le 4.

  3. Audio
    Observation

    The lecturer narrates the assignment process and identifies the contradiction as arising from the subtour.

Uncertainties
  1. The precise drawing orientation of each arrow in the 3-cycle is small on screen, but the algebraic inequalities identify the ordered pairs used in the explanation.

Problem

Given a candidate solution containing a subtour on nodes 2, 4, and 5, verify whether the subtour-breaking constraints admit a consistent assignment of the u-values.

Given
  1. Selected arcs include the cycle among nodes 2, 4, and 5.

  2. The relevant constraints shown are u4+1≤u2u_4+1\le u_2, u2+1≤u5u_2+1\le u_5, u5+1≤u4u_5+1\le u_4.

  3. The bound shown is u2u_2,u3u_3,u4u_4,u5≤4u_5\le 4.

  4. The lecturer assigns u3=3u_3=3 and then u4=2u_4=2.

Goal

Determine whether the subtour can satisfy all displayed constraints.

Steps
  1. Expression
    u4=2u_4=2
    Explanation

    Choose node 4 arbitrarily from the disconnected cycle and assign a feasible value less than 3.

    Justification

    Stated by the lecturer and written on the slide.

    Shown in the video
  2. Expression
    u5=1u_5=1
    Explanation

    From u5+1≤u4u_5+1\le u_4 and u4=2u_4=2, infer u5=1u_5=1.

    Justification

    Substitution into the displayed inequality.

    Shown in the video
  3. Expression
    u2=0u_2=0
    Explanation

    From u2+1≤u5u_2+1\le u_5 and u5=1u_5=1, infer u2=0u_2=0.

    Justification

    Substitution into the displayed inequality.

    Shown in the video
  4. Expression
    u2=3u_2=3
    Explanation

    From u4+1≤u2u_4+1\le u_2 and u4=2u_4=2, the lecturer obtains the conflicting requirement u2=3u_2=3.

    Justification

    Substitution into the displayed inequality as narrated in the video.

    Shown in the video
  5. Expression
    Contradiction\text{Contradiction}
    Explanation

    The same variable u2u_2 is forced to equal both 0 and 3, which is impossible.

    Justification

    Direct inconsistency between the two derived values.

    Shown in the video
Answer

The subtour on nodes 2, 4, and 5 is infeasible under the subtour-breaking constraints.

Verification

The contradiction u2=0u_2=0 and u2=3u_2=3 demonstrates infeasibility; the slide also states that any subtour not containing node 1 will create inconsistency in the value of some uiu_i.

End-of-clip exercise prompt

Clear evidence
Shown in the video
Evidence
  1. Caption evidence
    Observation

    Slide title: "TSP: Formulation-2 Testing".

  2. Caption evidence
    Observation

    Question text: "Q. Use the data from Example-1 and Example-2, and solve Formulation-2 of TSP using Cplex solver."

  3. Audio
    Observation

    The lecturer says, "In this video, we are not going to solve the TSP problem."

Uncertainties
  1. The referenced data from Example-1 and Example-2 are not shown in this clip.

Problem

Use the data from Example-1 and Example-2, and solve Formulation-2 of TSP using Cplex solver.

Given
  1. The formulation to be used is Formulation-2.

  2. The solver named on the slide is Cplex.

  3. The required input data come from Example-1 and Example-2, which are outside this clip.

Goal

Solve the TSP instance with the newly introduced formulation using a commercial solver.

Steps
  1. Expression
    No solution steps shown in this clip\text{No solution steps shown in this clip}
    Explanation

    The clip only presents the exercise prompt and states that the solution will not be performed here.

    Justification

    Visible question slide plus the lecturer's closing remark.

    Shown in the video
Answer

No numerical answer is provided within this clip.

Verification

The slide explicitly frames the task as a testing exercise to be done with Cplex, and the lecturer states that this video will not solve the TSP problem.

Testing Formulation-2 with Cplex

Clear evidence
Shown in the video
Evidence
  1. Caption evidence
    Observation

    The slide text gives the task: "Use the data from Example-1 and Example-2, and solve Formulation-2 of TSP using Cplex solver."

  2. Audio
    Observation

    The speaker says they are going to see how to solve the TSP problem using the Cplex solver.

Uncertainties
  1. No numerical instance data, model equations, or solver output are shown in this clip.

Problem

Use the data from Example-1 and Example-2 to solve Formulation-2 of the TSP with the Cplex solver.

Given
  1. Data from Example-1

  2. Data from Example-2

  3. Formulation-2 of TSP

  4. Cplex solver

Goal

Demonstrate that the TSP formulation can be solved computationally with Cplex instead of by manual branch and bound.

Steps
  1. Expression
    Explanation

    Identify the computational route: the slide asks for Formulation-2 of TSP to be solved with Cplex.

    Justification

    Directly stated on the slide and reinforced by the speaker's introduction.

    Shown in the video
  2. Expression
    Explanation

    Use the previously introduced Example-1 and Example-2 data as the input instance for the solver-based test.

    Justification

    The slide explicitly names those examples as the data source.

    Shown in the video
Answer

The clip states the task but does not display the solved result.

Verification

No verification is shown within this segment; only the problem statement and intended method are visible.

Visual events · 10

Title and chapter outline

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Title slide reads "Traveling Salesperson Problem" with date March 31, 2020.

  2. Diagram
    Observation

    Outline slide lists About TSP, Exact Methods with Formulation-1 and Formulation-2, Heuristic Methods, and Conclusion.

Objects
  1. Title slide

  2. Chapter Outline slide

  3. Formulation-2 bullet

Changes
  1. The presentation moves from the title slide to the chapter outline.

  2. The outline identifies Formulation-2 under Exact Methods.

Invariants
  1. The topic remains the Traveling Salesperson Problem.

  2. The segment is framed as part of a larger lecture sequence.

Interpretation

The opening visuals locate the clip as the beginning of a lecture section introducing a second exact TSP formulation focused on automatic subtour breaking.

Definition slide for uiu_i

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Slide title is "TSP: Subtour Breaking Constraint".

  2. Formula
    Observation

    Red-highlighted text defines uiu_i as the number of cities visited before reaching city i, i>1i>1, assuming tour starts from city 1.

Objects
  1. uiu_i definition text

  2. red emphasis

  3. slide title

Changes
  1. The slide introduces the auxiliary variable uiu_i.

  2. The phrase about the number of cities visited before reaching city i is visually emphasized.

Invariants
  1. The goal remains building an IP model that automatically breaks subtours.

  2. City 1 is fixed as the assumed starting city.

Interpretation

The visual emphasis marks uiu_i as the key new ingredient distinguishing this formulation from a plain arc-variable TSP model.

Hand-drawn i-to-j arc illustration

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Two hand-drawn red circles labeled i and j appear, connected by a blue line.

  2. Formula
    Observation

    Bullets state If xi,j=1x_{i,j}=1, then ui+1≤uju_i+1 \le u_j, and If xi,j=0x_{i,j}=0, then no direct relation can be said between uiu_i and uju_j.

Uncertainties
  1. The drawing shows an undirected-looking blue line, while the spoken and symbolic context treats travel from city i to city j as directional.

Objects
  1. Node i

  2. Node j

  3. Blue connecting line

  4. conditional bullets

Changes
  1. The diagram appears while the speaker discusses moving from city i to city j.

  2. The slide adds the two cases xi,j=1x_{i,j}=1 and xi,j=0x_{i,j}=0.

Invariants
  1. The labels i and j represent cities.

  2. The relation being explained concerns arc usage and order variables.

Interpretation

The sketch supports the intuitive derivation: using the i-to-j move forces j to occur later than i in the tour order, while not using that move leaves no direct ordering implication.

Big-M to final subtour constraint progression

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide shows ui+1≤uj+M(1−xi,j)u_i+1 \le u_j+M(1-x_{i,j}), then M=nM=n, then the final constraint ui+1≤uj+n(1−xi,j)u_i+1 \le u_j+n(1-x_{i,j}) for all i,j=2j=2,…\dots,n, i≠ji\ne j.

Objects
  1. Generic big-M inequality

  2. M estimate text

  3. final quantified inequality

Changes
  1. The conditional relation is replaced by a single linear inequality with M.

  2. M is estimated as n, with n-1 noted as tighter.

  3. The final constraint is displayed with universal quantification over i,j=2j=2,…\dots,n, i≠ji\ne j.

Invariants
  1. xi,jx_{i,j} remains binary.

  2. uiu_i remains the order variable for cities i>1i>1.

  3. The tour-start assumption at city 1 remains in force.

Interpretation

The visual sequence shows the standard modeling pattern: identify an if-then logical condition, linearize it with big-M, choose a problem-specific M, and state the resulting family of constraints.

Construction of Full Tour Graph and Constraints

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    Nodes 1 through 5 appear sequentially, followed by directed edges forming a Hamiltonian cycle. Text boxes listing constraints and bounds appear alongside the graph.

  2. Animation
    Observation

    Specific numerical values for u2u_2, u3u_3, u4u_4, u5u_5 are overlaid on the nodes to demonstrate feasible solutions.

Objects
  1. Nodes 1, 2, 3, 4, 5

  2. Directed edges forming a cycle

  3. Constraint text boxes

  4. Variable value overlays

Changes
  1. Nodes and edges are drawn to form a complete tour.

  2. Constraint inequalities are listed based on the active edges.

  3. Feasible integer values for u variables are displayed on the nodes.

Invariants
  1. The underlying graph structure remains a 5-node complete graph representation.

  2. The general form of the subtour constraint remains constant at the top of the slide.

Interpretation

The visual progression maps the abstract algebraic constraints directly onto the geometric structure of the tour, showing how selecting specific edges activates specific inequalities that bound the u variables.

Construction of Subtour Graph and Contradictory Constraints

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    The previous graph clears, and new edges are drawn forming two distinct, disconnected cycles: one between nodes 1 and 3, and another between nodes 2, 4, and 5.

  2. Animation
    Observation

    A new set of constraint text boxes appears, reflecting only the edges within the {2,4,5} subtour.

Objects
  1. Nodes 1, 2, 3, 4, 5

  2. Directed edges forming two disjoint cycles

  3. Constraint text boxes

Changes
  1. Edges are redrawn to represent a fragmented tour with subtours.

  2. The list of active constraints updates to reflect the new edge selections.

Invariants
  1. The node positions remain fixed.

  2. The general subtour constraint formula remains visible at the top.

Interpretation

The visual shift highlights how changing the selected edges alters the system of inequalities, setting up a cyclic dependency among the u variables that leads to infeasibility.

Graph with two disjoint cycles used for subtour verification

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    A graph with five numbered circular nodes is shown; nodes 1 and 3 form one small cycle, and nodes 2, 4, and 5 form another cycle.

  2. Animation
    Observation

    A green pointer moves among the nodes and edges while the lecturer assigns values and highlights the relevant inequalities.

Uncertainties
  1. The exact visual direction of every arrow in the 3-cycle is hard to read at this scale, though the displayed inequalities identify the ordered pairs used in the argument.

Objects
  1. Five numbered nodes

  2. Directed edges forming a 2-cycle on nodes 1 and 3

  3. Directed edges forming a 3-cycle on nodes 2, 4, and 5

  4. Green pointer

  5. Displayed inequalities u4+1≤u2u_4+1\le u_2, u2+1≤u5u_2+1\le u_5, u5+1≤u4u_5+1\le u_4

  6. Bound u2u_2,u3u_3,u4u_4,u5≤4u_5\le 4

Changes
  1. The pointer first indicates node 3 while u3=3u_3=3 is discussed.

  2. It then moves to node 4 while u4=2u_4=2 is assigned.

  3. It proceeds to node 5 and node 2 as the chain of inequalities is evaluated.

  4. A conflicting label u2=3u_2=3 appears alongside the earlier derived u2=0u_2=0.

Invariants
  1. The underlying graph structure remains the same throughout the verification segment.

  2. The displayed subtour-breaking family and the three specific inequalities remain visible.

Interpretation

The visual demonstration shows how assigning ordering variables around a closed subtour forces incompatible values, thereby proving that the subtour cannot satisfy the constraints.

Transition from local verification to full formulation slide

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    At about 85 seconds the slide changes from "TSP: Subtour Breaking Constraint" to "TSP: Formulation-2".

  2. Caption evidence
    Observation

    The new slide lists the full minimization model and later reveals advantages and disadvantages text at the bottom.

Objects
  1. Title bar "TSP: Formulation-2"

  2. Objective function

  3. Two degree constraints

  4. Subtour-breaking constraint

  5. Binary declaration

  6. Nonnegativity declaration

  7. Advantages text

  8. Disadvantages text

Changes
  1. The view switches from a graph-based verification example to a complete algebraic formulation.

  2. Bottom text first shows advantages, then later shows disadvantages.

Invariants
  1. The subtour-breaking inequality remains the central new constraint carried over from the previous slide.

Interpretation

The presentation moves from a concrete contradiction example to the full mathematical model and then summarizes practical consequences of using that model.

Static problem slide with pointer movement

Clear evidence
Shown in the video
Evidence
  1. Caption evidence
    Observation

    A blue-header slide titled "TSP: Formulation-2 Testing" shows a single question line about solving Formulation-2 of TSP using Cplex solver.

  2. Animation
    Observation

    A green pointer dot moves around the slide text while the slide remains otherwise static.

Objects
  1. Slide title bar

  2. Question text

  3. Green pointer dot

Changes
  1. The pointer dot shifts position across the text area.

Invariants
  1. The slide content remains unchanged during this interval.

  2. No formulas or numerical data are added on screen.

Interpretation

The visual functions as a prompt slide introducing a solver-based test of the TSP formulation.

Two-bullet improvement slide

Clear evidence
Shown in the video
Evidence
  1. Caption evidence
    Observation

    The slide changes to "TSP: Improving the B & B Approach" with two starred bullets for lower bounds and upper bounds.

  2. Animation
    Observation

    The green pointer dot moves near the bullet lines while the rest of the slide stays fixed.

Objects
  1. Slide title bar

  2. Lower bounds bullet

  3. Upper bounds bullet

  4. Green pointer dot

Changes
  1. The pointer dot moves between the two bullet items as the speaker discusses them.

Invariants
  1. Only two improvement categories are listed.

  2. No equations or algorithmic pseudocode appear on the slide.

Interpretation

The slide visually organizes the lecture into two branches of improvement: tightening lower bounds and tightening upper bounds.

Misconceptions · 8

Treating the starting city as irrelevant

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide explicitly says "assuming tour starts from city 1".

  2. Audio
    Observation

    Speaker calls this a very crucial assumption and says it affects the subtour breaking constraint.

Misconception

One might think the definition of uiu_i works independently of which city is chosen as the start.

Clarification

The video stresses that the formulation assumes the tour starts from city 1, and this choice is crucial for the subtour-breaking constraint presented here.

Assuming unused arcs still impose ordering

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide states: If xi,j=0x_{i,j}=0, then we cannot say any direct relation between uiu_i and uju_j.

  2. Audio
    Observation

    Speaker says that without going directly from i to j, we are not sure about the relationship between uiu_i and uju_j.

Misconception

One might infer that every pair of cities must satisfy ui+1≤uju_i+1\le u_j regardless of whether the arc is used.

Clarification

The direct ordering relation is asserted only when xi,j=1x_{i,j}=1. When xi,j=0x_{i,j}=0, the formulation intentionally avoids imposing a direct relation between uiu_i and uju_j.

Thinking any sufficiently large M is equally good

Approximate timing
Derived from the video
Evidence
  1. Formula
    Observation

    The slide distinguishes a good estimate M=nM=n from the best estimate M=n−1M=n-1.

  2. Audio
    Observation

    The speaker emphasizes choosing M based on the number of cities rather than leaving it arbitrary.

Uncertainties
  1. The clip does not discuss numerical conditioning or solver performance in detail.

Misconception

One might think that once a big-M value is valid, making it larger has no modeling significance.

Clarification

The analyst adds: The video at least indicates that the value of M must relate to the problem size, and specifically notes that n minus one is tighter than n; in practical integer programming modeling, an excessively large M typically weakens the linear relaxation and may impair solution efficiency.

Applying Subtour Constraints to the Starting City

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide text specifies the constraint applies for '∀i\forall i, j=2j = 2, …\dots, n'.

  2. Audio
    Observation

    Speaker emphasizes: 'we are avoiding the city from which the tour starts... that is one of the crux of this constraint.'

Misconception

Believing the subtour breaking constraint should be applied to all cities, including the starting city (city 1).

Clarification

The constraint is deliberately defined only for i, j >= 2. Excluding the starting city prevents the formation of cyclic inequalities that would include the depot, ensuring that only valid paths originating from or returning to the depot are modeled correctly without artificial restrictions on the depot's 'position'.

Misreading the subtour constraint as always active

Approximate timing
Supplementary explanation
Evidence
  1. Formula
    Observation

    The constraint contains the term n(1−xi,j)n(1-x_{i,j}), which disappears only when xi,j=1x_{i,j}=1.

  2. Audio
    Observation

    The lecturer explains that the constraint breaks subtours automatically once included in the model.

Misconception

One might think ui+1≤uj+n(1−xi,j)u_i+1\le u_j+n(1-x_{i,j}) imposes ui+1≤uju_i+1\le u_j for every pair i,j regardless of whether the arc is used.

Clarification

The inequality is only restrictive when xi,j=1x_{i,j}=1. When xi,j=0x_{i,j}=0, the added term n relaxes the constraint so that it does not enforce ordering on that unused arc.

Assuming Formulation-2 remains an assignment problem

Clear evidence
Shown in the video
Evidence
  1. Caption evidence
    Observation

    Disadvantages text: "The assignment problem structure is damaged."

  2. Audio
    Observation

    The lecturer says this means the Hungarian method cannot be used for the LP relaxation.

Misconception

Because the two degree constraints resemble assignment constraints, one may assume the whole model still has assignment-problem structure.

Clarification

The added subtour-breaking constraints and auxiliary variables destroy the pure assignment structure, so assignment-specific algorithms such as the Hungarian method no longer apply to the relaxation.

Solver use is not the same as manual branch and bound

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker contrasts the current topic with using the branch and bound method and says they will instead see how to solve the TSP problem using the Cplex solver.

Misconception

One might assume that solving TSP with Cplex is just another presentation of the same manual branch-and-bound procedure discussed earlier.

Clarification

The lecture explicitly separates the two: this segment introduces a solver-based route for Formulation-2, distinct from the hand-developed branch-and-bound discussion.

Lower and upper bounds play different roles

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker says there are two areas, lower bound and upper bound, and that better bounds reduce the enumeration tree size drastically.

  2. Caption evidence
    Observation

    The slide lists lower-bound and upper-bound improvement as separate bullets.

Misconception

One might think improving either bound alone is enough, or that lower and upper bounds are interchangeable tools.

Clarification

The lecture treats them as two distinct improvement axes: lower bounds are tightened via the assignment problem approach, while upper bounds are tightened via heuristic or metaheuristic methods.

Concept relations · 19

Goal of the second TSP formulation → Auxiliary variable uiu_i for city order

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker introduces the formulation as a way to break subtours automatically, then defines uiu_i for that purpose.

  2. Formula
    Observation

    Slide goal is followed by the definition of uiu_i.

Application
Explanation

The auxiliary variable uiu_i is introduced specifically to make the automatic subtour-breaking formulation possible.

Auxiliary variable uiu_i for city order → Conditional ordering relation induced by an arc

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The definition of uiu_i precedes the conditional statement ui+1≤uju_i+1\le u_j when xi,j=1x_{i,j}=1.

Proof dependency
Explanation

The conditional ordering relation is meaningful only after uiu_i and uju_j have been interpreted as visit-count/order variables.

Binary arc variable xi,jx_{i,j} → Conditional ordering relation induced by an arc

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The slide asks for a relationship among xi,jx_{i,j}, uiu_i, and uju_j, then states the implication involving xi,j=1x_{i,j}=1.

Proof dependency
Explanation

The if-then relation uses xi,jx_{i,j} as the trigger that decides whether the ordering constraint between uiu_i and uju_j should be enforced.

Conditional ordering relation induced by an arc → Big-M linearization of the conditional relation

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The conditional bullets are followed by the slide line "The above scenario can be modeled as" and the big-M inequality.

Equivalent
Explanation

The big-M inequality is presented as the linear model of the preceding if-then logical condition.

Big-M linearization of the conditional relation → Choosing the big-M constant for TSP subtour breaking

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The generic M inequality is followed by the question of estimating M and the answer M=nM=n, with n-1 noted as best.

Application
Explanation

Choosing M=nM=n specializes the generic big-M formulation to the TSP with n cities.

Choosing the big-M constant for TSP subtour breaking → MTZ-style subtour breaking constraint

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    After stating M=nM=n, the slide displays the final constraint with n(1−xi,j)n(1-x_{i,j}).

Proof dependency
Explanation

The final subtour-breaking constraint is obtained by substituting the chosen value M=nM=n into the big-M inequality.

MTZ-style subtour breaking constraint → Goal of the second TSP formulation

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Final slide text says the condition will automatically break the subtours.

Application
Explanation

The final constraint is the concrete mechanism by which the second TSP formulation achieves its stated goal of automatic subtour breaking.

Big-M Method in TSP Formulation → Subtour Breaking Constraint Formula

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The term n(1−xi,j)n(1 - x_{i,j}) in the constraint formula directly utilizes the concept of a large constant M (estimated as n) to relax the inequality.

Application
Explanation

The Big-M method is the underlying mechanism used to construct the conditional subtour breaking constraint, allowing it to enforce ordering only when an edge is selected.

Subtour Breaking Constraint Formula → Derivation of Feasible u Values for a Full Tour

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The speaker uses the specific instances of the constraint generated by the graph edges to logically deduce the bounds and contradictions for the u variables.

Proof dependency
Explanation

The derivations demonstrating the feasibility of full tours and the infeasibility of subtours rely entirely on applying the algebraic rules defined by the subtour breaking constraint.

Subtour-breaking constraint → Objective function of Formulation-2

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The same inequality ui+1≤uj+n(1−xi,j)u_i+1\le u_j+n(1-x_{i,j}) appears on the verification slide and again in the full formulation slide.

  2. Audio
    Observation

    The lecturer says the new thing in Formulation-2 is the subtour avoiding or subtour breaking constraint.

Application
Explanation

The subtour-breaking constraint introduced in the verification example is incorporated into the complete Formulation-2 model alongside the objective and degree constraints.

Incoming-degree constraint → Disadvantage: loss of assignment structure

Clear evidence
Shown in the video
Evidence
  1. Caption evidence
    Observation

    The disadvantages text states that the assignment problem structure is damaged.

  2. Formula
    Observation

    The model retains the two degree constraints but adds subtour-breaking constraints and uiu_i variables.

Contrast
Explanation

Although the incoming and outgoing degree constraints resemble an assignment problem, adding the subtour-breaking system contrasts with that structure and removes the applicability of assignment-specific methods.

Subtour-breaking constraint → Advantage of Formulation-2

Clear evidence
Shown in the video
Evidence
  1. Caption evidence
    Observation

    Advantages text says the formulation can be automated and solved using the conventional B&B approach.

  2. Audio
    Observation

    The lecturer names CPLEX and Gurobi as solvers that can handle the TSP with this formulation.

Application
Explanation

The explicit subtour-breaking constraints are what allow the model to be passed directly to standard integer-programming solvers using conventional branch-and-bound.

Find an answer · 20

What does the variable uiu_i mean in the TSP subtour breaking formulation?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide defines uiu_i as the number of cities visited before reaching city i.

Knowledge points
  1. Auxiliary variable uiu_i for city order

Why does this TSP formulation assume the tour starts from city 1?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker calls the assumption that the tour starts from city 1 crucial.

Knowledge points
  1. Auxiliary variable uiu_i for city order
  2. Fixed starting city assumption

What is the relationship between xi,jx_{i,j}, uiu_i, and uju_j when the arc from i to j is used?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide asks for a relationship between xi,jx_{i,j}, uiu_i, and uju_j and then gives the conditional implication.

Knowledge points
  1. Binary arc variable xi,jx_{i,j}
  2. Auxiliary variable uiu_i for city order
  3. Conditional ordering relation induced by an arc

How is the if-then condition xi,j=1x_{i,j}=1 implies ui+1≤uju_i+1 \le u_j converted into a linear constraint?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide models the scenario as ui+1≤uj+M(1−xi,j)u_i+1 \le u_j+M(1-x_{i,j}).

Knowledge points
  1. Conditional ordering relation induced by an arc
  2. Big-M linearization of the conditional relation

What value should M take in the TSP big-M subtour breaking constraint?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide states M can be n and that the best estimate is n-1.

Knowledge points
  1. Choosing the big-M constant for TSP subtour breaking
  2. M
  3. n

What is the final subtour breaking constraint shown for the second TSP formulation?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Final displayed constraint is ui+1≤uj+n(1−xi,j)u_i+1 \le u_j+n(1-x_{i,j}) for all i,j=2j=2,…\dots,n, i≠ji\ne j.

Knowledge points
  1. MTZ-style subtour breaking constraint
  2. Derivation of the subtour breaking constraint

Does the formulation impose an ordering between uiu_i and uju_j when xi,j=0x_{i,j}=0?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide says if xi,j=0x_{i,j}=0, no direct relation can be said between uiu_i and uju_j.

Knowledge points
  1. Conditional ordering relation induced by an arc
  2. Unused arc imposes no direct ordering relation

Why does the MTZ subtour elimination constraint exclude the starting city (i, j >= 2)?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Speaker explains the rationale for restricting indices to 2 through n.

Knowledge points
  1. Subtour Breaking Constraint Formula
  2. Applying Subtour Constraints to the Starting City

How is the Big-M constant utilized in the TSP subtour breaking formula?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Slide shows the n(1−xi,j)n(1-x_{i,j}) term and discusses estimating M.

Knowledge points
  1. Big-M Method in TSP Formulation
  2. Subtour Breaking Constraint Formula

How do the u-variable constraints mathematically prove that a subtour is impossible?

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Graph shows a disjoint cycle and the resulting chained inequalities.

Knowledge points
  1. Derivation of Infeasibility for a Subtour Configuration
  2. Verification with a Subtour Configuration

What is the subtour-breaking constraint in TSP Formulation-2?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The slide explicitly displays ui+1≤uj+n(1−xi,j)u_i+1\le u_j+n(1-x_{i,j}) under the title "TSP: Subtour Breaking Constraint".

Knowledge points
  1. Subtour-breaking constraint
  2. Nonnegativity of auxiliary variables

Why does a subtour that does not contain node 1 become infeasible under these constraints?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The lecturer derives u2=0u_2=0 and u2=3u_2=3 and calls this an inconsistency due to the subtour.

  2. Diagram
    Observation

    The graph shows a separate cycle on nodes 2, 4, and 5.

Knowledge points
  1. Any subtour not containing node 1 creates inconsistency in the u-values
  2. Numerical verification that a subtour violates the ordering constraints
  3. Worked verification on a 5-node TSP with a subtour
Coverage and review notes

Covered · Title and outline introduce the second TSP formulation and its goal of automatically breaking subtours.

Covered · Slide defines the auxiliary variable uiu_i and the crucial assumption that the tour starts from city 1.

Covered · Speaker reviews the binary arc variable xi,jx_{i,j} and sets up the search for a relationship among xi,jx_{i,j}, uiu_i, and uju_j.

Covered · Hand-drawn i-j illustration accompanies the conditional ordering logic for used and unused arcs.

Covered · The conditional relation is linearized with a big-M constraint and M is specialized to n, with n-1 noted as tighter.

Covered · Final quantified subtour-breaking constraint is displayed and identified as the automatic subtour elimination condition.

Covered · Introduction of the MTZ subtour breaking constraint, definition of variables, explanation of the Big-M method, and the specific exclusion of the starting city.

Covered · Step-by-step verification using a full tour example, deriving bounds for u variables and showing feasible integer assignments.

Covered · Setup and logical derivation for a subtour configuration, demonstrating how cyclic edges lead to contradictory inequalities.

Covered · Verification example on the subtour-breaking constraint, including the graph, assigned u-values, contradiction, and interpretation.

Covered · Full Formulation-2 slide with objective, constraints, variable declarations, and spoken advantages/disadvantages.

Covered · Closing exercise prompt asking to solve Formulation-2 with Cplex using data from earlier examples; no solution is shown in this clip.

Covered · Opening slide introduces solving TSP Formulation-2 with Cplex and contrasts it with branch and bound.

Covered · Second slide explains two ways to improve TSP branch and bound: tighter lower bounds via the assignment problem approach and tighter upper bounds via heuristics or metaheuristics.

Explore the knowledge in this video

Reviewed subject paths