PeerJ Computer Science (Sep 2018)

An integrated platform for intuitive mathematical programming modeling using LaTeX

  • Charalampos P. Triantafyllidis,
  • Lazaros G. Papageorgiou

DOI
https://doi.org/10.7717/peerj-cs.161
Journal volume & issue
Vol. 4
p. e161

Abstract

Read online Read online

This paper presents a novel prototype platform that uses the same LaTeX mark-up language, commonly used to typeset mathematical content, as an input language for modeling optimization problems of various classes. The platform converts the LaTeX model into a formal Algebraic Modeling Language (AML) representation based on Pyomo through a parsing engine written in Python and solves by either via NEOS server or locally installed solvers, using a friendly Graphical User Interface (GUI). The distinct advantages of our approach can be summarized in (i) simplification and speed-up of the model design and development process (ii) non-commercial character (iii) cross-platform support (iv) easier typo and logic error detection in the description of the models and (v) minimization of working knowledge of programming and AMLs to perform mathematical programming modeling. Overall, this is a presentation of a complete workable scheme on using LaTeX for mathematical programming modeling which assists in furthering our ability to reproduce and replicate scientific work.

Keywords