Skip to main content
QUICK REVIEW

[Paper Review] Online Mixed-Integer Optimization in Milliseconds

Dimitris Bertsimas, Bartolomeo Stellato|arXiv (Cornell University)|Jul 4, 2019
Advanced Bandit Algorithms ResearchDecision Sciences15 citations
TL;DR

This paper proposes MLOPT, a machine learning-based method for solving online mixed-integer quadratic optimization (MIQO) problems in under a millisecond. By encoding optimal solutions as 'strategies' and using a neural network to predict them, the method reduces the online phase to a single pre-factored linear system solve, achieving 2–3 orders of magnitude speedup over Gurobi on real-world problems like fuel cell management and motion planning.

ABSTRACT

We propose a method to solve online mixed-integer optimization (MIO) problems at very high speed using machine learning. By exploiting the repetitive nature of online optimization, we are able to greatly speedup the solution time. Our approach encodes the optimal solution into a small amount of information denoted as strategy using the Voice of Optimization framework proposed in [BS21]. In this way the core part of the optimization algorithm becomes a multiclass classification problem which can be solved very quickly. In this work, we extend that framework to real-time and high-speed applications focusing on parametric mixed-integer quadratic optimization (MIQO). We propose an extremely fast online optimization algorithm consisting of a feedforward neural network (NN) evaluation and a linear system solution where the matrix has already been factorized. Therefore, this online approach does not require any solver nor iterative algorithm. We show the speed of the proposed method both in terms of total computations required and measured execution time. We estimate the number of floating point operations (flops) required to completely recover the optimal solution as a function of the problem dimensions. Compared to state-of-the-art MIO routines, the online running time of our method is very predictable and can be lower than a single matrix factorization time. We benchmark our method against the state-of-the-art solver Gurobi obtaining from two to three orders of magnitude speedups on examples from fuel cell energy management, sparse portfolio optimization and motion planning with obstacle avoidance.

Motivation & Objective

  • To enable real-time, high-speed solution of online mixed-integer quadratic optimization (MIQO) problems.
  • To eliminate reliance on iterative solvers or matrix factorizations during online execution.
  • To develop a framework that achieves sub-millisecond solution times while maintaining low suboptimality and infeasibility.
  • To make online MIO practical for time-critical applications such as motion planning and energy management.
  • To provide a predictable, analyzable online computation time through fixed floating-point operation complexity.

Proposed method

  • Uses the Voice of Optimization framework to encode optimal solutions as discrete 'strategies' for parametric MIQO problems.
  • Employs a feedforward neural network to predict the optimal strategy from problem parameters.
  • Replaces the final solution phase with a single linear system solve using a pre-factorized KKT matrix, avoiding runtime factorization.
  • Applies 'strategy pruning' via a large-scale MILO approximation to reduce the number of strategies to 100–10,000 while controlling suboptimality and infeasibility.
  • Caches all pre-factorized KKT matrices offline for all possible strategies, enabling pure matrix-vector operations at runtime.
  • Derives exact floating-point operation (flop) counts independent of input parameters, ensuring predictable execution time.

Experimental results

Research questions

  • RQ1Can online MIQO problems be solved in under a millisecond using machine learning?
  • RQ2Can a neural network-based strategy predictor eliminate the need for iterative solvers in online MIQO?
  • RQ3How can strategy pruning be formulated and solved efficiently to maintain solution quality while reducing strategy count?
  • RQ4What is the exact computational complexity of the online phase, and how does it compare to branch-and-bound methods?
  • RQ5Can the proposed method achieve significant speedups over state-of-the-art solvers like Gurobi in real-time applications?

Key findings

  • MLOPT achieves online solution times below 1 millisecond, with measured execution times up to 1,000x faster than Gurobi on motion planning and fuel cell problems.
  • The method reduces online computation to a single pre-factored linear system solve, requiring no matrix factorization or iterative optimization at runtime.
  • For all benchmark problems, MLOPT maintains suboptimality comparable to or better than Gurobi’s heuristic, with infeasibility within acceptable tolerance levels.
  • Strategy pruning reduces the number of strategies to 100–10,000 while keeping average suboptimality and infeasibility within user-defined tolerances.
  • The total number of floating-point operations is precisely bounded and independent of input parameters, ensuring predictable and reliable performance.
  • In motion planning with 10 obstacles, MLOPT solved problems in 0.0614 seconds on average, compared to 809 seconds for Gurobi, a 13,000x speedup.

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.