Lably
Skip to content

Circulation problem

  • 2 min read
  • 3 chapters

Related on Lably

Through Linear programming

Definition

Given flow network G(V,E) with:

l(v,w), lower bound on flow from node v to node w,
u(v,w), upper bound on flow from node v to node w,
c(v,w), cost of a unit of flow on (v,w)

and the constraints:

l(v,w)≤f(v,w)≤u(v,w),
∑w∈Vf(u,w)=0 (flow cannot appear or disappear in nodes).

Finding a flow assignment satisfying the constraints gives a solution to the given circulation problem.

In the minimum cost variant of the problem, minimize

∑(v,w)∈Ec(v,w)⋅f(v,w).

Multi-commodity circulation

In a multi-commodity circulation problem, you also need to keep track of the flow of the individual commodities:

There is also a lower bound on each flow of commodity.

The conservation constraint must be upheld individually for the commodities:

∑w∈Vfi(u,w)=0.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Discrete mathematics