Pseudoflow Algorithm

Simulation
Introduced by
Dorit S. Hochbaum
Year
1992
Type
Efficient algorithm for maximum closure problem
Family
Network Flow and Graph Optimization

What does it do?

The Pseudoflow Algorithm, attributed to Dorit S. Hochbaum, solves the maximum weighted closure problem on directed graphs, such as block precedence graphs.

In open-pit mining it is used to compute the ultimate pit limit. It returns an exact optimal closure for the supplied block weights.

The intuition behind the method

The maximum closure problem asks which nodes to include in a set. Each node has a weight, positive for profit and negative for cost. If a node is included, all of its successors must also be included. The goal is the subset with the largest total weight that respects these rules. Pseudoflow addresses this through a max-flow formulation. Instead of starting from a complete feasible flow, it works with a pseudoflow, a flow that may not yet satisfy conservation at every node, and corrects it progressively by moving excess toward the sink.

History

The method is attributed to Dorit S. Hochbaum, whose work on minimum-cut and maximum-flow problems underlies the approach.

When to use it

Choose Pseudoflow when the problem is a maximum weighted closure on a precedence graph, most often an ultimate pit limit. It is a suitable exact method when the graph is large and sparse, as block models often are. Because the closure is solved exactly, the result is optimal for the supplied block values rather than an approximation. For small models, any exact method may be fast enough. If the graph is very dense or an approximate answer is acceptable, compare Pseudoflow with the Lerchs-Grossmann algorithm, which the page lists as related, and with other exact or approximate methods before committing. Its performance should be benchmarked on the model in question.

Limitations and considerations

  • Efficient behaviour depends on careful implementation of the flow and excess bookkeeping; a simplified implementation may not match the expected running time.
  • Performance depends on graph structure and implementation, and should be benchmarked on the user's own block model.
  • Cycles in the precedence relations must be handled: nodes on a cycle are included or excluded together and are merged into one node during preprocessing.
  • Each solve uses fixed block values. Time-dependent or stochastic values require separate solves under different assumptions.
  • The result is an ultimate pit under fixed economics, not a mine schedule. Discounting, production scheduling and processing capacity are not captured by a single closure, and the optimum holds only for the supplied prices, costs and slope constraints, so it should be tested under price and cost sensitivity.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Solves the closure problem exactly through a min-cut formulation, so the reported pit boundary is optimal for the given block weights rather than approximated.
  • Polynomial-time method, so its worst-case cost grows with model size at a polynomial rate; no specific bound is given here.
  • Works with integer capacities; scaled integer block values avoid floating-point rounding in the flow computation.
  • Handles positive and negative block values in one formulation, with costs entered as negative weights.
  • Solves the same closure problem as the Lerchs-Grossmann algorithm, so the two can be compared on one model; relative speed should be benchmarked rather than assumed.

Applications

  • Open-pit mining: computing the ultimate pit limit of a block model as the maximum weighted closure of its precedence graph.
  • Nested pit shells: generating pit shells for several commodity price or cost assumptions, each solved as a separate closure problem.
  • Updated pit design: re-solving the closure when new geological or economic information changes block values.
  • Stope boundary optimisation: optimising underground extraction layouts where slope and support constraints can be written as precedence relations.
  • Sensitivity testing: re-running the closure on alternative block grade models to see how the pit limit responds to grade uncertainty.

How it works

How it works

1

Build a directed graph whose edges encode block precedence, so that a block cannot be extracted before the blocks that must be removed above it. Give each block a weight: positive for ore value and negative for waste or processing cost.

2

Contract any strongly connected group of nodes into a single node whose weight is the sum of the group's weights, since the members of a cycle must be included or excluded together. Convert the closure problem into a minimum-cut problem. Add a source node connected to each positive-weight node with capacity equal to its weight, and a sink connected from each negative-weight node with capacity equal to the absolute value of its weight. Precedence edges receive capacities large enough that a cut cannot separate a node from its required successors.

Formula
G = (V, E, c): direct graph with capacity function c(u,v)
3

Start from an initial pseudoflow on the edges. Select nodes that carry excess and move that excess along residual edges toward the sink, keeping the capacity conditions that define a valid pseudoflow.

4

Because the maximum flow and the minimum cut of the same network are equal in value, a maximum flow yields a minimum cut. The procedure ends when no node other than the source and the sink carries excess, which gives a maximum flow. The minimum cut of this flow then defines the closure in the interpret step.

Formula
max-flow(G, source, sink) = min-cut(G, source, sink)
5

Find the nodes reachable from the source in the residual graph of the final flow. This set is the source side of a minimum cut. Excluding the source, its blocks form the optimal closure, which in the mining setting is the optimal pit limit.

Common pitfalls

  • Violating the validity conditions of the pseudoflow can produce a node partition that is not a maximum closure, and the error may not be visible in the output.
  • Treating zero excess as proof of optimality without checking the residual reachability and cut condition can yield a wrong closure.
  • Floating-point capacities introduce rounding that can change which blocks fall on the optimal side of a near-tie. Scale values to integers before running the method.
  • Self-loops impose no additional constraint and can be removed without changing the closure. Isolated nodes are unconstrained and should be checked to confirm they are intended.

Frequently asked questions

How does Pseudoflow compare to the original Lerchs-Grossmann algorithm?

Both solve the same maximum closure problem and both return an optimal closure for the supplied weights. The relative running time depends on graph structure and implementation, so it should be measured on the user's own model rather than assumed.

Can I parallelize Pseudoflow for faster computation?

No parallel implementation is covered here, so no speed-up from parallel computation can be assumed. Any gain would need to be measured on the implementation in use.

What if my block model is not acyclic (has cycles)?

Cycles in the precedence graph mean that the nodes on the cycle must be included or excluded together. Such strongly connected groups can be merged into one node whose weight is the sum of the group's weights. Cycles often point to a modelling choice that is worth checking.

How sensitive is the algorithm to numerical precision?

Capacities should be integers or fixed-point values. If block values are floating-point, scale them by a chosen factor and round to integers before running the algorithm, so that comparisons are exact. The factor should be large enough that rounding does not change the decision of interest, and this should be checked on the model.

How does pseudoflow handle negative weights?

Negative weights are handled directly. The algorithm maximises the total weight of the included set, so costs and profits are combined. A negative-weight node enters the optimal closure only when included nodes require it through precedence relations and the combined weight of the set still gains. Otherwise it is excluded.

Related methods

Sources

  1. Hochbaum, D. S. (1992). A new-old algorithm for minimum-cut and maximum-flow problems. Journal of the ACM, 1(1), 76-109.

    Open publication reference
  2. Hochbaum, D. S. (2001). A fast algorithms for mining and metallurgical pits optimization. SIAM Journal on Computing, 30(4), 1096-1117.

    Open publication reference