Iterative MILP algorithm to find alternate solutions in linear programming models

Dev A. Kakkad, Ignacio E. Grossmann, Bianca Springub, Christos Galanopoulos, Leonardo Salsano de Assis, Nga L. Tran, John M. WassickOptimization 2024 · DOI

Abstract

Linear Programming (LP) models are fundamental to industrial optimization, yet standard solvers typically return only a single optimal solution. In many practical applications, such as supply chain management, decision-makers benefit from having a pool of high-quality alternate solutions to account for qualitative factors or operational flexibility. This paper presents an iterative Mixed-Integer Linear Programming (MILP) algorithm that identifies a ranked set of optimal and near-optimal solutions. By applying integer cuts to inactive constraints, specifically focusing on slack variables, the proposed method efficiently navigates the feasible region's vertices. We demonstrate the algorithm's effectiveness on geometric toy problems and large-scale industrial supply chain models.

Introduction: Beyond the Single Optimum

In the field of mathematical optimization, the goal is often to find the "best" solution according to a defined objective function. However, the mathematically optimal point may not always be the most practical. In complex supply chain environments, a solution that is 0.01% more expensive but significantly more robust to external risks might be preferred.

Standard LP algorithms, such as the Simplex method, stop once they reach a single optimal vertex. This "one-and-done" approach leaves decision-makers without a sense of the trade-offs available. There is a clear need for tools that can generate a "solution pool"—a set of alternate optima (same objective value) or near-best solutions (slightly worse objective value) ranked by their performance.

Methodology: Iterative MILP and Integer Cuts

The core of our approach lies in the geometric nature of LP problems, where optimal solutions reside at the vertices of a feasible region. To find alternate solutions, we propose an iterative algorithm that systematically "pushes" the solver from one vertex to the next.

The algorithm identifies "inactive" constraints—those where the solution does not sit exactly on the boundary (i.e., there is non-zero slack). By introducing binary variables for each constraint and adding specific mathematical "cuts," we force at least one previously inactive constraint to become active in the subsequent iteration.

Figure 3: Geometric visualization of the iterative process on a 2D LP problem. The algorithm traverses vertices (marked with stars) in non-decreasing order of the objective value.

By focusing on slack variables rather than the entire set of basic and non-basic variables, our method effectively handles "degeneracy"—scenarios where multiple constraints intersect at the same point. This focus reduces the number of iterations required compared to previous state-of-the-art methods.

Evaluation and Results

The algorithm was tested across three scenarios of increasing complexity: a 2D geometric problem, a small supply chain model, and a large-scale industrial case.

Supply Chain Applications

Supply chain optimization is a primary use case for this algorithm. Figure 2 illustrates a typical multi-echelon network where products flow from suppliers through plants and distribution centers to customers.

Figure 2: A representative supply chain network featuring suppliers, plants, distribution centers, and customers.

In a large-scale industrial test involving over 5,000 constraints, the algorithm successfully generated 10 high-quality alternate solutions in under a minute. Notably, all 10 solutions were within 0.1% of the optimal profit, demonstrating that significant operational flexibility can often be achieved with negligible impact on the bottom line.

Performance Benchmarks

The method proved to be solver-agnostic, performing well with Gurobi, CPLEX, and GLPK. In the 2D toy problem, our slack-based approach reached the final vertex in 4 iterations, outperforming previous methods that required 5 iterations. This efficiency is critical for scaling to real-world industrial models.

Conclusion and Future Directions

The proposed iterative MILP algorithm provides a robust and efficient framework for generating a pool of alternate solutions in LP models. By leveraging the properties of slack variables, it offers a computationally superior alternative to traditional vertex-tracking methods. Future research will focus on extending this logic to Non-Linear Programming (NLP) and exploring diversity metrics to find solutions that are operationally distinct from one another.

Summary updated

Abstract

Abstract We address in this paper linear programming (LP) models in which it is desired to find a finite set of alternate optima. An LP may have multiple alternate solutions with the same objective value or with increasing objective values. For many real life applications, it can be interesting to have a pool of solutions to compare what operations should be executed and what is the cost/benefit of doing it. To obtain a specified number of these alternate solutions in the increasing order of objective values, we propose an iterative MILP algorithm in which we successively add integer cuts on inactive constraints. We demonstrate the application and effectiveness of this algorithm on a 2 dimensional LP and on small and large supply chain problems. The proposed iterative MILP algorithm provides an effective approach for finding a specified number of alternate optima in LP models, which provides a useful tool in a variety of applications as for instance in supply chain optimization problems.
BibTeX
@inproceedings{kakkad2024iterative,
  author = {Dev A. Kakkad and Ignacio E. Grossmann and Bianca Springub and Christos Galanopoulos and Leonardo Salsano de Assis and Nga L. Tran and John M. Wassick},
  title = {{Iterative MILP algorithm to find alternate solutions in linear programming models}},
  booktitle = {Optimization},
  year = {2024},
  doi = {10.1007/s11081-024-09887-3},
}
Figure