How this calculation works
Select a minimum-cost subset of supplied candidate links that makes an undirected graph meet a target edge connectivity.
λ(G)=min_(∅≠S⊊V)|δ(S)|; minimize Σ_(e selected)c_e subject to |δ_(G+selected)(S)|≥k for every nontrivial S.A worked example
The default four-vertex path has edge connectivity 1. Adding candidate edge (0,3) at cost 2 makes a cycle, every nontrivial cut has at least two crossing edges and the minimum augmentation cost for target 2 is 2.
Good to know
Undirected simple graph with 2–8 vertices, at most 16 distinct candidate nonedges with nonnegative integer costs, target edge connectivity 2–4. Exhaustive candidate subsets and nontrivial cuts. Return an optimum only after completion; infeasible means no supplied candidate subset works, not no conceivable augmentation.
Reference: Marx and Végh: edge connectivity augmentation (opens in a new tab) ↗
Add links to survive edge failures
Edge connectivity is the smallest number of edges whose removal disconnects the graph. Requiring edge connectivity at least k means every nontrivial vertex cut has at least k edges crossing it. The augmentation task selects new links to meet that requirement while minimizing their total supplied cost. Existing edges are retained and have no additional selection cost.
This is an edge-failure model, not a vertex-failure model. Several links meeting one vertex can improve edge cuts without protecting against removal of that vertex. The calculator does not substitute vertex connectivity or assume that a visually redundant drawing meets the desired cut condition. It explicitly checks the number of edges crossing every relevant cut.
Compare this with the Minimum edge cut calculator with edge disjoint path witnesses. Select new links to meet a target edge-connectivity level, rather than find a bottleneck in an unchanged graph.
Define the existing graph and allowed purchases
Enter two to eight vertices, current undirected edges and candidate links with costs. Endpoints are zero based. Candidate links must be distinct missing edges, not duplicates of existing links, and costs must be nonnegative integers. The supported target is two through four, and at most sixteen candidate links can be considered.
Only listed candidate links may be purchased. If a useful missing edge is absent from the list, the optimization cannot create it at an invented price. This restriction distinguishes a constrained design problem from adding arbitrary edges. A returned infeasible result means the listed choices cannot meet the target; adding more allowable candidates could change that conclusion.
Use cuts as the connectivity certificate
For a nonempty proper vertex set S, the cut consists of edges with exactly one endpoint in S. Count existing edges and selected candidate links crossing it. Every such count must meet the target. A bridge produces a cut of size one, which immediately prevents two-edge connectivity until some added link also crosses that cut.
The complementary vertex set describes the same cut, so a complete enumeration can avoid counting both copies without losing any condition. Checking only singleton cuts is insufficient: every vertex can have adequate degree while a larger vertex subset is attached through a small bottleneck. Full small-graph cut enumeration keeps that distinction visible.
Compare all candidate subsets under the same costs
With at most sixteen candidates, a bounded exhaustive search can compare every selection. For each subset, sum its costs and check all nontrivial cuts in the augmented graph. Nonnegative costs allow pruning expensive subsets once a cheaper feasible selection is known, but pruning must not skip a potentially better feasible solution.
A feasible subset establishes an upper bound on the minimum cost. A completed search establishes optimality by excluding cheaper alternatives. Multiple selections can tie at that minimum. The calculator can return one witness without claiming uniqueness. If a resource cap interrupts the exhaustive comparison, it reports an unresolved search rather than silently promoting the current best selection to an optimum.
See how the default path becomes a cycle
The default graph is the path zero–one–two–three. Removing any of its three edges disconnects it, so its edge connectivity is one. The candidate edge zero–three costs two and closes the path into a four-cycle. Every nontrivial cut of that cycle has at least two crossing edges, meeting the target of two.
The only cheaper subset is the empty selection under the default positive candidate costs, and it leaves the path below target. Therefore cost two is the optimum. The other available candidates cost three each and do not improve the cost objective. The example illustrates why a single edge can repair several bridge cuts simultaneously.
Interpret zero costs and impossible targets
A zero-cost candidate can be included without increasing the objective, so several different minimum-cost subsets may exist. The objective does not separately minimize the number of links unless an additional tie-break is explicitly stated. A larger returned edge count is not necessarily an error when it has the same minimum total cost.
For a simple graph on n vertices, edge connectivity cannot exceed n−1. A requested target beyond that bound is impossible within this simple-link model. Even an attainable target can be infeasible when the supplied candidates miss a bottleneck cut. The output’s minimum cut or failing cut witness helps explain that limitation rather than reducing every failure to a generic message.
Keep engineering interpretation within the model
The graph treats every edge as an individual failure unit and every candidate cost as an additive fixed number. Shared conduits, correlated failures, capacities, directed reachability and construction dependencies require richer models. Two nominal links can fail together in reality even when the unweighted graph treats them as separate independent design options.
Use this page for an exact small-instance combinatorial augmentation comparison. Retain the chosen candidate links, total cost and cut certificate when reviewing the result. It does not certify physical reliability or replace a capacity-based network-flow design. The transparent candidate list makes the computed optimum reviewable under the assumptions actually entered.
A few questions, answered
Does this protect against vertex failures?
No. The constraint concerns removal of edges, and vertex connectivity is a different property.
Can the solver add an unlisted link?
No. It selects only from the supplied candidate links and costs.
Does infeasible mean no augmentation exists?
It means none exists using this candidate list within the stated simple-graph model.
Why check cuts larger than one vertex?
A multi-vertex region can have a small crossing cut even when every vertex individually has a high degree.