Skip to main content
QUICK REVIEW

[Paper Review] Nonconvex piecewise linear functions: Advanced formulations and simple modeling tools

Joey Huchette, Juan Pablo Vielma|arXiv (Cornell University)|Jul 31, 2017
Formal Methods in VerificationComputer Science14 citations
TL;DR

This paper presents novel mixed-integer programming (MIP) formulations for nonconvex piecewise linear functions using geometric and combinatorial approaches, achieving up to 3x speedup for univariate cases and order-of-magnitude improvements for bivariate cases. It introduces PiecewiseLinearOpt, a Julia-based modeling tool that abstracts complex formulations, enabling high-level, efficient modeling without user exposure to low-level MIP intricacies.

ABSTRACT

We present novel mixed-integer programming (MIP) formulations for optimization over nonconvex piecewise linear functions. We exploit recent advances in the systematic construction of MIP formulations to derive new formulations for univariate functions using a geometric approach, and for bivariate functions using a combinatorial approach. All formulations are strong, small (so-called logarithmic formulations), and have other desirable computational properties. We present extensive experiments in which they exhibit substantial computational performance improvements over existing approaches. To accompany these advanced formulations, we present PiecewiseLinearOpt, an extension of the JuMP modeling language in Julia that implements our models (alongside other formulations from the literature) through a high-level interface, hiding the complexity of the formulations from the end-user.

Motivation & Objective

  • Address the computational inefficiency of existing MIP formulations for nonconvex piecewise linear functions, especially in high-dimensional or complex scenarios.
  • Develop stronger, smaller (logarithmic-size), and computationally superior formulations for univariate and bivariate nonconvex piecewise linear functions.
  • Bridge the gap between advanced MIP formulations and practical usability by creating a high-level modeling interface that hides formulation complexity.
  • Demonstrate the superiority of new formulations over existing ones through extensive computational experiments on benchmark and real-world problems.
  • Enable broader adoption of advanced MIP techniques by integrating them into a user-friendly modeling framework, PiecewiseLinearOpt.

Proposed method

  • Apply a geometric formulation construction technique to univariate functions, using general integer variables instead of binary variables to improve branching behavior.
  • Extend combinatorial formulation techniques to bivariate functions on grid-triangulated domains, generating new families of logarithmic formulations.
  • Design formulations that are strong (tight relaxation), small (logarithmic in number of segments), and computationally efficient.
  • Implement the formulations in PiecewiseLinearOpt, a Julia-based extension of JuMP, providing a high-level API for modeling piecewise linear functions.
  • Use piecewise linear approximations of nonlinear functions (e.g., logistic functions) in stochastic optimization problems to validate performance.
  • Benchmark formulations against state-of-the-art alternatives (e.g., LogE, ZZB, ZZI) on synthetic and real-world instances, measuring solution time, optimality gap, and success rate.

Experimental results

Research questions

  • RQ1Can geometric MIP formulation techniques using general integer variables improve computational performance for univariate nonconvex piecewise linear functions compared to existing binary-variable-based logarithmic formulations?
  • RQ2Can combinatorial formulation construction be extended to bivariate nonconvex piecewise linear functions on grid-triangulated domains to achieve logarithmic-sized, strong formulations?
  • RQ3To what extent do the new formulations outperform existing state-of-the-art formulations in terms of solution time and scalability on hard instances?
  • RQ4Can a high-level modeling tool like PiecewiseLinearOpt effectively abstract complex MIP formulations while maintaining computational efficiency and usability?
  • RQ5How do the new formulations perform in real-world applications involving nonlinearities, such as stochastic share-of-choice problems with logistic approximations?

Key findings

  • The proposed univariate formulations achieve up to a 3x speedup on hard instances compared to existing formulations, primarily due to improved branching behavior.
  • For bivariate functions, the new formulations deliver an order-of-magnitude improvement in computational performance over prior methods.
  • The ZZI formulation outperforms all others in the share-of-choice problem benchmark, solving 13 out of 18 instances within 30 minutes, while LogE failed to solve any instance.
  • The mean solution time for the ZZI formulation was 776.2 seconds, significantly lower than LogE’s 3600 seconds (failure to converge), and lower than ZZB’s 3525.5 seconds.
  • The PiecewiseLinearOpt package enables users to model complex piecewise linear functions using a clean, high-level interface, abstracting away low-level MIP formulation complexity.
  • The study demonstrates that advanced MIP formulations, when paired with accessible modeling tools, can significantly improve the practicality and adoption of nonconvex piecewise linear optimization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.