Zuse Institute Zimpl Version 3.3.9 User Guide

User guide for Zimpl 3.3.9, the Zuse Institute Mathematical Programming Language, covering syntax, invocation, models, examples, and error messages.


Zuse Institute Zimpl Version 3.3.9 User Guide - cover page
Brand
Zuse Institute
Category
Programming
Document type
User Manual
Language
English
Pages
36
File format
PDF
File size
391 KB
Published
06 November, 2026
Updated
06 November, 2026
MD5 checksum
140E141B51BB04FB77F33C0D465D8603

About this manual

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.

What's inside

  • Introduction
  • Invocation
  • Format
  • Expressions
  • Tuples and sets
  • Parameters
  • Initializing sets and parameters from a file
  • Models
  • Modeling examples
  • Error messages

Specifications

Version3.3.9
LicenseGNU Lesser General Public License Version 3
Command syntaxzimpl [options]
Default output formatlp
Default verbosity level1
Supported output formatslp, mps, pip, hum, rlp, pipm
Output file extensions.lp, .mps, .hum, .tbl

Frequently asked questions

How do you run Zimpl on a model file?

Type zimpl ex1.zpl for a model named ex1.zpl; in general the command is zimpl [options] .

What is the default output format?

lp is the default output format.

What license is Zimpl under?

Zimpl is licensed under the GNU Lesser General Public License Version 3.

What happens if an error occurs while processing?

Zimpl prints an error message and aborts.

Download PDF (391 KB)