Skip to main content
Log in

Progressively strengthening and tuning MIP solvers for reoptimization

  • Full Length Paper
  • Published:
Mathematical Programming Computation Aims and scope Submit manuscript

Abstract

This paper explores reoptimization techniques for solving sequences of similar mixed integer programs (MIPs) more effectively. Traditionally, these MIPs are solved independently, without capitalizing on information from previously solved instances. Our approach focuses on primal bound improvements by reusing the solutions of the previously solved instances, as well as dual bound improvements by reusing the branching history and automating parameter tuning. We also describe ways to improve the solver performance by extending ideas from reliability branching to generate better pseudocosts. Our reoptimization approach, crafted for the MIP 2023 workshop computational competition, was honored with the first prize. In this paper, we thoroughly analyze the performance of each technique and their combined impact on the solver’s performance. Finally, we present ways to extend our techniques in practice for further improvements.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Data availability

The datasets analysed for the current study are available in the github repository, https://github.com/krooonal/mipcc2023/tree/MPCPaper.

Code availability

The code used for the current study is available in the github repository, https://github.com/krooonal/mipcc2023/tree/MPCPaper.

Notes

  1. For the series RHS 2 and RHS 4, the shifted geometric means of solving times are higher than the time limit. This indicates that SCIP could not solve most of these instances in the given time limit.

