Reviewed learning material · Video analysis · EnglishRead 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 ui for i>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,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=1 implies ui+1≤uj, while xi,j=0 imposes no direct relation between ui and uj. This if-then logic is then linearized as the big-M inequality ui+1≤uj+M(1−xi,j), with M required to be large enough that ui≤M. The slide recommends M=n, the total number of cities, and notes that M=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) for all distinct i,j=2,…,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 ui to track city visit order and explains how the Big-M method uses the binary edge variables xi,j to conditionally enforce the ordering constraint ui+1 <= uj. 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 ui, 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,j, the subtour-breaking inequalities ui+1≤uj+n(1−xi,j), and nonnegativity of ui. 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.
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 ui. It is defined as a non-negative variable representing the number of cities visited before reaching city i, for i>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,j, which equals 1 when the tour travels directly from city i to city j and equals 0 otherwise. The goal is now to connect this arc variable with the order variables ui and uj, because subtour elimination requires enforcing consistency between route selection and visitation order.
A hand-drawn diagram with nodes labeled i and j supports the intuitive derivation. If xi,j=1, meaning the arc from i to j is used, then city j must be reached after city i, so the order variable must satisfy ui+1≤uj. If xi,j=0, the speaker explicitly notes that no direct relationship between ui and uj 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), where M is chosen large enough that ui≤M. When xi,j=1, the term M(1−xi,j) disappears and the ordering constraint becomes active. When xi,j=0, the added M 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=n, the total number of cities, and adds that the tighter best estimate is M=n−1. The speaker says the presentation will use n in the slides, so the final displayed model adopts M=n rather than the sharper value.
Substituting M=n yields the final subtour-breaking constraint shown on screen: ui+1≤uj+n(1−xi,j) for all i,j=2,…,n with i=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) is introduced for all i,j∈{2,…,n} with i=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 ui is clarified as tracking the sequence of visited cities. The term n(1−xi,j) functions as a Big-M relaxation. When an edge is selected (xi,j=1), this term vanishes, strictly enforcing ui+1≤uj. Conversely, when the edge is absent (xi,j=0), the addition of n ensures the inequality is trivially satisfied, effectively disabling the constraint for that pair. The value n is noted as a robust estimate for the Big-M constant.
To validate the formulation, a concrete example with n=5 cities is constructed. A directed graph displays a valid Hamiltonian cycle: 1→3→2→5→4→1. The active edges within the subset {2,3,4,5} generate specific inequalities: u2+1≤u3, u4+1≤u2, and u5+1≤u4. Additionally, the global bound ui≤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, u3 is assigned the maximum possible value of 4. Propagating this bound through the chain of inequalities yields u2≤3, u4≤2, and u5≤1. This establishes a strict, acyclic ordering: u5<u4<u2<u3.
Feasible integer assignments are then demonstrated on the graph. One valid solution sets (u2,u3,u4,u5)=(3,4,2,1), while another shifts the entire sequence down to (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↔3) and a 3-city loop (2→5→4→2). The edges comprising the secondary loop activate the constraints u4+1≤u2, u2+1≤u5, and u5+1≤u4, creating a closed chain of dependencies among the u variables.
By chaining these three inequalities together, the system demands that u4<u2<u5<u4. 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=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=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≤u4, the assignment u4=2 forces u5=1. Then using u2+1≤u5, the value u5=1 forces u2=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≤u2. With u4=2, this requires u2 to be 3, contradicting the previously derived value u2=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). When an arc is selected, xi,j=1 and the inequality reduces to ui+1≤uj, imposing a strict ordering from i to j. Chaining such strict inequalities around a closed cycle eventually demands that some u-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, 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 for every node j and ∑j=1j=inxi,j=1 for every node i. These enforce exactly one incoming and one outgoing selected arc at each node. The model also declares xi,j∈{0,1} and ui≥0 for i=2,…,n.
The subtour-breaking family is restated in the full formulation as ui+1≤uj+n(1−xi,j) for all i,j=2,…,n with i=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 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 ui
The new variable ui is defined for cities i>1 as the number of cities visited before reaching city i. 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>1
03
Binary arc variable xi,j
The speaker reviews xi,j as the usual TSP arc-selection variable. It is binary and equals 1 exactly when the tour travels directly from city i to city j; otherwise it equals 0. The formulation seeks a relationship among xi,j, ui, and uj.
xi,j∈{0,1}
04
Conditional ordering rule for used arcs
If the arc from i to j is used, then the order at j must be at least one larger than the order at i. This gives the implication xi,j=1⇒ui+1≤uj. If the arc is not used, the video explicitly says no direct relation between ui and uj can be asserted.
xi,j=1⟹ui+1≤uj
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). When xi,j=1, the constraint reduces to the desired ordering relation. When xi,j=0, the M term relaxes the inequality so it does not force a direct ordering. The slide requires M to be large enough that ui≤M.
ui+1≤uj+M(1−xi,j)
06
Choosing M=n in the TSP model
For this TSP formulation, the big-M constant is chosen from the problem size. The slide recommends M=n, the total number of cities, and notes that M=n−1 is the tighter best estimate. The presentation nevertheless uses n in the final displayed constraint.
M=n,Mbest=n−1
07
Final MTZ-style subtour breaking constraint
Substituting M=n gives the final constraint shown in the video: ui+1≤uj+n(1−xi,j) for all distinct i,j=2,…,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=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 ui 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=j
09
Big-M Relaxation in TSP
A modeling technique where a large constant M (here estimated as n) multiplies the complement of a binary variable (1−xi,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≥2. City 1 is intentionally omitted from the u-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 u 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<ua). 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) for all i,j=2,…,n with i=j. If arc (i,j) is selected, then xi,j=1 and the constraint becomes ui+1≤uj, forcing a strict ordering along that arc. If the arc is not selected, the term n relaxes the inequality so it does not restrict that pair.
ui+1≤uj+n(1−xi,j)∀i,j=2,…,n,i=j
14
Why a subtour is infeasible
The worked 5-node example assigns u3=3, then u4=2, which forces u5=1 from u5+1≤u4 and u2=0 from u2+1≤u5. But the remaining inequality u4+1≤u2 forces u2=3, contradicting u2=0. Hence a closed subtour among nodes 2,…,n cannot satisfy the ordering constraints.
u4=2,u5=1,u2=0,but also u2=3
15
Complete Formulation-2
The full model minimizes ∑i=1n∑j=1ndi,jxi,j subject to one incoming and one outgoing arc at each node, binary arc variables, the subtour-breaking inequalities, and nonnegative auxiliary variables ui for i=2,…,n. The lecturer describes this as the overall "formulation two" for TSP.
mini=1∑nj=1∑ndi,jxi,j
16
Degree constraints in Formulation-2
The model retains assignment-style degree constraints: ∑i=1i=jnxi,j=1 for each node j, and ∑j=1j=inxi,j=1 for each node i. These ensure every city has exactly one predecessor and one successor in the selected route structure.
i=1i=j∑nxi,j=1,j=1j=i∑nxi,j=1
17
Variable domains
The arc variables are binary, xi,j∈{0,1}, and the auxiliary ordering variables satisfy ui≥0 for i=2,…,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)
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 constraints, making the model larger than Formulation-1.
Additional (n−1)2 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
ui
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide text: "Let ui be a non-negative variable that represents the number of cities visited before reaching city i, i>1".
Audio
Observation
Speaker says ui is a new non-negative variable representing the number of cities visited before reaching city i.
Symbol
ui
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>1; later constrained by ui≤M and used for i,j=2,…,n.
xi,j
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide asks for a relationship between xi,j, ui, and uj.
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,j
Meaning
Binary arc-selection variable indicating whether the tour travels directly from city i to city j.
Domain
Binary variable, xi,j∈\{0,1\}.
i
Clear evidence
Shown in the video
Evidence
Formula
Observation
Subscripts in ui, xi,j, and the final quantifier use i.
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=2,…,n.
j
Clear evidence
Shown in the video
Evidence
Formula
Observation
Subscripts in xi,j, uj, and the final quantifier use j.
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=2,…,n.
M
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide shows ui+1≤uj+M(1−xi,j) and states "where M is some big number, such that ui≤M".
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
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=0.
Domain
A sufficiently large number satisfying ui≤M; recommended value on the slide is n.
n
Clear evidence
Shown in the video
Evidence
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=2,…,n.
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.
ui
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide text defines ui as a non-negative variable representing the number of cities visited before reaching city i, for i>1.
Audio
Observation
The speaker discusses finding feasible values for all the u's.
Symbol
ui
Meaning
Non-negative integer variable representing the position (or number of cities visited before) of city i in the tour, for i>1.
Domain
i∈ \{2, …, n\}
xi,j
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide text uses xi,j in the subtour breaking constraint and states 'If xi,j=1, then ui+1≤uj'.
Symbol
xi,j
Meaning
Binary decision variable indicating whether the edge from city i to city j is included in the tour.
Domain
i, j∈ \{2, …, n\}, i=j
n
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide text states 'A good estimate of M can be n, the total number of cities'.
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≥2
M
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide text mentions 'A good estimate of M can be n' and 'the best estimate for M is (n-1)'.
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+
xi,j
Clear evidence
Shown in the video
Evidence
Formula
Observation
On the slide titled "TSP: Formulation-2", the variable xi,j appears in the objective ∑i=1n∑j=1ndi,jxi,j, in the two degree constraints, in the binary declaration xi,j∈\{0,1\}, and inside the subtour-breaking constraint through the term n(1−xi,j).
Symbol
xi,j
Meaning
Binary route-selection variable for the directed arc from node i to node j.
Domain
xi,j∈\{0,1\},∀i=1,…,n
di,j
Clear evidence
Shown in the video
Evidence
Formula
Observation
The objective function on the formulation slide is written as ∑i=1n∑j=1ndi,jxi,j.
Uncertainties
The video does not explicitly define di,j in this clip; its meaning is inferred from standard TSP notation and from its use as a coefficient of xi,j.
Symbol
di,j
Meaning
Cost or distance coefficient associated with traveling from node i to node j.
Domain
Indexed by i,j=1,…,n
Knowledge points · 22
Goal of the second TSP formulation
Clear evidence
Shown in the video
Evidence
Audio
Observation
Speaker introduces another formulation for the Traveling Salesperson Problem whose idea is to break all subtours automatically.
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
Applies to the Traveling Salesperson Problem.
The formulation is intended to prevent subtours automatically.
Auxiliary variable ui for city order
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide text defines ui as a non-negative variable representing the number of cities visited before reaching city i, i>1, assuming tour starts from city 1.
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 ui for each city i>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>1
Conditions
Defined for cities i>1.
Assumes the tour starts from city 1.
ui is non-negative.
Prerequisites
Goal of the second TSP formulation
Binary arc variable xi,j
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide asks for a relationship between xi,j, ui, and uj.
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,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 ui and uj.
Formula
xi,j∈{0,1},xi,j=1 if the tour goes from city i to city j
Conditions
xi,j is binary.
xi,j=1 means the directed arc from i to j is used.
xi,j=0 means that direct arc is not used.
Prerequisites
Goal of the second TSP formulation
Conditional ordering relation induced by an arc
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide states: If xi,j=1, then ui+1≤uj.
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.
Audio
Observation
Speaker says that if we go from city i to city j, then uj should be greater than or equal to ui 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 ui and uj.
Formula
xi,j=1⟹ui+1≤uj
Conditions
Applies when considering a possible directed arc from city i to city j.
The implication is active only when xi,j=1.
When xi,j=0, no direct relation between ui and uj is asserted.
Prerequisites
Auxiliary variable ui for city order
Binary arc variable xi,j
Big-M linearization of the conditional relation
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide states: The above scenario can be modeled as ui+1≤uj+M(1−xi,j), where M is some big number, such that ui≤M.
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,j. When xi,j=1, the M-term vanishes and the ordering constraint is enforced. When xi,j=0, the added M makes the inequality non-binding, provided M is large enough.
Formula
ui+1≤uj+M(1−xi,j)
Conditions
M must be sufficiently large.
The slide states the requirement ui≤M.
xi,j is binary.
Prerequisites
Conditional ordering relation induced by an arc
M
Choosing the big-M constant for TSP subtour breaking
Clear evidence
Shown in the video
Evidence
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).
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
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=n because there are n cities, while also noting that M=n−1 is the tighter best estimate. The presentation proceeds with M=n.
Formula
M=n(used in the slides),Mbest=n−1
Conditions
n is the total number of cities.
M must satisfy the upper-bound requirement for the u variables.
The clip uses n rather than n-1 in the final displayed constraint.
Prerequisites
Big-M linearization of the conditional relation
n
M
MTZ-style subtour breaking constraint
Clear evidence
Shown in the video
Evidence
Formula
Observation
Final slide text: Thus, the following condition will automatically break the subtours: ui+1≤uj+n(1−xi,j)∀i,j=2,…,n,i=j.
Audio
Observation
Speaker concludes that this is the subtour avoiding constraint built based on the if-then statements.
Uncertainties
The clip displays the constraint but does not complete a formal proof that it eliminates every subtour.
Formula
Explanation
Substituting M=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=j
Conditions
Applied for all i,j=2,…,n with i=j.
Uses M=n.
Assumes the tour starts from city 1.
ui are non-negative order variables.
xi,j are binary arc variables.
Prerequisites
Auxiliary variable ui for city order
Binary arc variable xi,j
Big-M linearization of the conditional relation
Choosing the big-M constant for TSP subtour breaking
Subtour Breaking Constraint Formula
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide displays the formula: ui+1≤uj+n(1−xi,j)∀i, j=2, …, n, i=j.
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=1), the position of city j in the tour must be strictly greater than the position of city i(ui+1≤uj). If the edge is not selected (xi,j=0), the term n(1−xi,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=j
Conditions
Applies to all pairs of cities i and j from 2 to n, where i=j.
Assumes the tour starts and ends at city 1.
Prerequisites
ui
xi,j
n
Big-M Method in TSP Formulation
Clear evidence
Shown in the video
Evidence
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)).'
Diagram
Observation
Annotations explicitly refer to the 'big-M part' appearing or disappearing based on the value of xi,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) acts as the Big-M component. When xi,j=1, this term is 0, enforcing the strict ordering ui+1≤uj. When xi,j=0, the term becomes n, which is large enough to ensure the inequality holds regardless of the values of ui and uj, effectively disabling the constraint for that specific edge.
Conditions
M must be chosen large enough so that the constraint is always satisfied when the binary variable is 0.
In this specific formulation, M is estimated as n, the total number of cities.
The lecturer calls it "the subtour avoiding or subtour breaking constraint".
Formula
Explanation
This constraint uses auxiliary ordering variables ui to enforce a consistent ordering along selected arcs. If an arc (i,j) is chosen, then xi,j=1 and the inequality reduces to ui+1≤uj, forcing the successor node to have a strictly larger u-value. If the arc is not chosen, then xi,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=j
Conditions
Applies for all ordered pairs i,j with i,j∈\{2,…,n\} and i=j.
xi,j is binary.
ui is nonnegative for i=2,…,n.
Prerequisites
ui
xi,j
n
Objective function of Formulation-2
Clear evidence
Shown in the video
Evidence
Formula
Observation
The slide "TSP: Formulation-2" shows minimize : ∑i=1n∑j=1ndi,jxi,j.
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
mini=1∑nj=1∑ndi,jxi,j
Conditions
Summation runs over all node pairs i,j=1,…,n.
Prerequisites
xi,j
di,j
Incoming-degree constraint
Clear evidence
Shown in the video
Evidence
Formula
Observation
The formulation slide lists ∑i=1,i=jnxi,j=1∀j=1,…,n.
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=j∑nxi,j=1∀j=1,…,n
Conditions
Holds for every node j=1,…,n.
Self-loops are excluded by i=j.
Prerequisites
xi,j
Claims and conditions · 9
Fixed starting city assumption
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide parenthetical: "assuming tour starts from city 1".
Audio
Observation
Speaker calls this a very crucial assumption and says it will affect the subtour breaking constraint.
Uncertainties
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 ui and for the resulting constraint to work.
Hypotheses
The TSP tour is represented with directed arc variables xi,j.
Order variables ui are defined for i>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
Formula
Observation
Slide bullet: If xi,j=1, then ui+1≤uj.
Audio
Observation
Speaker says that when going from city i to city j, uj should be greater than or equal to ui 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
xi,j is the binary variable for traveling from i to j.
ui and uj count cities visited before reaching i and j.
Quantifiers
For a considered pair of cities i and j with xi,j=1.
Unused arc imposes no direct ordering relation
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide bullet: If xi,j=0, then we cannot say any direct relation between ui and uj.
Audio
Observation
Speaker says if we do not go directly from city i to city j, we are not sure about the relationship between ui and uj.
Proposition
Statement
If xi,j=0, the formulation does not assert any direct relationship between ui and uj.
Hypotheses
xi,j is binary.
The only asserted direct relation comes from the case xi,j=1.
Quantifiers
For a considered pair of cities i and j with xi,j=0.
Final constraint automatically breaks subtours
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide states: Thus, the following condition will automatically break the subtours: ui+1≤uj+n(1−xi,j) for all i,j=2,…,n, i=j.
Audio
Observation
Speaker calls it the subtour avoiding constraint built based on the if-then statements.
Uncertainties
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) for all distinct i,j=2,…,n is presented as automatically breaking subtours in the TSP integer program.
Hypotheses
The tour starts from city 1.
ui are non-negative order variables for i>1.
xi,j are binary arc variables.
M is chosen as n.
Quantifiers
∀i,j=2,…,n with i=j.
Any subtour not containing node 1 creates inconsistency in the u-values
Clear evidence
Shown in the video
Evidence
Audio
Observation
The lecturer says there is inconsistency because u2 would equal both 0 and 3, and concludes that the subtour is infeasible under these constraints.
Formula
Observation
The slide shows the chain u4+1≤u2, u2+1≤u5, u5+1≤u4 together with assigned values u4=2, u5=1, u2=0 and also u2=3.
Caption evidence
Observation
Text on slide: "Thus, any subtour that does not contain Node-1 will Have inconsistency in the value of variable ui."
Proposition
Statement
If a closed subtour among nodes 2,…,n is selected, then the subtour-breaking constraints force contradictory values for at least one auxiliary variable ui, so that subtour is infeasible.
Hypotheses
The selected arcs form a subtour not containing node 1.
All arcs in the subtour have xi,j=1.
The subtour-breaking constraint ui+1≤uj+n(1−xi,j) is imposed for all i,j=2,…,n,\ i=j.
Quantifiers
For any subtour on nodes within \{2,…,n\} that does not include node 1.
Formulation-2 can be solved with conventional integer-programming solvers
Clear evidence
Shown in the video
Evidence
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."
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
The model includes the subtour-breaking constraints and the auxiliary variables ui.
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
Audio
Observation
The lecturer says, "we are losing the assignment problem structure, so we cannot use Hungarian method to solve the LP relaxation."
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
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
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.
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
The method under discussion is branch and bound for TSP
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
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.
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
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
Formula
Observation
Slides progress from asking for a relationship among xi,j, ui, uj to the conditional inequalities, then to the big-M form, then to M=n, and finally to the quantified subtour-breaking constraint.
Audio
Observation
Speaker explains the review of variables, the if-then logic, the big-M modeling, the choice of M, and the final constraint.
Diagram
Observation
A hand-drawn connection between nodes i and j illustrates the case of traveling from city i to city j.
Uncertainties
The derivation establishes the intended constraint but stops before a complete formal proof that every subtour is eliminated.
Proof
Steps
Expression
xi,j∈{0,1},ui≥0(i>1)
Explanation
Review the variables used in the formulation: xi,j indicates whether the arc from i to j is used, and ui 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
Expression
xi,j=1⟹ui+1≤uj
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 ui and uj as visit counts before reaching the respective cities.
Shown in the video
Expression
xi,j=0⟹no direct relation between ui and uj
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
Expression
ui+1≤uj+M(1−xi,j)
Explanation
Convert the conditional statement into a linear inequality using a big-M term. When xi,j=1, the term M(1−xi,j) is zero and the ordering constraint is active; when xi,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
Expression
M=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
Expression
ui+1≤uj+n(1−xi,j)∀i,j=2,…,n,i=j
Explanation
Substitute M=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
Diagram
Observation
Graph shows a full tour 1->3->2->5->4->1. Constraints listed are u5+1<=u4, u4+1<=u2, u2+1<=u3, and u2,u3,u4,u5<=4.
Audio
Observation
Speaker walks through the logic: starting from node 3 reaching node 1, u3 can take max value 4. Then u2<=3, u4<=2, u5<=1, leading to u5<u4<u2<u3.
Intuitive argument
Steps
Expression
u3≤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=5 cities, the maximum position index for any other city is 4.
Justification
Definition of ui as the number of cities visited before reaching city i, and the structure of the full tour.
Shown in the video
Expression
u2+1≤u3⟹u2≤3
Explanation
The edge from 2 to 3 is in the tour (x2,3=1), so the subtour constraint applies without the Big-M relaxation. Since u3 <= 4, u2 must be at most 3.
Justification
Applying the subtour breaking constraint formula with x2,3=1 and substituting the bound for u3.
Shown in the video
Expression
u4+1≤u2⟹u4≤2
Explanation
The edge from 4 to 2 is in the tour (x4,2=1). Applying the constraint and using the bound for u2 gives u4 <= 2.
Justification
Applying the subtour breaking constraint formula with x4,2=1 and substituting the bound for u2.
Shown in the video
Expression
u5+1≤u4⟹u5≤1
Explanation
The edge from 5 to 4 is in the tour (x5,4=1). Applying the constraint and using the bound for u4 gives u5 <= 1.
Justification
Applying the subtour breaking constraint formula with x5,4=1 and substituting the bound for u4.
Shown in the video
Expression
u5<u4<u2<u3
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+1 <= uj.
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=3, u3=4, u4=2, u5=1) or (u2=2, u3=3, u4=1, u5=0).
Derivation of Infeasibility for a Subtour Configuration
Clear evidence
Shown in the video
Evidence
Diagram
Observation
Graph shows two disjoint subtours: 1->3->1 and 2->5->4->2. Constraints listed are u4+1<=u2, u2+1<=u5, u5+1<=u4.
Audio
Observation
Speaker begins to analyze the subtour configuration, noting the node reaching city 1 is node 3.
Uncertainties
The video cuts off before the speaker completes the derivation showing the contradiction for the 2-5-4 subtour.
Intuitive argument
Steps
Expression
u4+1≤u2
Explanation
Edge 4->2 is present in the subtour, so x4,2=1 and the Big-M term vanishes.
Justification
Application of the subtour breaking constraint for an active edge.
Shown in the video
Expression
u2+1≤u5
Explanation
Edge 2->5 is present in the subtour, so x2,5=1 and the Big-M term vanishes.
Justification
Application of the subtour breaking constraint for an active edge.
Shown in the video
Expression
u5+1≤u4
Explanation
Edge 5->4 is present in the subtour, so x5,4=1 and the Big-M term vanishes.
Justification
Application of the subtour breaking constraint for an active edge.
Shown in the video
Expression
u4+1<u4
Explanation
Chaining the three inequalities yields u4+1 <= u2 <= u5−1 <= u4−1+1=u4, which simplifies to u4+1 <= u4, 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
Audio
Observation
The lecturer assigns u3=3, then chooses node 4 and assigns u4=2, then derives u5=1 and u2=0 from the displayed inequalities, and finally notes that another edge gives u2=3, producing contradiction.
Formula
Observation
Visible inequalities: u4+1≤u2, u2+1≤u5, u5+1≤u4, with bound u2,u3,u4,u5≤4.
Diagram
Observation
The graph shows a 2-cycle on nodes 1 and 3 and a 3-cycle on nodes 2, 4, and 5.
Uncertainties
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
Expression
u3=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
Expression
u4=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
Expression
u5=1
Explanation
Using the inequality u5+1≤u4 together with u4=2 forces u5 to be 1.
Justification
Derived from the displayed constraint u5+1≤u4 and the assigned value u4=2.
Shown in the video
Expression
u2=0
Explanation
Using the inequality u2+1≤u5 together with u5=1 forces u2 to be 0.
Justification
Derived from the displayed constraint u2+1≤u5 and the assigned value u5=1.
Shown in the video
Expression
u2=3
Explanation
Using the inequality u4+1≤u2 together with u4=2 forces u2 to be at least 3, and in the lecturer's spoken chain this is treated as giving u2=3.
Justification
Derived from the displayed constraint u4+1≤u2 and the assigned value u4=2.
Shown in the video
Expression
u2=0andu2=3
Explanation
The same variable u2 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
Formula
Observation
The general constraint is shown as ui+1≤uj+n(1−xi,j).
Formula
Observation
The binary declaration xi,j∈\{0,1\} is shown on the formulation slide.
Intuitive argument
Steps
Expression
xi,j=1⇒ui+1≤uj+n(1−1)=uj
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∈\{0,1\}.
Derived from the video
Expression
xi,j=0⇒ui+1≤uj+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∈\{0,1\}.
Derived from the video
Expression
cycle of active arcs⇒ua1+1≤ua2,…,uak+1≤ua1
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
Expression
ua1>ua1
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
Diagram
Observation
Slide shows a 5-node graph with a Hamiltonian cycle 1-3-2-5-4-1 and lists the corresponding active constraints.
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
n=5 cities.
Tour edges: (1,3), (3,2), (2,5), (5,4), (4,1).
Constraints apply for i,j >= 2.
Goal
Find a feasible set of values for u2, u3, u4, u5 satisfying all active constraints and bounds.
Steps
Expression
u5+1≤u4,u4+1≤u2,u2+1≤u3
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=1, reducing the general constraint to ui+1 <= uj.
Shown in the video
Expression
u2,u3,u4,u5≤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
Expression
u2=3,u3=4,u4=2,u5=1
Explanation
Provide one valid assignment of integer values.
Justification
Substituting these values satisfies 1+1<=2, 2+1<=3, 3+1<=4, and all are <=4.
Shown in the video
Expression
u2=2,u3=3,u4=1,u5=0
Explanation
Provide another valid assignment of integer values.
Justification
Substituting these values satisfies 0+1<=1, 1+1<=2, 2+1<=3, and all are <=4.
Shown in the video
Answer
Feasible solutions exist, such as (u2=3, u3=4, u4=2, u5=1) or (u2=2, u3=3, u4=1, u5=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
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.
Audio
Observation
Speaker says 'Now let us take another example where we do not have a complete tour...' and begins analyzing the subtour.
Uncertainties
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
n=5 cities.
Subtour edges: (1,3), (3,1) and (2,5), (5,4), (4,2).
Constraints apply for i,j >= 2.
Goal
Determine if a feasible set of values for u2, u3, u4, u5 exists for this configuration.
Steps
Expression
u4+1≤u2,u2+1≤u5,u5+1≤u4
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=1, reducing the general constraint to ui+1 <= uj.
Shown in the video
Expression
u4+1<u4
Explanation
Chain the inequalities to derive a contradiction.
Justification
Adding the three inequalities yields u4+u2+u5+3 <= u2+u5+u4, which simplifies to 3 <= 0, or equivalently, following the strict ordering u4<u2<u5<u4.
Derived from the video
Answer
No feasible solution exists because the constraints force a strict cyclic ordering (u4<u2<u5<u4), 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
Diagram
Observation
The slide shows nodes 1 and 3 forming one cycle and nodes 2, 4, and 5 forming another cycle.
Formula
Observation
The displayed inequalities are u4+1≤u2, u2+1≤u5, u5+1≤u4, with u2,u3,u4,u5≤4.
Audio
Observation
The lecturer narrates the assignment process and identifies the contradiction as arising from the subtour.
Uncertainties
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
Selected arcs include the cycle among nodes 2, 4, and 5.
The relevant constraints shown are u4+1≤u2, u2+1≤u5, u5+1≤u4.
The bound shown is u2,u3,u4,u5≤4.
The lecturer assigns u3=3 and then u4=2.
Goal
Determine whether the subtour can satisfy all displayed constraints.
Steps
Expression
u4=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
Expression
u5=1
Explanation
From u5+1≤u4 and u4=2, infer u5=1.
Justification
Substitution into the displayed inequality.
Shown in the video
Expression
u2=0
Explanation
From u2+1≤u5 and u5=1, infer u2=0.
Justification
Substitution into the displayed inequality.
Shown in the video
Expression
u2=3
Explanation
From u4+1≤u2 and u4=2, the lecturer obtains the conflicting requirement u2=3.
Justification
Substitution into the displayed inequality as narrated in the video.
Shown in the video
Expression
Contradiction
Explanation
The same variable u2 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=0 and u2=3 demonstrates infeasibility; the slide also states that any subtour not containing node 1 will create inconsistency in the value of some ui.
End-of-clip exercise prompt
Clear evidence
Shown in the video
Evidence
Caption evidence
Observation
Slide title: "TSP: Formulation-2 Testing".
Caption evidence
Observation
Question text: "Q. Use the data from Example-1 and Example-2, and solve Formulation-2 of TSP using Cplex solver."
Audio
Observation
The lecturer says, "In this video, we are not going to solve the TSP problem."
Uncertainties
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
The formulation to be used is Formulation-2.
The solver named on the slide is Cplex.
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
Expression
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
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."
Audio
Observation
The speaker says they are going to see how to solve the TSP problem using the Cplex solver.
Uncertainties
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
Data from Example-1
Data from Example-2
Formulation-2 of TSP
Cplex solver
Goal
Demonstrate that the TSP formulation can be solved computationally with Cplex instead of by manual branch and bound.
Steps
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
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
Diagram
Observation
Title slide reads "Traveling Salesperson Problem" with date March 31, 2020.
Diagram
Observation
Outline slide lists About TSP, Exact Methods with Formulation-1 and Formulation-2, Heuristic Methods, and Conclusion.
Objects
Title slide
Chapter Outline slide
Formulation-2 bullet
Changes
The presentation moves from the title slide to the chapter outline.
The outline identifies Formulation-2 under Exact Methods.
Invariants
The topic remains the Traveling Salesperson Problem.
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 ui
Clear evidence
Shown in the video
Evidence
Diagram
Observation
Slide title is "TSP: Subtour Breaking Constraint".
Formula
Observation
Red-highlighted text defines ui as the number of cities visited before reaching city i, i>1, assuming tour starts from city 1.
Objects
ui definition text
red emphasis
slide title
Changes
The slide introduces the auxiliary variable ui.
The phrase about the number of cities visited before reaching city i is visually emphasized.
Invariants
The goal remains building an IP model that automatically breaks subtours.
City 1 is fixed as the assumed starting city.
Interpretation
The visual emphasis marks ui 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
Diagram
Observation
Two hand-drawn red circles labeled i and j appear, connected by a blue line.
Formula
Observation
Bullets state If xi,j=1, then ui+1≤uj, and If xi,j=0, then no direct relation can be said between ui and uj.
Uncertainties
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
Node i
Node j
Blue connecting line
conditional bullets
Changes
The diagram appears while the speaker discusses moving from city i to city j.
The slide adds the two cases xi,j=1 and xi,j=0.
Invariants
The labels i and j represent cities.
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
Formula
Observation
Slide shows ui+1≤uj+M(1−xi,j), then M=n, then the final constraint ui+1≤uj+n(1−xi,j) for all i,j=2,…,n, i=j.
Objects
Generic big-M inequality
M estimate text
final quantified inequality
Changes
The conditional relation is replaced by a single linear inequality with M.
M is estimated as n, with n-1 noted as tighter.
The final constraint is displayed with universal quantification over i,j=2,…,n, i=j.
Invariants
xi,j remains binary.
ui remains the order variable for cities i>1.
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
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.
Animation
Observation
Specific numerical values for u2, u3, u4, u5 are overlaid on the nodes to demonstrate feasible solutions.
Objects
Nodes 1, 2, 3, 4, 5
Directed edges forming a cycle
Constraint text boxes
Variable value overlays
Changes
Nodes and edges are drawn to form a complete tour.
Constraint inequalities are listed based on the active edges.
Feasible integer values for u variables are displayed on the nodes.
Invariants
The underlying graph structure remains a 5-node complete graph representation.
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
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.
Animation
Observation
A new set of constraint text boxes appears, reflecting only the edges within the {2,4,5} subtour.
Objects
Nodes 1, 2, 3, 4, 5
Directed edges forming two disjoint cycles
Constraint text boxes
Changes
Edges are redrawn to represent a fragmented tour with subtours.
The list of active constraints updates to reflect the new edge selections.
Invariants
The node positions remain fixed.
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
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.
Animation
Observation
A green pointer moves among the nodes and edges while the lecturer assigns values and highlights the relevant inequalities.
Uncertainties
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
Five numbered nodes
Directed edges forming a 2-cycle on nodes 1 and 3
Directed edges forming a 3-cycle on nodes 2, 4, and 5
The pointer first indicates node 3 while u3=3 is discussed.
It then moves to node 4 while u4=2 is assigned.
It proceeds to node 5 and node 2 as the chain of inequalities is evaluated.
A conflicting label u2=3 appears alongside the earlier derived u2=0.
Invariants
The underlying graph structure remains the same throughout the verification segment.
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
Animation
Observation
At about 85 seconds the slide changes from "TSP: Subtour Breaking Constraint" to "TSP: Formulation-2".
Caption evidence
Observation
The new slide lists the full minimization model and later reveals advantages and disadvantages text at the bottom.
Objects
Title bar "TSP: Formulation-2"
Objective function
Two degree constraints
Subtour-breaking constraint
Binary declaration
Nonnegativity declaration
Advantages text
Disadvantages text
Changes
The view switches from a graph-based verification example to a complete algebraic formulation.
Bottom text first shows advantages, then later shows disadvantages.
Invariants
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
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.
Animation
Observation
A green pointer dot moves around the slide text while the slide remains otherwise static.
Objects
Slide title bar
Question text
Green pointer dot
Changes
The pointer dot shifts position across the text area.
Invariants
The slide content remains unchanged during this interval.
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
Caption evidence
Observation
The slide changes to "TSP: Improving the B & B Approach" with two starred bullets for lower bounds and upper bounds.
Animation
Observation
The green pointer dot moves near the bullet lines while the rest of the slide stays fixed.
Objects
Slide title bar
Lower bounds bullet
Upper bounds bullet
Green pointer dot
Changes
The pointer dot moves between the two bullet items as the speaker discusses them.
Invariants
Only two improvement categories are listed.
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
Formula
Observation
Slide explicitly says "assuming tour starts from city 1".
Audio
Observation
Speaker calls this a very crucial assumption and says it affects the subtour breaking constraint.
Misconception
One might think the definition of ui 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
Formula
Observation
Slide states: If xi,j=0, then we cannot say any direct relation between ui and uj.
Audio
Observation
Speaker says that without going directly from i to j, we are not sure about the relationship between ui and uj.
Misconception
One might infer that every pair of cities must satisfy ui+1≤uj regardless of whether the arc is used.
Clarification
The direct ordering relation is asserted only when xi,j=1. When xi,j=0, the formulation intentionally avoids imposing a direct relation between ui and uj.
Thinking any sufficiently large M is equally good
Approximate timing
Derived from the video
Evidence
Formula
Observation
The slide distinguishes a good estimate M=n from the best estimate M=n−1.
Audio
Observation
The speaker emphasizes choosing M based on the number of cities rather than leaving it arbitrary.
Uncertainties
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
Formula
Observation
Slide text specifies the constraint applies for '∀i, j=2, …, n'.
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
Formula
Observation
The constraint contains the term n(1−xi,j), which disappears only when xi,j=1.
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) imposes ui+1≤uj for every pair i,j regardless of whether the arc is used.
Clarification
The inequality is only restrictive when xi,j=1. When xi,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
Caption evidence
Observation
Disadvantages text: "The assignment problem structure is damaged."
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
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
Audio
Observation
The speaker says there are two areas, lower bound and upper bound, and that better bounds reduce the enumeration tree size drastically.
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 ui for city order
Clear evidence
Shown in the video
Evidence
Audio
Observation
Speaker introduces the formulation as a way to break subtours automatically, then defines ui for that purpose.
Formula
Observation
Slide goal is followed by the definition of ui.
Application
Explanation
The auxiliary variable ui is introduced specifically to make the automatic subtour-breaking formulation possible.
Auxiliary variable ui for city order → Conditional ordering relation induced by an arc
Clear evidence
Shown in the video
Evidence
Formula
Observation
The definition of ui precedes the conditional statement ui+1≤uj when xi,j=1.
Proof dependency
Explanation
The conditional ordering relation is meaningful only after ui and uj have been interpreted as visit-count/order variables.
Binary arc variable xi,j → Conditional ordering relation induced by an arc
Clear evidence
Shown in the video
Evidence
Formula
Observation
The slide asks for a relationship among xi,j, ui, and uj, then states the implication involving xi,j=1.
Proof dependency
Explanation
The if-then relation uses xi,j as the trigger that decides whether the ordering constraint between ui and uj should be enforced.
Conditional ordering relation induced by an arc → Big-M linearization of the conditional relation
Clear evidence
Shown in the video
Evidence
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
Formula
Observation
The generic M inequality is followed by the question of estimating M and the answer M=n, with n-1 noted as best.
Application
Explanation
Choosing M=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
Formula
Observation
After stating M=n, the slide displays the final constraint with n(1−xi,j).
Proof dependency
Explanation
The final subtour-breaking constraint is obtained by substituting the chosen value M=n into the big-M inequality.
MTZ-style subtour breaking constraint → Goal of the second TSP formulation
Clear evidence
Shown in the video
Evidence
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
Formula
Observation
The term n(1−xi,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
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
Formula
Observation
The same inequality ui+1≤uj+n(1−xi,j) appears on the verification slide and again in the full formulation slide.
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
Caption evidence
Observation
The disadvantages text states that the assignment problem structure is damaged.
Formula
Observation
The model retains the two degree constraints but adds subtour-breaking constraints and ui 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
Caption evidence
Observation
Advantages text says the formulation can be automated and solved using the conventional B&B approach.
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 ui mean in the TSP subtour breaking formulation?
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide defines ui as the number of cities visited before reaching city i.
Knowledge points
Auxiliary variable ui for city order
Why does this TSP formulation assume the tour starts from city 1?
Clear evidence
Shown in the video
Evidence
Audio
Observation
Speaker calls the assumption that the tour starts from city 1 crucial.
Knowledge points
Auxiliary variable ui for city order
Fixed starting city assumption
What is the relationship between xi,j, ui, and uj when the arc from i to j is used?
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide asks for a relationship between xi,j, ui, and uj and then gives the conditional implication.
Knowledge points
Binary arc variable xi,j
Auxiliary variable ui for city order
Conditional ordering relation induced by an arc
How is the if-then condition xi,j=1 implies ui+1≤uj converted into a linear constraint?
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide models the scenario as ui+1≤uj+M(1−xi,j).
Knowledge points
Conditional ordering relation induced by an arc
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
Formula
Observation
Slide states M can be n and that the best estimate is n-1.
Knowledge points
Choosing the big-M constant for TSP subtour breaking
M
n
What is the final subtour breaking constraint shown for the second TSP formulation?
Clear evidence
Shown in the video
Evidence
Formula
Observation
Final displayed constraint is ui+1≤uj+n(1−xi,j) for all i,j=2,…,n, i=j.
Knowledge points
MTZ-style subtour breaking constraint
Derivation of the subtour breaking constraint
Does the formulation impose an ordering between ui and uj when xi,j=0?
Clear evidence
Shown in the video
Evidence
Formula
Observation
Slide says if xi,j=0, no direct relation can be said between ui and uj.
Knowledge points
Conditional ordering relation induced by an arc
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
Audio
Observation
Speaker explains the rationale for restricting indices to 2 through n.
Knowledge points
Subtour Breaking Constraint Formula
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
Formula
Observation
Slide shows the n(1−xi,j) term and discusses estimating M.
Knowledge points
Big-M Method in TSP Formulation
Subtour Breaking Constraint Formula
How do the u-variable constraints mathematically prove that a subtour is impossible?
Clear evidence
Shown in the video
Evidence
Diagram
Observation
Graph shows a disjoint cycle and the resulting chained inequalities.
Knowledge points
Derivation of Infeasibility for a Subtour Configuration
Verification with a Subtour Configuration
What is the subtour-breaking constraint in TSP Formulation-2?
Clear evidence
Shown in the video
Evidence
Formula
Observation
The slide explicitly displays ui+1≤uj+n(1−xi,j) under the title "TSP: Subtour Breaking Constraint".
Knowledge points
Subtour-breaking constraint
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
Audio
Observation
The lecturer derives u2=0 and u2=3 and calls this an inconsistency due to the subtour.
Diagram
Observation
The graph shows a separate cycle on nodes 2, 4, and 5.
Knowledge points
Any subtour not containing node 1 creates inconsistency in the u-values
Numerical verification that a subtour violates the ordering constraints
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 ui and the crucial assumption that the tour starts from city 1.
Covered · Speaker reviews the binary arc variable xi,j and sets up the search for a relationship among xi,j, ui, and uj.
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.