The Max Flow problem consist of a directed graph, edges are labeled with capacities, and there are two distinct nodes: the source (pink) and the sink (orange). A flow is an assignment of flows to each each, such that
The button run executes once this stage.
Let G be a bipartite graph, where the left nodes are sources and the right nodes are sinks. We have two commodities (kind of flows), say red and blue. Every source has an associated red and blue offer and every sink has an associated red and blue demand. Every edge can transport exactly one red, one blue flow or no flow at all. We say that the edge has integer capacity 1. We want to know if there is a flow satisfying all offers and demands, not exceeding edge capacities. This problem is called the 2-LAYERS 2-COMMODITY INTEGER FLOW problem.
It is NP-hard if G is an arbitrary bipartite graph. What is its complexity for the complete bipartite graph?