Network dual potential 2026-10-06
A vertex potential in the dual of an uncapacitated minimum-cost flow yields the edge inequalities . Its objective is . Adding a common constant leaves all network reduced costs and the objective unchanged when total net supply is zero. Potentials tight on a spanning tree are fixed up to this common constant.
For a connected capacitated minimum-cost flow network, a spanning tree supplies basic flow variables. Every non-tree edge is fixed at its lower or upper bound. Flow balance determines the tree flows; these must also obey capacity constraints. An entering edge creates one cycle, and adjusting flow on that cycle preserves balance until a bound is hit and an edge leaves the tree.
For a directed graph, the uncapacitated minimum-cost flow problem is
Positive is external supply and negative is demand; summing the flow balances requires . There are no finite upper arc capacities. Let be the oriented incidence matrix with tail and head . For free dual potentials , the Lagrangian is
Its infimum over nonnegative flows is exactly when every network reduced cost is nonnegative; otherwise the infimum is minus infinity. Thus the dual maximizes subject to these inequalities. For a primal feasible flow and dual feasible potentials,
This derives weak duality and the complementary slackness condition . A feasible pair satisfying it has equal objectives and certifies optimality.
A spanning tree gives candidate network dual potentials by making all its arcs tight: choose one root potential and propagate along each tree arc, reversing this equation when traversing against the arc. An arbitrary tree does not automatically make the non-tree reduced costs nonnegative; those inequalities must be checked. If a guaranteed feasible construction is needed and there is no negative directed cycle, use dual network potentials from shortest-path distances: add an auxiliary source reaching every vertex, calculate distances , and take . The shortest-path inequality proves dual feasibility, with tightness on the shortest-path tree.
For the printed dashed tree, set all non-tree flows to zero and solve the balances from the leaves. This gives
The remaining arcs have zero flow. The total initial cost is . This is a basic feasible solution, though degenerate because the tree flow on is zero.
Normalize . Tree tightness gives
The non-tree reduced costs are
The negative reduced cost on identifies an improving entering arc for the network simplex algorithm. Adding it to the tree creates a unique undirected cycle. Sending along increases the flows on by and decreases those on by ; all other flows are unchanged. This balanced displacement preserves every node equation. Nonnegativity limits to the minimum of the four decreasing flows, namely . Choose arc to leave among the tied limiting arcs.
After this one pivot the nonzero flows are
and every other arc flow is zero. The objective decreases by , giving cost .
For the new tree, tight potentials normalized at vertex 1 are
All tree reduced costs are zero. For the non-tree arcs they are , respectively, so the potentials are dual feasible. Their dual objective is
matching the primal cost. Complementary slackness therefore proves
This is the stopping test of the network simplex method: maintain a feasible tree flow, compute tight potentials, enter a negative-reduced-cost non-tree arc, make a maximal feasible cycle adjustment and exchange a limiting tree arc, until all reduced costs are nonnegative. Here exactly one improving step suffices.
For the metric travelling salesman problem, a tour is a polynomial-size complexity certificate: list the vertices in cyclic visiting order. In polynomial time verify that every vertex occurs exactly once, add the encoded integer edge costs and compare the sum with the threshold. The certificate has bits, and addition uses a number of bits polynomial in the input length. If validity of the metric input is not treated as a promise, nonnegativity, symmetry and all triangle inequalities can also be checked in polynomial time. Therefore the decision problem belongs to NP.
An evaluation algorithm immediately decides a threshold instance by computing the optimum and comparing it with . Conversely, suppose there is a polynomial-time decision algorithm. The optimum is an integer in , where is the largest edge cost; any fixed cyclic ordering gives the upper bound. Binary search on this interval using threshold queries finds the exact minimum. It makes queries, and every queried threshold has polynomial encoding length. Thus the time is polynomial in the bit length, even when is numerically large. Zero-cost and trivial small instances can be handled directly. Consequently
This concerns the optimum value; constructing an optimal tour is the separate optimization task.
For the hardness reduction, start with an undirected graph on vertices and form the complete graph with costs
These costs satisfy the triangle inequality, since every direct cost is at most two and every two-edge path costs at least two. Set the threshold to . Every tour has exactly edges, each costing at least one. Hence it has cost at most precisely when all its edges came from , which is precisely the existence of a Hamiltonian cycle in . The construction and threshold encoding are polynomial-time. Thus the assumed NP-completeness of the Hamiltonian circuit problem gives NP-hardness of metric TSP; together with its NP membership this proves NP-completeness of metric TSP decision.
For the approximation, compute a minimum spanning tree . Deleting any one edge of an optimal tour leaves a spanning tree, so nonnegative costs imply
Double every tree edge. The resulting connected multigraph has even degrees and hence an Euler circuit, of cost . Traverse it and skip previously visited vertices, except for the final return to the start. Each skip replaces a path by its direct edge; repeated use of the triangle inequality shows that no replacement increases cost. The result is a tour visiting every vertex exactly once and satisfying
The Euler traversal and shortcutting take polynomial time, so the assumed polynomial-time MST routine supplies the requested polynomial-time algorithm. This is the double-tree approximation for metric TSP. In the relative-error convention, when the optimum is positive, explaining the printed term “1-approximation”; in the multiplicative convention it is a factor-two approximation. If the optimum is zero, the same bound forces the returned tour to have zero cost as well.
Couple the uniform random graph process by giving every possible edge an independent uniform label in and revealing them in increasing order. The graph at label threshold is a binomial random graph. Define as the first step with no isolated vertices and as the first connected graph. Deterministically . We prove the reverse inequality with high probability by tracking the same process through a short interval.
Put , , and . At the isolated vertex count has
The variance estimate follows by comparing two isolated-vertex indicators, whose joint-to-product probability ratio is . Thus with high probability. Also the Markov inequality gives with probability tending to one.
At this same threshold, exclude every graph component with order . For , any such component contains a spanning tree. The Cayley formula and a union bound therefore give
In this range the bracket is at most . Summing over gives . For , even the cut-absence bound is enough:
The bracket tends to zero, so this range also has total probability . Consequently the graph at consists of one component of order greater than and its isolated-vertex set , where with high probability.
Conditional on the entire graph at , every unrevealed edge label remains independently uniform on . In particular,
There are no isolated vertices at with high probability, because their expected value is asymptotic to . On the intersection of these events, each vertex of loses isolation by joining the original large component, never by forming a separate small component with another vertex of . At every step between these two thresholds there is therefore one nontrivial component and some isolated vertices. The final isolated vertex disappears precisely when the graph becomes connected. This proves the connectivity hitting time equals disappearance of isolated vertices result:
For the critical-window probability, let with . For each fixed , the falling factorial moment of the isolated-vertex count is
uniformly for such shifts. Apply the Bonferroni inequalities to the zero-count event. Its odd and even truncations bracket by partial sums of . Since , their remainders tend uniformly to zero. Hence . The process equality just proved changes this probability by at most its failure probability. Therefore
The ratio follows because the denominator is bounded below by ; no convergence of is needed.
The printed second conclusion has the complementary denominator and is false as written. For , the printed ratio tends to . Its denominator is correct for the probability of being disconnected. Thus either remove the leading in the denominator or replace “connected” by “disconnected”; the proof supplies both corrected versions.
We first establish the labelled forest count with prescribed roots. For a prescribed root set of size , orient each tree toward its unique root. Repeatedly delete the smallest remaining nonroot leaf, recording its parent. There are deletions, and the final recorded parent belongs to . Conversely, start with any code of length whose last entry lies in . At each step select the smallest remaining nonroot absent from the remaining code, connect it to the code's first entry, and delete that vertex and entry. Such a vertex exists: among remaining nonroots, the remaining code has entries but at least its last entry is a root, so at most nonroots occur in it. Previously deleted vertices never recur in the code, so the selected parent is still present. Every edge goes from a vertex being deleted to one retained, excluding a cycle. The resulting forest has one root in each graph component, and the two constructions are inverse. Its count is therefore
for , interpret this as one, the empty forest.
A connected simple graph with edges has exactly one cycle: a spanning tree uses edges, and the remaining edge creates its unique cycle. If that graph cycle has length , choose its vertex set in ways and its unoriented cyclic order in ways. All other edges form a forest rooted at those vertices, with exactly one cycle vertex per forest component; two roots in one attached component would create an additional cycle. Conversely every such cycle and rooted forest gives a unique unicyclic component. Thus
This is the labelled unicyclic graph count. The term correctly counts a cycle with no attached nonroot vertices.
Let be the free group on a set . Form the rose , a topological graph with one vertex and one oriented loop for each generator. Reading edge labels identifies with : cancellation of an edge followed by its reverse is exactly free reduction. This also applies to an infinite generating set, using the graph's CW topology rather than an accumulation topology.
Apply the subgroup-covering construction to obtain a connected covering graph with . Choose a spanning tree and a base vertex . For every edge , choose one orientation and form the loop consisting of the unique tree path from to the initial vertex of , the edge , and the unique tree path back from its terminal vertex.
These loops generate . Indeed, in any edge loop insert the tree paths to and from the base vertex between consecutive edges. A tree edge contributes a contractible loop; a non-tree edge contributes the chosen loop or its inverse. They are freely independent as well: reducing an edge path cancels backtracking, and, after suppressing the tree portions, a nonempty freely reduced word in the oriented non-tree edges cannot disappear. Equivalently, collapsing the tree gives a rose whose petals are precisely the non-tree edges, and the same edge-path reduction identifies its fundamental group with the free group on those petals.
Thus is free, and its isomorphism with proves the Nielsen–Schreier theorem:
The non-tree edges may be infinite in number; the argument does not require to have finite index or be finitely generated.
Put . The reduced Kauffman bracket is the Laurent polynomial determined by , , and the crossing expansion . Fix the A smoothing so that a positive curl has multiplier ; rotating the local crossing interchanges the smoothing descriptions. Equivalently, its bracket smoothing states give
where and count its A and B smoothings and is the number of state circles. Resolving all crossings proves that the recursive rules define the same polynomial independently of the order of expansion.
Under a positive Reidemeister move of type I, the two resolutions give times the straight strand; the negative curl gives . Thus the bracket itself is not an unframed link invariant. For type II, use the adjacent cap-cup generator of the Temperley-Lieb algebra, with . The crossing and its inverse are and , and
For type III, and the analogous reversed relation give
Hence the bracket is invariant under types II and III.
For an oriented diagram, let be its writhe, the sum of its signed crossings. Types II and III preserve writhe, while a positive or negative curl changes it by one or minus one. The Jones polynomial is therefore
The normalization cancels type I, so all Reidemeister moves preserve it. It is a Laurent polynomial in ; its breadth means the largest occurring t exponent minus the smallest, including half-integral exponents for links.
Write for the all-A and all-B circle counts of a diagram with crossings. A state obtained from the all-A state by smoothing changes has at most circles, because each change either joins two circles or splits one. Its largest A exponent is consequently at most . The symmetric argument from the all-B state bounds every exponent below by . Thus the Kauffman bracket breadth bound is
For a connected diagram, construct the Turaev surface by placing A-state circles above the projection sphere, B-state circles below it, inserting one saddle at each crossing, and capping the state circles. This is a connected embedded closed orientable surface; its disks and saddles give . Since , . Writhe normalization changes only a monomial, and divides breadth by four. Therefore
For a connected reduced alternating diagram, checkerboard color its complementary regions. Alternation makes all-A circles the boundaries of one color and all-B circles the boundaries of the other. Euler's formula for the connected four-valent projection graph gives . Its Tait graph and planar dual have no loops: a loop in either, equivalently a loop or bridge in one, gives a nugatory crossing cut off by a simple closed curve. Reducedness excludes precisely such crossings. Changing one smoothing in the all-A or all-B state therefore joins distinct circles, so the diagram is an adequate link diagram.
This also proves that the extreme coefficients cannot cancel. If smoothings are changed from the all-A state, the first change lowers its circle count by one and the remaining changes increase it by at most . The largest exponent of that state is at most , four below the all-A extreme , whose coefficient is . The all-B extreme is uniquely attained for the same reason. Consequently
For each alternating knot , remove nugatory crossings from an alternating diagram. The equality just proved, together with the general breadth bound for any knot diagram, shows that its reduced crossing count is minimal: . Joining two knot diagrams by an orientation-compatible connected sum of knots gives . Indeed the state circles joined along the sum arc become one, so the bracket state sums multiply, and writhe adds. Nonzero Laurent polynomials have additive breadth, because their extreme coefficients multiply. Hence every diagram of the sum has at least crossings, while joining the two minimal alternating diagrams achieves that count. Thus
Finally suppose that the two-component link is split. Its Jones polynomial satisfies , by the disjoint-union bracket rule, so . If the given alternating diagram were connected, its Tait graph would be connected. Evaluate the bracket at , where and . Only one-circle states survive. These are exactly the spanning trees of : a regular neighborhood of a chosen spanning subgraph has one boundary circle exactly when it is connected and has no cycle. All spanning trees use the same number of black-joining smoothings, . Since the crossing-to-checkerboard smoothing choice is uniform in an alternating diagram, all surviving state weights are the same nonzero power of . Therefore is that power times the positive number of spanning trees, and , a contradiction.
The diagram is thus disconnected. Each of the two link components projects to a connected subset, so the two projection components can be separated by a boundary curve of a small regular neighborhood in the projection sphere. Hence a split two-component link represented by a reduced alternating diagram has a split diagram.
For a connected undirected weighted graph, a spanning tree connects all vertices without a graph cycle. A minimum spanning tree minimizes the sum of its edge weights. Disconnected input has no spanning tree, although the same methods produce a minimum spanning forest. Negative edge weights and ties cause no difficulty; a tree always contains exactly edges.
The central exchange argument is the minimum spanning tree cut property. Suppose a forest is contained in some minimum spanning tree , and consider a cut with no edge of crossing it. Let be a lightest crossing edge. If , adding it creates a graph cycle; the graph path in between its endpoints contains a crossing edge . That is not in , and . Thus is another spanning tree with no larger weight and still contains . It is also minimum and contains . This proves that the chosen edge is safe, rather than merely asserting a greedy choice.
Kruskal's algorithm sorts all edges by increasing weight, starts with the empty forest, and adds an edge precisely when its endpoints are in different components. Each added edge is lightest across a component cut respected by the current forest. The exchange proof inductively keeps the forest inside a minimum spanning tree; connectedness makes the final forest a spanning tree, hence an optimum. Sorting takes comparisons, and even a simple component-merging implementation takes only polynomial additional work. Efficient component tracking improves that overhead further.
Prim's algorithm instead grows a single tree, repeatedly adding a lightest edge from its vertex set to the outside. The same cut argument proves correctness. A dense implementation using an array runs in comparisons. The dual minimum spanning tree cycle property says a uniquely heaviest edge of a graph cycle belongs to no minimum spanning tree: exchanging it for a lighter crossing edge strictly improves any tree containing it. Ties must be handled carefully; a merely nonunique heaviest edge can occur in an optimum.
Complexity classes are formally classes of decision problems, so use the version asking whether a graph has a spanning tree of total weight at most a supplied threshold . Assume integer or rational weights and threshold are encoded in binary. The input length includes all these bits, not only the numbers of vertices and edges. P consists of decision problems decidable by a deterministic algorithm in time polynomial in that input length. NP consists of those with polynomial-size complexity certificates verified in deterministic polynomial time, equivalently decidable in polynomial time by a nondeterministic machine.
Kruskal's algorithm constructs the optimum and compares its weight with . Binary integer comparisons and sums are polynomial-time operations. Rational comparisons can be made by cross multiplication, and their summed numerator and denominator have polynomially bounded bit length: a product of input denominators has bit length no greater than the sum of their bit lengths. The combinatorial algorithm makes polynomially many such operations. Hence the minimum-spanning-tree decision problem is in P; the optimization version likewise has a polynomial-time algorithm.
For membership in NP, the complexity certificate is a list of selected edges. Check that every edge is present, that the edges connect all vertices and contain no graph cycle, and that their total weight is at most . A graph search and binary arithmetic do this in polynomial time. A successful complexity certificate need not establish that its tree is minimum: it proves the threshold question's yes-answer. Conversely, a yes-instance has such a tree as a complexity certificate. Therefore
Membership in NP does not arithmetic mean NP-hardness; here the explicit greedy algorithm provides the stronger tractability result.
First suppose is 3-connected and noncomplete, and write . There is an induced path with nonadjacent: otherwise the first three vertices of any shortest path between nonadjacent vertices would contradict that assertion. Since is 3-connected, is a connected graph. Choose a spanning tree of that graph rooted at . Color first with the same color, then color the other vertices in reverse tree order, leaving last. Every vertex except has its tree parent uncolored and thus at most previously colored neighbors. At , the two neighbors share a color, so again at most colors are forbidden. This constructs a proper -coloring and proves Brooks' bound for 3-connected noncomplete graphs. A complete graph is exactly the excluded case; a 3-connected graph cannot be an odd cycle.
For the partition claim, assume are nonnegative integers with . Minimize
If a vertex in has internal degree , its degree into is at most . Moving it to changes by , contradicting minimality when . The analogous move handles a violation in when . For a zero coefficient, break ties among minimizers by minimizing the total number of internal edges. If , minimality of ensures is independent; a violating vertex in has all its neighbors in and no neighbor in , so moving it reduces the tie-break quantity without increasing . The reversed argument handles . If both are zero then , and the graph is a union of isolated vertices and edges, admitting two independent parts. Thus
For , put . A maximum-degree-three graph containing no is 3-colorable. Here is why the previously proved 3-connected case suffices: connected graphs of degree at most two are paths or cycles and use at most three colors. Split a larger graph at cut vertices and permute colors when gluing. In a 2-connected cubic graph with a two-vertex cut , a cut edge gives colorings of the sides glued with their distinct endpoint colors. If are nonadjacent, the cut components have positive numbers of edges to both endpoints and the total endpoint degrees are at most three. There are at most three components. With three components, adding to each side preserves maximum degree three and gives the endpoints degree two. No new is created, so induction supplies side colorings with distinct endpoint colors, which can be permuted to agree. With two components, the components incident twice to and twice to either agree or differ. If they differ, adding to each side preserves maximum degree three; each augmented side is smaller and cannot be , because one endpoint then has degree only two, so induction gives distinct-endpoint colorings. If they agree, call the side with only one edge from each endpoint the small side. Any coloring of the other side can be matched on it: for equal endpoint colors, contract in the small side (the merged vertex has degree at most two); for distinct colors add (the endpoints again have degree two). Induction applies in both cases. A 2-connected graph with no two-vertex cut is 3-connected and was handled above. This proves the needed subcubic coloring fact without quoting the unproved full theorem.
Use three colors on and at most fresh colors on , by greedy coloring. This gives . More usefully, repeatedly remove degree-at-most-three parts: the partition supplies a four-degree reduction for a cost of three colors. If , then . Induction in , with the remaining part still -free, gives
The base cases use respectively colors, within this bound; at , Brooks' theorem would give four, but the same partition with gives a 3-colorable part and an independent part, hence four. Thus the induction requires no unproved general Brooks theorem.
A connected graph with has no isolated vertices. Conversely, a disconnected graph with no isolated vertices has a connected component with size between and . We must show that this latter event has probability tending to zero.
The permitted component-size estimate excludes sizes between and with high probability. For the remaining small sizes, let count components with vertices. A connected graph on a fixed -vertex set contains a spanning tree. By the Cayley formula, there are labelled trees, as follows from the Prüfer code bijection between labelled trees and sequences of labels. A union bound over the trees, together with the absence of every edge to the complementary vertex set, gives
Put and . Using and , uniformly for we obtain
Here . Therefore, with ,
The Markov inequality excludes all these small components with high probability. Together with the permitted estimate, this proves that the difference between the probability of connectivity and the probability of no isolated vertices tends to zero. Hence
Choose free group generators . Construct the Schreier coset graph with vertices the right cosets and a positively oriented edge labelled from to . This is well defined and connected. Its inverse edge carries . A word in the group generators determines a unique path from the base vertex ; that path closes exactly when the word represents an element of .
Deleting a consecutive edge followed by its inverse corresponds exactly to free cancellation in the word. Since reduced words are unique in a free group, the resulting map from based loops modulo these cancellations to is injective as well as surjective, and respects concatenation. Thus is the fundamental group of . More explicitly, choose a spanning tree and, for each unoriented edge outside , choose one orientation. The tree path from the base vertex to that edge, followed by the edge and the returning tree path, defines an element of . Every loop is a product of these elements and their inverses: insert the appropriate tree paths between successive edges, and tree edges contribute trivial factors. Collapsing the tree leaves one loop for each remaining edge. A product of the chosen basis loops maps to the corresponding word in these loop labels. If the original path could cancel to the constant path, its image could do so as well, since collapsing tree edges preserves every backtracking cancellation. A nonempty reduced word in the remaining labels cannot cancel to the empty word, proving that there are no further relations. These elements therefore form a free basis. This proves that is a free group without assuming the subgroup theorem.
If is finite, the graph has vertices and unoriented edges, counted by their positive labels; loops and parallel edges count separately. A spanning tree has edges. The Nielsen–Schreier formula follows:
For a sequence of finite indices , this gives the rank-to-index limit for subgroups of a free group
Finally, let be an endomorphism, and put . It is generated by the images . If its index is finite, it is free of rank . A rank- free group needs at least group generators: its abelianization is , and reduction modulo gives the -dimensional vector space , which cannot be generated by fewer than vectors. Therefore
Since , this forces , hence . This proves that a finite-index image of a free-group endomorphism is surjective:
Orient the unique path from to in a uniform spanning tree , and put when it uses the edge from to , when it uses the reverse direction, and zero otherwise. Then the proposed current is ; set it to zero on nonedges. It is antisymmetric.
For each tree path, every intermediate graph vertex has one incoming and one outgoing path edge, while the source has one outgoing edge and the sink one incoming edge. Hence
Taking expectations gives
the Kirchhoff node law for a unit flow.
To establish the Kirchhoff cycle law, it is not enough to check it separately for each tree path: those path currents need not satisfy the voltage law on the original graph. Instead, let be all spanning trees and let be all spanning forests with two components, one containing and the other . For denote the source component by .
For an existing edge , deleting it from a tree whose - path uses produces precisely a forest with and . Conversely, adding to any such forest produces exactly that tree and path orientation. This is a bijection. Applying it to both orientations gives
Define . Then on every edge. Since the resistances are one, this is Ohm's law, and the voltage drops telescope around every oriented cycle:
Together with the node law, this proves that the mean tree-path current is the electrical unit current. This argument is the mean spanning-tree path current identity.
For clarity, these laws determine the current uniquely. The difference of two solutions is a potential gradient with zero divergence. Multiplying its divergence by and summing over graph vertices gives . Thus every difference current is zero.
In a minimum-cost flow problem, every directed arc has a per-unit cost and lower and upper capacities . Each vertex has a prescribed net supply , with . We seek flows minimizing subject to the flow conservation equations
The uncapacitated minimum-cost flow case has and, here, .
For project scheduling, augment the precedence graph with a source , of duration , and a sink . Join to every task with no predecessor, and every task with no successor to . Extend the precedence matrix to these dummy arcs. This augmentation is needed because the printed matrix by itself contains no start or finish vertex. Assuming the precedence graph is a Directed acyclic graph, every task lies on a source-to-sink path. Unlimited parallel work then gives the linear programming formulation
The time variables are unrestricted; a common translation changes nothing, so we may fix . These inequalities say that each successor starts after its predecessor finishes. In a topological order, their coordinatewise earliest solution is , the recursion of the critical path method.
To derive project scheduling duality, associate a nonnegative multiplier with . The Lagrangian is
Its infimum over the free time variables is finite precisely when the coefficients of all vanish. This gives one unit of net outflow at , one unit of net inflow at , and zero net flow at other vertices. Hence the dual is
Equivalently, minimize with . The project duration is the negative of the optimal minimum-cost flow value. The sign is essential: the dual of the minimization problem maximizes total duration, selecting a longest precedence path.
The network simplex algorithm is a general method for minimum-cost flow. After shifting lower bounds to zero, first find a feasible flow, using artificial arcs and a phase-one objective if needed. A network simplex tree basis fixes each non-tree arc at a bound and determines the tree flows by flow conservation. Choose network dual potentials making the network reduced cost
zero on the tree. An arc at its lower bound is improving if ; an arc at its upper bound is improving in reverse if . Adding that residual arc creates one fundamental cycle. Increase flow around this cycle until an arc reaches a bound, then exchange the entering and leaving tree arcs, or flip the entering arc to its other bound. The flow conservation equations remain satisfied. Use an anti-cycling rule for degenerate pivots. If a negative-cost residual cycle has no finite limiting capacity, the objective is unbounded below; if phase one cannot remove artificial flow, the problem is infeasible. Otherwise, termination with no negative residual network reduced costs certifies optimality, since potentials cancel around cycles and every residual network circulation has nonnegative cost.
For this project the augmented arcs are
In the specified initial spanning tree, the unique unit-flow path is . The flow on its arcs is one and that on all other tree arcs is zero. Its total cost is , so this is a degenerate but feasible network simplex tree basis. Normalizing , the tree equations give
There are two nonbasic arcs. Their network reduced costs are
Bring into the tree. The resulting cycle increases the flows on and decreases those on . The three decreasing arcs initially carry one unit, so the maximal step is one. Resolve the leaving-arc tie by removing . The resulting unit flow follows and has cost .
For the new tree, normalized potentials are
The only nonbasic arcs now have and , both nonnegative. All tree network reduced costs vanish, proving optimality after this single pivot. The earliest feasible schedule, obtained by the critical path method, is
The path has duration , so it and the timetable furnish a unit-flow certificate for project duration.