User guide for Zimpl 3.3.9, the Zuse Institute Mathematical Programming Language, covering syntax, invocation, models, examples, and error messages.
Zimpl is a little language from the Zuse Institute for translating a mathematical model into a linear or mixed-integer program expressed in lp or mps file format. This user guide covers version 3.3.9, dated March 6, 2020, and is licensed under the GNU Lesser General Public License Version 3.
The guide explains invocation and options, the zpl file format, expressions, tuples and sets, parameters, file initialization, sum expressions, forall statements, function definitions, and the do print and do check commands. It also presents model variables, objectives and constraints, modeling examples such as the diet, traveling salesman, capacitated facility location and n-queens problems, and error messages.
| Version | 3.3.9 |
|---|---|
| License | GNU Lesser General Public License Version 3 |
| Command syntax | zimpl [options] |
| Default output format | lp |
| Default verbosity level | 1 |
| Supported output formats | lp, mps, pip, hum, rlp, pipm |
| Output file extensions | .lp, .mps, .hum, .tbl |
Type zimpl ex1.zpl for a model named ex1.zpl; in general the command is zimpl [options]
lp is the default output format.
Zimpl is licensed under the GNU Lesser General Public License Version 3.
Zimpl prints an error message and aborts.