Skip to content

Nonconvex Region Modelling

Definition

Nonconvex region modelling represents a union of allowed regions using binary variables that select which region's inequalities are enforced. The selected region must satisfy all its defining inequalities; common constraints remain active for every selection.


Interpretation

Some models allow decisions in one of several separate pieces, but not in between. A single system of linear inequalities cannot describe such a region exactly: if two points satisfy a linear inequality, so does every point on the segment between them, so a gap can never be cut out. Binary switches make it possible by enforcing the inequalities of one piece at a time.

Two separate shaded pieces of a feasible region, below x2 = 1 and above x2 = 2 under a shared line x1 + x2 = 3, with the gap between them excluded; their union is not convex.

The two pieces share x1+x2≤3x_1+x_2\le3 and x≥0\boldsymbol{x}\ge\boldsymbol{0} but differ in one inequality: x2≤1x_2\le1 below and x2≥2x_2\ge2 above. The points (0,1)(0,1) and (0,2)(0,2) are both allowed, while their midpoint (0,1.5)(0,1.5) lies in the excluded gap 1<x2<21<x_2<2. This is what nonconvex means: a segment between allowed points leaves the region.

In the model of the Examples, yy selects the piece, each inequality that belongs to only one piece receives a big-MM term as in either-or constraints, and the shared restrictions stay outside the switches so that they hold for both choices. With more than two pieces, one indicator per piece and an exactly-one constraint do the selection.

The size of MM matters. If it is too small, a switched-off inequality still cuts off allowed points: with M=1M=1 and y=0y=0, the second inequality becomes x2≥1x_2\ge1, which together with x2≤1x_2\le1 leaves only the points of the lower piece with x2=1x_2=1. A much larger MM than needed is valid but enlarges the region of the LP relaxation, so its bound can only become weaker.


Key Results

  • Use one indicator per region and require exactly one selected region. With only two regions a single binary yy suffices: 1−y1-y and yy act as the two indicators.
  • Relax every inequality belonging only to an unselected region with a valid big-MM constant, as in either-or constraints: MM must be large enough that the relaxed inequality cuts off no point the model allows.
  • Keep nonnegativity and shared boundaries outside the switches.

Examples

The illustrated region, the course video example, is x1,x2≥0x_1,x_2\ge0, x1+x2≤3x_1+x_2\le3, with either x2≤1x_2\le1 or x2≥2x_2\ge2. Its switch is x2≤1+Myx_2\le1+My, x2≥2−M(1−y)x_2\ge2-M(1-y), y∈{0,1}y\in\{0,1\}. With y=0y=0 the lower piece x2≤1x_2\le1 is enforced and the second inequality becomes x2≥2−Mx_2\ge2-M; with y=1y=1 the upper piece x2≥2x_2\ge2 is enforced and the first becomes x2≤1+Mx_2\le1+M. Because 0≤x2≤30\le x_2\le3 on the shared region, M=2M=2 is already large enough. The common restrictions x1+x2≤3x_1+x_2\le3 and x≥0\boldsymbol{x}\ge\boldsymbol{0} remain active for both choices.

  • The practice region additionally selects x1∈[0,1]x_1\in[0,1], [2,3][2,3], or [4,5][4,5] under 2x1+5x2≤202x_1+5x_2\le20.

Prerequisites

Sources

Symbols: element of

Last updated: 20 October 2026 03:02