Constraints

The following additional and modified constraints are used in this example:

  • bounds on variables

  • $\displaystyle { \sum _{i \in \text {DEPOTS}} \Variable{IsOpen[i]} \le \Argument{max\_ num\_ depots} }$

  • for $i \in \text {DEPOTS}$,

    \[  \sum _{(i,j) \in \text {ARCS}} \Variable{Flow[i,j]} \le \Argument{throughput[i]} \cdot \Variable{IsOpen[i]} + \left(\text {if $i \in \text {EXPAND\_ DEPOTS}$, then $\Argument{expand\_ throughput[i]} \cdot \Variable{Expand[i]}$}\right)  \]
  • for $i \in \text {EXPAND\_ DEPOTS}$,

    \[  \Variable{Expand[i]} \le \Variable{IsOpen[i]}  \]