Suvarna Garge (Editor)

Multi commodity flow problem

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

The multi-commodity flow problem is a network flow problem with multiple commodities (flow demands) between different source and sink nodes.

Contents

Definition

Given a flow network G ( V , E ) , where edge ( u , v ) E has capacity c ( u , v ) . There are k commodities K 1 , K 2 , , K k , defined by K i = ( s i , t i , d i ) , where s i and t i is the source and sink of commodity i , and d i is its demand. The variable f i ( u , v ) defines the fraction of flow i along edge ( u , v ) , where f i ( u , v ) [ 0 , 1 ] in case the flow can be split among multiple paths, and f i ( u , v ) { 0 , 1 } otherwise (i.e. "single path routing"). Find an assignment of all flow variables which satisfies the following four constraints:

(1) Link capacity: The sum of all flows routed over a link does not exceed its capacity.

( u , v ) E : i = 1 k f i ( u , v ) d i c ( u , v )

(2) Flow conservation on transit nodes: The amount of a flow entering an intermediate node u is the same that exits the node.

w V f i ( u , w ) w V f i ( w , u ) = 0 w h e n u s i , t i

(3) Flow conservation at the source: A flow must exit its source node completely.

w V f i ( s i , w ) w V f i ( w , s i ) = 1

(4) Flow conservation at the destination: A flow must enter its sink node completely.

w V f i ( w , t i ) w V f i ( t i , w ) = 1

Corresponding optimization problems

Load balancing is the attempt to route flows such that the utilization U ( u , v ) of all links ( u , v ) E is even, where

U ( u , v ) = i = 1 k f i ( u , v ) d i c ( u , v )

The problem can be solved e.g. by minimizing u , v V ( U ( u , v ) ) 2 . A common linearization of this problem is the minimization of the maximum utilization U m a x , where

( u , v ) E : U m a x U ( u , v )

In the minimum cost multi-commodity flow problem, there is a cost a ( u , v ) f ( u , v ) for sending a flow on ( u , v ) . You then need to minimize

( u , v ) E ( a ( u , v ) i = 1 k f i ( u , v ) )

In the maximum multi-commodity flow problem, the demand of each commodity is not fixed, and the total throughput is maximized by maximizing the sum of all demands i = 1 k d i

Relation to other problems

The minimum cost variant is a generalisation of the minimum cost flow problem. Variants of the circulation problem are generalisations of all flow problems.

Usage

Routing and wavelength assignment (RWA) in optical burst switching of Optical Network would be approached via multi-commodity flow formulas.

Solutions

In the decision version of problems, the problem of producing an integer flow satisfying all demands is NP-complete, even for only two commodities and unit capacities (making the problem strongly NP-complete in this case).

If fractional flows are allowed, the problem can be solved in polynomial time through linear programming. Or through (typically much faster) fully polynomial time approximation schemes.

References

Multi-commodity flow problem Wikipedia