Piecewise McCormick Relaxations
- Piecewise McCormick relaxations are advanced techniques that partition variable domains to create tighter convex approximations for bilinear and multilinear nonconvexities.
- They employ disjunctive and mixed-integer encodings with dynamic partitioning and projection methods to mitigate exponential scaling and computational overhead.
- These relaxations are pivotal in global optimization frameworks, offering convergence guarantees and significant bound tightening in MINLP, polynomial, and PDE-constrained settings.
Piecewise McCormick relaxations are advanced polyhedral outer approximations for bilinear and multilinear terms in nonconvex optimization, constructed by partitioning underlying variable domains and imposing McCormick envelopes on each subregion. This framework enables tighter convex relaxations and dual bounds in global optimization, particularly mixed-integer nonlinear programming (MINLP), polynomial optimization, and PDE-constrained problems with nonconvexities. Recent developments have introduced dynamic, sparse, and projection-based partitioning to efficiently balance relaxation strength and computational overhead, accompanied by rigorous bound-tightening and combinatorial encoding strategies.
1. Foundations: McCormick Relaxations and Motivation for Piecewise Refinement
Classical McCormick relaxations provide tightest convex polyhedral relaxations of a bilinear term over a box , through four facet-defining inequalities: For higher-degree terms , relaxations are built recursively via auxiliary bilinears. However, if the variable bounds are wide, the McCormick envelope is excessively loose, which motivates mesh refinement. By partitioning each variable’s domain into subintervals and enforcing a separate McCormick envelope on each “piece,” the outer approximation becomes strictly tighter as the mesh is refined, converging to the exact nonconvex set as the partition becomes arbitrarily fine (Nagarajan et al., 2016, He et al., 2023).
Uniform partitioning, wherein the domain is split with equal size subintervals, introduces subregions for -linear terms, causing exponential scaling in binary variables and constraints. This combinatorial growth is often unnecessary since large portions of the solution domain may not contain any feasible or near-optimal solutions (Nagarajan et al., 2016).
2. Formulations and Methodologies for Piecewise McCormick Relaxations
2.1 Disjunctive and Mixed-Integer Encodings
Partitioning and into , intervals, define binaries , so exactly one interval per variable is active ( and ). The piecewise McCormick envelope for over these subrectangles is: where , and products are encoded via standard linearization (Nagarajan et al., 2016, He et al., 2023). For higher-order (multilinear) or composite functions, the relaxation is extended recursively; specialized incremental encodings can further reduce the binary variable count (He et al., 2023).
2.2 Dynamic Partitioning and Adaptive Refinement
Dynamic multivariate partitioning refines partitions adaptively in “regions of interest” near incumbent or prospective solutions. At each outer iteration, only those subboxes containing the current MILP solution and having width above a parameter are refined. A scaling parameter controls granularity. This approach decouples the number of partitions from the original variable domain size and minimizes the number of introduced binaries (Nagarajan et al., 2016).
Constraint-Programming (CP) bound contraction is frequently deployed prior to partitioning. Solving MILPs to minimize/maximize each variable under an optimality cutoff contracts the feasible bounds substantially (reducing width by up to 99% in computational studies), which directly translates to sparser, localized, and more effective piecewise McCormick relaxations (Nagarajan et al., 2016).
2.3 Piecewise Relaxations in PDE-Constrained and Continuous Domains
In infinite-dimensional (PDE-constrained) settings, the domain is partitioned into cells of maximum diameter , and the involved nonlinearity (e.g., ) is approximated as the product of cellwise averages, introducing McCormick constraints per cell. A priori error estimates show the relaxation gap vanishes as , and optimization-based bound tightening on cell variables further sharpens the convex relaxation (Leyffer et al., 2024).
3. Computational Hierarchies and Branch-and-Bound Integration
Piecewise McCormick relaxations are fundamental in spatial branch-and-bound frameworks for solving global MINLPs. For each nonconvex term, the relaxations are locally recomputed at each node and recursively refined by branching:
- For trilinear monomials , distinct hierarchical relaxations exist: the convex hull (full), three “double-McCormick” (sequential bilinear) relaxations, and their respective volumes, all computable in closed form (Speakman et al., 2017).
- Volume-minimizing branching strategies determine the optimal variable and splitting point to minimize the sum of subregion volumes, proven to produce smaller search trees for multilinear programs (Speakman et al., 2017).
- Bound tightening and cut selection are performed globally and locally per branch, exploiting the refined piecewise structure to close relaxation gaps efficiently (Nagarajan et al., 2016, Müller et al., 2019).
4. Strengthened Separation and Propagation: Projections and Polyhedral Refinement
By projecting the feasible region onto the -space, additional valid inequalities for each bilinear pair can be obtained via LP-based “shooting” experiments. The resulting local polytope (intersecting up to four box and up to four facet cuts) is used to further tighten McCormick envelopes:
- Locatelli’s closed-form tangency formulas yield the tightest possible tangent plane at each boundary or critical point, strengthening the relaxation beyond axis-parallel box cases (Müller et al., 2019).
- Bound tightening exploits the polyhedral by enumerating the finite set of vertices and interior critical points, ensuring extremal bounds for are attained.
- These methods are integrated into solvers as term-wise data structures, with separation and bound-tightening steps executed in LP callbacks; cost is modest (typically a handful of extra LPs per term and a negligible number of additional constraints) (Müller et al., 2019).
5. Comparative Computational Efficacy and Parameter Sensitivities
Extensive computational studies on MINLPLIB and synthetic polynomial optimization instances highlight several points:
- Dynamic (DTMC) partitioning dramatically reduces the required binary variables (by 50–80%) for identical or better relaxation tightness compared to uniform partitioning (Nagarajan et al., 2016).
- On MINLP/PDE settings, piecewise McCormick relaxations provide a rigorous a priori relaxation gap determined by partition mesh size, with convergence guarantees to the true optimum as (Leyffer et al., 2024).
- Incremental combinatorial encodings (Δ-based MILP) achieve up to 60–70% closure of the root-node relaxation gap relative to base McCormick relaxations, with only a modest computational overhead (often just a few times slower than classical McCormick) (He et al., 2023).
- Key parameters include the partition fineness , minimum width , and tightness/tolerance in bound contraction; their selection affects both MILP size and relaxation quality (Nagarajan et al., 2016).
6. Implementation Strategies and Practical Considerations
Implementation of piecewise McCormick relaxations combines:
- Maintaining per-variable lists of disjoint intervals and binaries, with bilinear products linearized efficiently only for active subbox pairs.
- Solver integration of dynamic partitioning and adaptive refinement mechanisms, including heuristics for early stopping, efficient memory management, and tailored MILP model builds (Nagarajan et al., 2016).
- Use of polyhedral projections for bilinear pairs, reusing them throughout the branch-and-bound tree unless box bounds change substantially, which reduces recomputation overhead (Müller et al., 2019).
- In PDE-constrained cases, leveraging structure for parallel bound-tightening and using direct or multigrid linear solvers in relaxation steps (Leyffer et al., 2024).
7. Convergence Guarantees and Limitations
Piecewise McCormick relaxations are mathematically consistent: as the partitions become arbitrarily fine, the convex relaxation converges to the nonconvex feasible region both in finite- and infinite-dimensional settings, with minimizers of the relaxations converging (in the -limit sense) to the true optimal solution (Leyffer et al., 2024). Main limitations are the exponential scaling of uniform partitioning, potential combinatorial explosion for high-degree multilinears, and the computational cost of aggressive bound tightening. Dynamic and projection-based partitioning strategies efficiently address these concerns in practice (Nagarajan et al., 2016, Müller et al., 2019).