The multi-commodity flow problem is a
network flow problem
In combinatorial optimization, network flow problems are a class of computational problems in which the input is a flow network (a graph with numerical capacities on its edges), and the goal is to construct a flow, numerical values on each edge t ...
with multiple commodities (flow demands) between different source and sink nodes.
Definition
Given a
flow network
In graph theory, a flow network (also known as a transportation network) is a directed graph where each edge has a capacity and each edge receives a flow. The amount of flow on an edge cannot exceed the capacity of the edge. Often in operations re ...
, where edge
has capacity
. There are
commodities
, defined by
, where
and
is the source and sink of commodity
, and
is its demand. The variable
defines the fraction of flow
along edge
, where