IDEAS home Printed from https://ideas.repec.org/a/inm/orijoc/v34y2022i2p672-689.html
   My bibliography  Save this article

MathOptInterface: A Data Structure for Mathematical Optimization Problems

Author

Listed:
  • Benoît Legat

    (Institute for Information and Communication Technologies, Electronics and Applied Mathematics, Université Catholique de Louvain, B-1348 Louvain-la-Neuve, Belgium)

  • Oscar Dowson

    (Department of Industrial Engineering and Management Sciences, Northwestern University, Evanston, Illinois 60208)

  • Joaquim Dias Garcia

    (PSR, 22250-040 Rio de Janeiro-RJ, Brazil; Pontifícia Universidade Católica do Rio de Janeiro, 22451-900 Rio de Janeiro-RJ, Brazil)

  • Miles Lubin

    (Google Research, New York, New York 10011)

Abstract

We introduce MathOptInterface, an abstract data structure for representing mathematical optimization problems based on combining predefined functions and sets. MathOptInterface is significantly more general than existing data structures in the literature, encompassing, for example, a spectrum of problems classes from integer programming with indicator constraints to bilinear semidefinite programming. We also outline an automated rewriting system between equivalent formulations of a constraint. MathOptInterface has been implemented in practice, forming the foundation of a recent rewrite of JuMP, an open-source algebraic modeling language in the Julia language. The regularity of the MathOptInterface representation leads naturally to a general file format for mathematical optimization we call MathOptFormat . In addition, the automated rewriting system provides modeling power to users while making it easy to connect new solvers to JuMP. Summary of Contribution: This paper describes a new abstract data structure for representing mathematical optimization models with a corresponding file format and automatic transformation system. The advances are useful for algebraic modeling languages, allowing practitioners to model problems more naturally and more generally than before.

