**Abstract**

Mathematical programs (MPs) are a class of constrained optimization problems that include linear, mixed-integer, and disjunctive programs. Strategies for solving MPs rely heavily on various transformations between these subclasses, but most are not automated because MP theory does not presently treat programs as syntactic objects. In this work, we present the ﬁrst syntactic deﬁnition of MP and of some widely used MP transformations, most notably the big-M and convex hull methods for converting disjunctive constraints. We use an embedded OCaml DSL on problems from chemical process engineering and operations research to compare our automated transformations to existing technology—ﬁnding that no one technique is always best—and also to manual reformulations—ﬁnding that our mechanizations are comparable to human experts. This work enables higher-level solution strategies that can use these transformations as subroutines.

Download from publisher

Download preprint

Associated code

Presentation slides

**Citation**

Ashish Agarwal, Sooraj Bhat, Alexander Gray, Ignacio E. Grossmann (2010). Automating Mathematical Program Transformations, in *Proceedings of the 12th International Symposium on Practical Aspects of Declarative Languages, PADL 2010*, Vol 5937 of *Lecture Notes in Computer Science*, pp. 134-148.