References

  1. Achterberg, T., Koch, T., Martin, A.: Branching rules revisited. Oper. Res. Lett. 33(1), 42–54 (2005)

    Article  MathSciNet  Google Scholar 

  2. Andréassian, V., Delaigue, O., Perrin, C., Janet, B., Addor, N.: Camels-fr: a large sample, hydroclimatic dataset for France, to support model testing and evaluation. In: EGU General Assembly Conference Abstracts, pp. EGU21–13349 (2021)

  3. Angulo, G., Ahmed, S., Dey, S.S.: Improving the integer l-shaped method. INFORMS J. Comput. 28(3), 483–499 (2016)

    Article  MathSciNet  Google Scholar 

  4. Applegate, D., Bixby, R., Chvátal, V., Cook, W.: Finding cuts in the TSP (a preliminary report), vol. 95. Citeseer (1995)

  5. Auer, P., Cesa-Bianchi, N., Fischer, P.: Finite-time analysis of the multiarmed bandit problem. Mach. Learn. 47, 235–256 (2002)

    Article  Google Scholar 

  6. Ausiello, G., Bonifaci, V., Escoffier, B.: Complexity and approximation in reoptimization. In: Computability in Context: Computation and Logic in the Real World, pp. 101–129. World Scientific (2011)

  7. Bénichou, M., Gauthier, J.M., Girodet, P., Hentges, G., Ribière, G., Vincent, O.: Experiments in mixed-integer linear programming. Math. Program. 1, 76–94 (1971)

    Article  MathSciNet  Google Scholar 

  8. Berthold, T.: Primal Heuristics for Mixed Integer Programs. Ph.D. thesis, Zuse Institute Berlin (ZIB) (2006)

  9. Berthold, T., Hendel, G., Salvagnin, D.: Transferring information across restarts in mip. In: Integration of Constraint Programming. Artificial Intelligence, and Operations Research: 19th International Conference, CPAIOR 2022, Los Angeles, CA, USA, June 20–23, 2022, Proceedings, pp. 24–33. Springer, Berlin (2022)

  10. Bestuzheva, K., Besançon, M., Chen, W.K., Chmiela, A., Donkiewicz, T., van Doornmalen, J., Eifler, L., Gaul, O., Gamrath, G., Gleixner, A., Gottwald, L., Graczyk, C., Halbig, K., Hoen, A., Hojny, C., van der Hulst, R., Koch, T., Lübbecke, M., Maher, S.J., Matter, F., Mühmer, E., Müller, B., Pfetsch, M.E., Rehfeldt, D., Schlein, S., Schlösser, F., Serrano, F., Shinano, Y., Sofranac, B., Turner, M., Vigerske, S., Wegscheider, F., Wellner, P., Weninger, D., Witzig, J.: The SCIP Optimization Suite 8.0. ZIB-Report 21-41, Zuse Institute, Berlin (2021). http://nbn-resolving.de/urn:nbn:de:0297-zib-85309

  11. Blum, C., Pinacho, P., López-Ibáñez, M., Lozano, J.A.: Construct, merge, solve & adapt a new general algorithm for combinatorial optimization. Comput. Oper. Res. 68, 75–88 (2016)

    Article  MathSciNet  Google Scholar 

  12. Bolusani, S., Besançon, M., Gleixner, A., Berthold, T., d’Ambrosio, C., Muñoz, G., Paat, J., Thomopulos, D.: The mip workshop 2023 computational competition on reoptimization. arXiv preprint arXiv:2311.14834 (2023)

  13. Bolusani, S., Ralphs, T.K.: A framework for generalized benders’ decomposition and its application to multilevel optimization. Math. Program. 196(1–2), 389–426 (2022)

    Article  MathSciNet  Google Scholar 

  14. Cplex, IBM ILOG: IBM ILOG CPLEX Optimizer (2023). https://www.ibm.com/products/ilog-cplex-optimization-studio/cplex-optimizer

  15. Danna, E., Rothberg, E., Pape, C.L.: Exploring relaxation induced neighborhoods to improve MIP solutions. Math. Program. 102, 71–90 (2005)

    Article  MathSciNet  Google Scholar 

  16. Firat, M., Crognier, G., Gabor, A.F., Hurkens, C.A., Zhang, Y.: Column generation based heuristic for learning classification trees. Comput. Oper. Res. 116, 104866 (2020)

    Article  MathSciNet  Google Scholar 

  17. Gamrath, G., Berthold, T., Heinz, S., Winkler, M.: Structure-driven fix-and-propagate heuristics for mixed integer programming. Math. Program. Comput. 11(4), 675–702 (2019)

    Article  MathSciNet  Google Scholar 

  18. Gamrath, G., Hiller, B., Witzig, J.: Reoptimization techniques for MIP solvers. In: Experimental Algorithms: 14th International Symposium. SEA 2015, Paris, France, June 29-July 1, 2015, Proceedings 14, pp. 181–192. Springer, Berlin (2015)

  19. Gleixner, A., Hendel, G., Gamrath, G., Achterberg, T., Bastubbe, M., Berthold, T., Christophel, P., Jarck, K., Koch, T., Linderoth, J., et al.: Miplib 2017: data-driven compilation of the 6th mixed-integer programming library. Math. Program. Comput. 13(3), 443–490 (2021)

    Article  MathSciNet  Google Scholar 

  20. Gurobi Optimization, LLC: Gurobi Optimizer Reference Manual (2023). https://www.gurobi.com

  21. Hendel, G.: Enhancing MIP branching decisions by using the sample variance of pseudo costs. In: Integration of AI and OR Techniques in Constraint Programming: 12th International Conference. CPAIOR 2015, Barcelona, Spain, May 18–22, 2015, Proceedings 12, pp. 199–214. Springer, Berlin (2015)

  22. Hendel, G.: Adaptive large neighborhood search for mixed integer programming. Math. Program. Comput. 66, 1–37 (2022)

    MathSciNet  Google Scholar 

  23. Jiménez-Cordero, A., Morales, J.M., Pineda, S.: Warm-starting constraint generation for mixed-integer optimization: a machine learning approach. Knowl. Based Syst. 253, 109570 (2022)

  24. Li, L., Jamieson, K., DeSalvo, G., Rostamizadeh, A., Talwalkar, A.: Hyperband: a novel bandit-based approach to hyperparameter optimization. J. Mach. Learn. Res. 18(1), 6765–6816 (2017)

    MathSciNet  Google Scholar 

  25. Linderoth, J.T., Savelsbergh, M.W.: A computational study of search strategies for mixed integer programming. INFORMS J. Comput. 11(2), 173–187 (1999)

    Article  MathSciNet  Google Scholar 

  26. Ralphs, T., Güzelsoy, M.: Duality and warm starting in integer programming. In: The Proceedings of the 2006 NSF Design, Service, and Manufacturing Grantees and Research Conference (2006)

  27. Sabharwal, A., Samulowitz, H., Reddy, C.: Guiding combinatorial optimization with uct. In: Integration of AI and OR Techniques in Contraint Programming for Combinatorial Optimzation Problems: 9th International Conference, CPAIOR 2012, Nantes, France, May 28-June 1, 2012. Proceedings 9, pp. 356–361. Springer, Berlin (2012)

  28. SAP SE: Milp benchmarks cellphoneco (2023). https://github.com/SAP-samples/ibp-sop-benchmarks-milp-cellphoneco

  29. Schieber, B., Shachnai, H., Tamir, G., Tamir, T.: A theory and algorithms for combinatorial reoptimization. Algorithmica 80, 576–607 (2018)

    Article  MathSciNet  Google Scholar 

  30. Tanner, M.W., Ntaimo, L.: Iis branch-and-cut for joint chance-constrained stochastic programs and application to optimal vaccine allocation. Eur. J. Oper. Res. 207(1), 290–296 (2010)

    Article  MathSciNet  Google Scholar 

  31. Thomopulos, D., van Ackooij, W., D’Ambrosio, C., Stéfanon, M.: Generating hydro unit commitment instances. TOP 66, 1–31 (2023)

    Google Scholar 

  32. Witzig, J.: Reoptimization Techniques in MIP Solvers, master’s thesis, TU Berlin (2014)

  33. Xu, L., Hutter, F., Hoos, H.H., Leyton-Brown, K.: Hydra-mip: automated algorithm configuration and selection for mixed integer programming. In: RCRA Workshop on Experimental Evaluation of Algorithms for Solving Problems with Combinatorial Explosion at the International Joint Conference on Artificial Intelligence (IJCAI), pp. 16–30 (2011)