Suggested Citation

  • Benoît Legat & Oscar Dowson & Joaquim Dias Garcia & Miles Lubin, 2022. "MathOptInterface: A Data Structure for Mathematical Optimization Problems," INFORMS Journal on Computing, INFORMS, vol. 34(2), pages 672-689, March.
  • Handle: RePEc:inm:orijoc:v:34:y:2022:i:2:p:672-689
    DOI: 10.1287/ijoc.2021.1067
    as

    Download full text from publisher

    File URL: http://dx.doi.org/10.1287/ijoc.2021.1067
    Download Restriction: no

    File URL: https://libkey.io/10.1287/ijoc.2021.1067?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Robert Fourer & Jun Ma & Kipp Martin, 2010. "OSiL: An instance language for optimization," Computational Optimization and Applications, Springer, vol. 45(1), pages 181-203, January.
    2. Brendan O’Donoghue & Eric Chu & Neal Parikh & Stephen Boyd, 2016. "Conic Optimization via Operator Splitting and Homogeneous Self-Dual Embedding," Journal of Optimization Theory and Applications, Springer, vol. 169(3), pages 1042-1068, June.
    3. Robert Fourer & David M. Gay & Brian W. Kernighan, 1990. "A Modeling Language for Mathematical Programming," Management Science, INFORMS, vol. 36(5), pages 519-554, May.
    4. Miles Lubin & Iain Dunning, 2015. "Computing in Operations Research Using Julia," INFORMS Journal on Computing, INFORMS, vol. 27(2), pages 238-248, May.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Chris Coey & Lea Kapelevich & Juan Pablo Vielma, 2022. "Solving Natural Conic Formulations with Hypatia.jl," INFORMS Journal on Computing, INFORMS, vol. 34(5), pages 2686-2699, September.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Pichler, Anton & Poledna, Sebastian & Thurner, Stefan, 2021. "Systemic risk-efficient asset allocations: Minimization of systemic risk as a network optimization problem," Journal of Financial Stability, Elsevier, vol. 52(C).
    2. Sinha, Ankur & Rämö, Janne & Malo, Pekka & Kallio, Markku & Tahvonen, Olli, 2017. "Optimal management of naturally regenerating uneven-aged forests," European Journal of Operational Research, Elsevier, vol. 256(3), pages 886-900.
    3. Aritra Pal & Hadi Charkhgard, 2019. "A Feasibility Pump and Local Search Based Heuristic for Bi-Objective Pure Integer Linear Programming," INFORMS Journal on Computing, INFORMS, vol. 31(1), pages 115-133, February.
    4. Andrew Butler & Roy H. Kwon, 2023. "Efficient differentiable quadratic programming layers: an ADMM approach," Computational Optimization and Applications, Springer, vol. 84(2), pages 449-476, March.
    5. Dimitris Bertsimas & Arthur Delarue & Patrick Jaillet & Sébastien Martin, 2019. "Travel Time Estimation in the Age of Big Data," Operations Research, INFORMS, vol. 67(2), pages 498-515, March.
    6. Duck Bong Kim, 2019. "An approach for composing predictive models from disparate knowledge sources in smart manufacturing environments," Journal of Intelligent Manufacturing, Springer, vol. 30(4), pages 1999-2012, April.
    7. Enzo Busseti, 2019. "Derivative of a Conic Problem with a Unique Solution," Papers 1903.05753, arXiv.org, revised Mar 2019.
    8. da Costa, B. Freitas Paulo & Pesenti, Silvana M. & Targino, Rodrigo S., 2023. "Risk budgeting portfolios from simulations," European Journal of Operational Research, Elsevier, vol. 311(3), pages 1040-1056.
    9. Bernardo Freitas Paulo da Costa & Silvana M. Pesenti & Rodrigo S. Targino, 2023. "Risk Budgeting Portfolios from Simulations," Papers 2302.01196, arXiv.org.
    10. Cao, Yankai & Zavala, Victor M. & D’Amato, Fernando, 2018. "Using stochastic programming and statistical extrapolation to mitigate long-term extreme loads in wind turbines," Applied Energy, Elsevier, vol. 230(C), pages 1230-1241.
    11. Eli Towle & James Luedtke, 2018. "New solution approaches for the maximum-reliability stochastic network interdiction problem," Computational Management Science, Springer, vol. 15(3), pages 455-477, October.
    12. Olivier Cailloux & Tommi Tervonen & Boris Verhaegen & François Picalausa, 2014. "A data model for algorithmic multiple criteria decision analysis," Annals of Operations Research, Springer, vol. 217(1), pages 77-94, June.
    13. Vaz, A. Ismael F. & Fernandes, Edite M. G. P. & Gomes, M. Paula S. F., 2004. "Robot trajectory planning with semi-infinite programming," European Journal of Operational Research, Elsevier, vol. 153(3), pages 607-617, March.
    14. Guanglei Wang & Hassan Hijazi, 2018. "Mathematical programming methods for microgrid design and operations: a survey on deterministic and stochastic approaches," Computational Optimization and Applications, Springer, vol. 71(2), pages 553-608, November.
    15. Davi Valladão & Thuener Silva & Marcus Poggi, 2019. "Time-consistent risk-constrained dynamic portfolio optimization with transactional costs and time-dependent returns," Annals of Operations Research, Springer, vol. 282(1), pages 379-405, November.
    16. Cindy Paola Guzman & Nataly Bañol Arias & John Fredy Franco & Marcos J. Rider & Rubén Romero, 2020. "Enhanced Coordination Strategy for an Aggregator of Distributed Energy Resources Participating in the Day-Ahead Reserve Market," Energies, MDPI, vol. 13(8), pages 1-22, April.
    17. Leo Liberti, 2020. "Distance geometry and data science," TOP: An Official Journal of the Spanish Society of Statistics and Operations Research, Springer;Sociedad de Estadística e Investigación Operativa, vol. 28(2), pages 271-339, July.
    18. Saqib Ali & Md Asri Ngadi, 2016. "Optimized interference aware joint channel assignment model for wireless mesh network," Telecommunication Systems: Modelling, Analysis, Design and Management, Springer, vol. 62(1), pages 215-230, May.
    19. Jens Weibezahn & Mario Kendziorski, 2019. "Illustrating the Benefits of Openness: A Large-Scale Spatial Economic Dispatch Model Using the Julia Language," Energies, MDPI, vol. 12(6), pages 1-21, March.
    20. Richard Spady & Sami Stouli, 2020. "Gaussian Transforms Modeling and the Estimation of Distributional Regression Functions," Papers 2011.06416, arXiv.org.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:inm:orijoc:v:34:y:2022:i:2:p:672-689. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Chris Asher (email available below). General contact details of provider: https://edirc.repec.org/data/inforea.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.