Capacity as a Natural Big-M in Flow Models

In fixed-charge and facility-location network flow models, arc flow variables xijx_{ij} are linked to binary open/closed indicators yijy_{ij} through constraints of the form xijMyijx_{ij}\le M y_{ij}. This lesson shows how to choose the tightest valid MM using the natural bounds already present in the flow model: arc capacities uiju_{ij}, source supplies sis_i, and sink demands djd_j.

Step 1 of 157%

Tutorial

Linking Flow to an Indicator Variable

In a fixed-charge network flow model, each arc (i,j)(i,j) has a nonnegative flow variable xij0x_{ij}\ge 0 and a binary indicator yij{0,1}y_{ij}\in\{0,1\} that equals 11 if the arc is open and 00 if it is closed. To force xij=0x_{ij}=0 whenever yij=0,y_{ij}=0, we add a linking constraint

xijMyij.x_{ij}\le M\, y_{ij}.

We need MM large enough that the constraint does not cut off any flow the arc could legitimately carry when yij=1,y_{ij}=1, but as small as possible so the LP relaxation is tight.

When the arc has an explicit capacity uij,u_{ij}, the flow already satisfies xijuij.x_{ij}\le u_{ij}. The capacity is therefore a valid upper bound on xij,x_{ij}, and it is the tightest one available from the arc alone:

Mij=uij.M_{ij}=u_{ij}.

We call this the natural Big-M for arc (i,j).(i,j). For example, an arc with capacity uij=40u_{ij}=40 gives the linking constraint

xij40yij.x_{ij}\le 40\, y_{ij}.
navigate · Enter open · Esc close · ⌘K/Ctrl K toggle