Source release: Oxford examination archive. The cover dates this examination to 9 June 2011, 9.30–11.00am. All 12 answer parts are solved below. The two numbered conditions inside 3(c) are hypotheses of its single optimality proof.
Use vertices . Reading each symmetric off-diagonal pair once gives the edge set
Here abbreviates the undirected edge . The diagram displays these seven edges and no loops. The displayed square matrix is an adjacency matrix in the usual terminology: its two indices both label vertices. A vertex-edge incidence matrix would instead have one index for vertices and one for edges. This explains how the source's node-node terminology is being read.
Figure 1.
The graph and its maximum-weight forest, including the isolated fourth vertex
. Original drawing. The left panel shows all seven edges. The right panel shows only the three edges selected for the maximum-weight forest, with their weights; vertex four remains isolated. Details.
Use the maximum-weight version of Kruskal's algorithm: sort the edges by decreasing weight, start with no edges, and add an edge exactly when it joins different current connected components of a graph. For the maximum over all forests, skip negative-weight edges; removing a negative edge always preserves a forest and increases its weight. Zero-weight edges are optional. The matroid greedy algorithm for the graphic matroid proves this procedure optimal; it maximizes over independent sets rather than requiring a full basis.
The positive edges are considered in the order
Admit and . Reject , since it closes the triangle on . Admit . Reject , since and are already joined by the path . Skip both negative edges incident with vertex four. Therefore
Vertex four is isolated. Requiring a spanning tree would force a negative edge and solve a different optimization problem. With a disjoint-set data structure, sorting dominates the running time, giving .
On a finite ground set , a submodular rank function is a set function with the following properties:
These are normalization, monotonicity, submodularity, and unit integer increments. In particular its values are nonnegative integers with . Equivalently, one can require an integer-valued normalized monotone submodular function with : diminishing returns then bounds every marginal increment by one. A general real-valued submodular function need not be a matroid rank.
The associated matroid is
Thus the graph's edges are the ground set, and the members of are its matroid independent sets.
For the specified rank, if is a forest, itself is an allowed choice in the rank maximum, so . Conversely, if , some forest has . Finiteness forces , so is a forest. Hence the independent sets are exactly all forests in , including the empty forest and forests with isolated vertices.
The matroid independence axioms can also be checked directly. The empty set is a forest, and deleting edges cannot create a cycle. For exchange, let forests have . If every edge of joined vertices within one component of , its restriction to each component would have at most edges. Summing would give , a contradiction. Thus some edge of joins two components of and can be added without creating a cycle. This proves augmentation and identifies as the graphic matroid.
For , write , and let count the connected components of , including isolated vertices. A maximal forest in each component has one fewer edge than vertices, so . The required forest polytope is
We prove both inclusions, using the matroid independence polytope argument explicitly.
If is a forest, is an independent subset of , so . Its indicator is nonnegative. All convex combinations of these indicators therefore lie in .
For the converse, take any real objective vector . List just its positive-weight edges as with , put , and set . Run the forest greedy algorithm on these edges and call the output . At every prefix, the accepted edges form a maximal forest of , so
Indeed a previously rejected edge still has its endpoints joined later; therefore no rejected prefix edge can augment the chosen forest. A maximal forest spans every prefix component and has the stated size.
For every , dropping nonpositive objective terms and telescoping now gives
The last equality uses the same telescoping identity for the greedy indicator. If there are no positive coefficients, the empty forest attains the bound zero. Thus every linear objective over is maximized by a forest indicator.
The singleton inequalities give , so is compact. The convex hull of the finitely many forest indicators is also compact. If some were outside , the finite-dimensional separating hyperplane theorem would give with , contradicting the bound just proved. Therefore , completing the convex-hull proof.
An equivalent system indexed by vertex sets is
where contains all edges with both ends in . The rank system implies this since . Conversely, split any edge set into its vertex components . Nonnegativity and the vertex inequalities give . Hence this second system describes the same polytope.
Let item have weight and profit . Define as the largest profit obtainable from the first items with capacity at most the nonnegative integer . Set . The last item is either absent or present once, giving the dynamic programming recursion
The two alternatives exhaust the feasible binary decisions. In the second alternative, deleting item leaves exactly the smaller subproblem with capacity , which proves the recurrence.
Fill rows , and within each row capacities . Store which alternative attains each maximum. Backtrack from : when exclusion was chosen, set and move to ; when inclusion was chosen, set and move to . Ties may be resolved either way. Thus the stored values yield an actual optimal selection, not just its objective value.
For items and capacity , the algorithm uses arithmetic operations and space with the full backtracking table. It is a pseudo-polynomial algorithm, since is a numerical capacity rather than its bit length. A value-only version can use one row, but must update capacities in decreasing order to avoid reusing the same item.
Applying the recurrence in source item order gives the complete table
At inclusion wins, since . Thus and the residual capacity is two. Items three and two are too heavy for it, and item one exactly fits. Consequently
Its weight is . The recurrence proves that no binary selection with capacity seven has greater profit.
For each branch and bound node, relax the unfixed binary variables to . The fractional knapsack problem is solved by decreasing profit-to-weight ratios, here
Its value is an upper bound for the node's integer optimum. At the root, greedy filling gives and upper bound , so branch on .
In the child , the relaxed optimum is with value . Branch on . Taking leaves capacity two, giving the integral solution of value , our incumbent. Taking gives the integral relaxed optimum of value , so that node is closed.
In the child , item four cannot be selected in any integer feasible solution, since their combined weight is nine. Fixing is therefore valid binary feasibility propagation. Its LP optimum is with value . Branch on . The child leaves no residual capacity and has integral solution of value . The child has integral solution of value . Both are below the incumbent.
The complete short search is
All integer feasible solutions lie in these branches, and every terminal node is integral with value at most forty. Therefore the LP bounds and incumbent certify independently of the dynamic program.
The assignment constraint matrix has one row for each outgoing sum and one for each incoming sum. The column for has a one in outgoing row and incoming row . Negate all incoming rows. Each column now has exactly one and one , the node-arc incidence matrix of the directed bipartite graph from row vertices to column vertices.
Here is a direct proof that this signed matrix is totally unimodular. Consider any square submatrix and induct on its size. If a column has no nonzero entry, its determinant is zero. If a column has one nonzero entry, expansion along it reduces the determinant to plus or minus a smaller subdeterminant, hence to or . If every column has two nonzero entries, they have opposite signs, so each column sum is zero. The rows are then dependent and the determinant is zero. The size-one case is immediate, completing the induction.
Negating rows only changes signs of square subdeterminants. Thus the original assignment matrix is also a totally unimodular matrix. This proves the total unimodularity of directed incidence matrices argument directly in the required setting.
The integrality theorem for totally unimodular systems says that has integral vertices when is totally unimodular and is integral. Redundant equalities cause no problem. Here the row sums also force , so every integral feasible vertex is a binary assignment. The bounded nonempty LP relaxation has an optimal vertex, and therefore an optimal assignment. Hence the assignment problem can be solved by linear programming without a binary search; dedicated methods such as the Hungarian algorithm also exploit its polynomial-time structure. Multiple optimal assignments can have fractional convex combinations, so the conclusion concerns an optimal integral vertex, not every optimal LP point.
For any feasible assignment, the unit row and column sums give
Thus the transformed objective differs by the fixed constant
Every feasible assignment shifts by that same amount, so all objective comparisons and all optimal assignments remain unchanged. The calculation also holds for fractional feasible points of the assignment LP relaxation. The numbers are assignment dual potentials.
Since every reduced weight is nonpositive and every feasible variable is nonnegative, any feasible assignment satisfies
For , each selected entry has zero reduced weight, and each unselected entry has zero variable. Thus every product vanishes and equality holds:
The two hypotheses therefore form one optimality certificate: the first provides a universal upper bound, and the second makes the proposed assignment attain it. This is weak duality plus complementary slackness for the maximization assignment problem. For a minimization assignment, the sign reverses: gives a lower bound, with equality on the selected arcs certifying optimality.
Use the minimization form in this part. Treat every diagonal arc as forbidden, not as a zero-cost loop. The assignment relaxation of the travelling salesman problem requires one incoming and one outgoing arc at each city but permits several disjoint directed cycles. Its optimum is a lower bound on the tour optimum.
At the root choose
For every allowed arc, . Their total is seven. The assignment
uses only tight arcs and has cost . The minimization certificate from part (c) therefore proves
It is not a tour, because it has a three-cycle and a two-cycle.
Branch on the two-cycle. Every five-city tour omits at least one of and , so the children and cover every possible tour. They may overlap, which does not invalidate the bounds.
For the child , use
These satisfy on every allowed arc of that child and sum to ten. The tour
has cost and uses tight arcs, certifying that the child assignment bound is exactly ten.
For the child , interchange the roles of cities three and four in those potentials. Its lower bound is again ten, attained by
with cost . Thus both first-level assignment optima are already tours.
There is a useful direct interpretation of the improved bound. Split the cities into and . A forbidden arc of the two-cycle forces an assignment arc from to , and balance forces at least one from to . Relative to the root potentials, each crossing arc has reduced cost , so any child assignment costs at least .
The first branching therefore completes the search: each child's lower bound equals a feasible tour value. Hence
Figure 1.
The root cycle cover and the two tours that certify the first branching bounds
. Original directed-cycle diagrams. The root assignment consists of the 1-2-5 cycle and the 3-4 cycle and has cost seven. Forbidding either orientation of the latter cycle gives a child assignment bound of ten, attained by a five-city tour. Details.
The two pieces of a one-tree can be optimized independently. Compute a minimum spanning tree on vertices and choose the two cheapest distinct edges incident to vertex one. Return their union.
Every feasible one-tree contains such a spanning tree and such a pair, so its cost is at least the sum of these two independent minima. Their union is itself feasible, attaining that lower bound. This proves optimality.
Use Prim's algorithm for : repeatedly add a cheapest edge crossing from the current tree to an unvisited vertex. The minimum spanning tree cut property makes each chosen edge safe. With the dense weight matrix of a complete graph, maintain the best connection to each unvisited vertex and select the least one by a scan. There are iterations with work apiece. A further scan finds the two cheapest incident edges. Thus the total complexity is , with additional working storage beyond the input matrix.
Delete vertex one and its two incident edges from a Hamiltonian cycle. The remaining edges form a Hamiltonian path through all other vertices, hence a spanning tree. Thus every tour is a one-tree, and both problems use the same edge-cost objective. The relaxation enlarges the feasible set, giving
Conversely, a one-tree in which every vertex has degree two is connected and two-regular, so it is a Hamiltonian cycle. Such a minimum one-tree therefore also solves the travelling-salesman problem. This is the one-tree travelling-salesman bound.
Write for the undirected edge . At the root of the branch and bound search, the minimum spanning tree on is of cost . The cheapest edges incident to vertex one are , of cost . The root lower bound is therefore twenty, attained by
It is not a tour: vertex four has degree three and vertex three degree one.
A tour must omit at least one edge from , since its degree at vertex four is two. Partition tours according to the first omitted edge in that ordered list. This gives three disjoint, exhaustive children, retaining included and excluded edges when recomputing the one-tree relaxation:
All tours belong to one of the three children, and no remaining child can improve the incumbent. Therefore
The branching rule is motivated by a violated tour degree equation, rather than by an arbitrary costly edge. This is degree branching with a one-tree bound.
A totally unimodular matrix has the property that every square submatrix has determinant zero, one or minus one. This includes the one-by-one submatrices, so every entry belongs to .
Its importance is integrality of linear-programming vertices: if is totally unimodular and is integral, every vertex of is integral. Adding rows of the identity preserves total unimodularity. A nonsingular active basis therefore has determinant and an integer inverse by the cofactor formula, making its basic solution integral. Thus a finite optimum attained at a vertex of the linear programming relaxation gives an integer optimum without branching.
One sufficient condition is: entries belong to , each column has at most two nonzero entries, and any column with two has one and one . This is the signed column condition for total unimodularity, satisfied by directed vertex-edge incidence matrices. It is sufficient, not necessary.
The constraints give the valid upper bound
For example satisfies every constraint: the first left side is four, the next three are three, five and two, and . Its objective is eight. Hence the upper bound is attained by an integer point, proving
All optimal solutions can also be identified. Equality forces , and . The remaining constraints reduce to and . Thus exactly four integer optima occur:
This is an optimality certificate by a valid relaxation bound and a feasible integer solution; no assumption of total unimodularity is needed. The source's denotes nonnegative integers, as is also necessary for its assignment equations in the next question.
The retained integer assignment constraints have only two feasible matrices,
Their totals are and respectively. For nonnegative Lagrange multipliers , add to the maximization objective. Each feasible point gains a nonnegative amount, so maximizing over the retained assignment set gives an upper bound:
The Lagrangian dual problem minimizes this convex piecewise-linear function over . Put ; every real can occur. The two affine terms average to nine, so their maximum is at least nine, with equality exactly when . Thus
Neither integer assignment satisfies both side constraints: violates the bound and the bound. The finite dual bound is therefore not evidence that the integer primal is feasible. The following part shows why this Lagrangian relaxation of an assignment with side constraints has a finite value anyway.
The assignment equalities parameterize every feasible matrix of the linear programming relaxation as
The side totals and objective become
The first side constraint gives and the second gives , so the relaxation has the unique feasible point
Direct elimination of the assignment equalities has solved this one-dimensional linear program. Its value matches the Lagrangian dual problem value because the retained assignment polytope is the convex hull of the two integer assignments; it does not make the side-constrained integer problem feasible.
With the new right sides, the dual function is
Take . Then , so the minimization dual is unbounded below:
By weak duality, any feasible integer point with finite objective would have to have objective at most every dual value, which is impossible. Thus the modified integer program is infeasible and has no optimal solution. This is an infeasibility certificate from an unbounded Lagrangian dual.
There is also a direct certificate: the assignment equalities force , while the new bounds force it to be at most . Even the modified linear relaxation is infeasible. The earlier problem also had no integer solution, but there its fractional feasible point kept the dual value finite.

Articles by others on the same topic (0)

There are currently no matching articles.