Download references

Acknowledgements

The author received financial support from the Canada Excellence Research Chair (CERC), Polytechnique Montreal and the computational resources for experimental evaluation were provided by CERC. The author would also like to thank Prof. Andrea Lodi, Prof. Guy Desaulniers, and the anonymous reviewers for their helpful comments.

Funding

Partial financial support was received from Canada Excellence Research Chair (CERC), Polytechnique Montreal. The computational resources for experimental evaluation were provided by CERC.

Author information

Authors and Affiliations

Authors

Contributions

Krunal Kishor Patel designed, implemented, and tested the ideas presented in this paper.

Corresponding author

Correspondence to Krunal Kishor Patel.

Ethics declarations

Conflict of interest

The authors have no relevant financial or non-financial interests to disclose.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendix: Detailed results

Appendix: Detailed results

See Tables 13, 14, 15, 16.

Table 13 Effects of providing solution hints on total scores
Table 14 Effects of reusing branching history and strong branching for the first instance on total scores
Table 15 Effects of automated parameter tuning on total scores
Table 16 Effects of turning off inefficient solver parts on total scores

We present the aggregated statistics for techniques presented in this paper in Table 17 (grouped by changing component), Table 18 (grouped by geometric mean of solve time in BASE), and Table 19 (grouped by BASE score). Each table shows the aggregated BASE total score and percentage improvements caused by each technique. Since the number of series for each group is too small, we advise readers to be cautious while making generalized conclusions based on these tables (e.g., TURNOFF works best when RHS is changing).

Table 17 Aggregated results for changing components
Table 18 Aggregated results for series grouped by geometric means of solving time in BASE
Table 19 Aggregated results for series grouped by average BASE scores

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Patel, K.K. Progressively strengthening and tuning MIP solvers for reoptimization. Math. Prog. Comp. (2024). https://doi.org/10.1007/s12532-024-00253-z

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s12532-024-00253-z

Keywords

Mathematics Subject Classification

Navigation