ZIMPL(1)
π¦ ZIMPL π
okay bestie, welcome to the User Manuals corner of the internet, where we're talking about zimpl β the Zuse Institute Mathematical Programming Language. yes, that's the whole name. it's giving academic baddie. π
β¨ NAME β¨
zimpl β Zuse Institute Mathematical Programming Language. periodt.
πΈ SYNOPSIS πΈ
zimpl [ -b ] [ -D name=value ] [ -f ] [ -F filter ] [ -h ] [ -m ] [ -l length [ -n cm|cn|cf ] [ -o outfile ] [ -O ] [ -P filter [ -r ] [ -t lp|mps|hum|rlp|pip ] [ -s seed ] [ -v 0-5 ] [ -V ] file ...
π DESCRIPTION π
So like, Zimpl is a little language whose whole job is translating the mathematical model of a problem into a linear or (mixed-)integer mathematical program, expressed in LPF or MPS file format β the kind a LP or MIP solver can actually read. she's a translator, she's multilingual, she's doing the most. π
None of the options are necessary, btw. not one. zero. you can just vibe. All the input files in zpl format that you hand over get concatenated and processed as if they were one big file. which means you can literally combine different parts of a model straight on the command line, no cap. and in that case, if you didn't pass an -o option, the first filename given becomes the basename for the output files. main character energy, honestly. π
Now the -t option is the one that picks your output format:
mpscan be read by every solver. universal. everyone's friend.lpfis a CPLEX format, but several solvers can read it too. β οΈ BE aware that for example Range-rows can not be expressed inlpf.- if you wanna inspect the output yourself,
humformat is a variant oflpfwith no name mangeling whatsoever β but unfortunately this violates several format restrictions, so no solver will read this in. it's for your eyes only, bestie. π - if
rlpis specified, the output is inlpfformat, but the rows and columns are randomly permuted. chaos. love that for us.
β¨ OPTIONS β¨
-bβ Enablebison(1)debugging output. π-D name=valueβ Sets the parameternameto the specifiedvalue. This is equivalent with having this line in the Zimpl program:param name:=val .-fβ Enableflex(1)debugging output. πͺ-F filterβ The output is piped through a filter. A%sin the string is replaced by the output filename. For example:-F "gzip -c >%s.gz"would compress all the output files. ποΈ-hβ Show program help. hi bestie π-l lengthβ Sets the maximum length for variable names in LPF output files.-mβ Write a CPLEX.mstMip STart file.-n cm|cn|cfβ Select the format for the generation of constraint names. Can be eithercm, which will number them1 ... nwith acin front.cnwill use the name supplied in thesubtostatement and number them1 ... nwithin the statement.cfwill use the name given with thesubto, then a1 .. nnumber like incmand then append all the local variables from theforallstatements.-o outfileβ Sets the base-name for the output files. Default is the name of the input file without extension.-Oβ Optimize the generated LP by doing some presolve analysis (experimental). βοΈ-P filterβ The input is piped through a filter. A%sin the string is replaced by the input filename. For example:-F "cpp -DWITH_C1 %s"would pass the input file through the C-preprocessor.-rβ Write a CPLEX.ordbranching order file.-s seedβ Set the random number generator seed. π²-t lp|mps|hum|rlp|pipβ Selects the output format. Can be eitherlp, which is default, ormps, orhum, which is (only) human readable, orrlp, which is randomly permuted, orpip, which means polynimial IP.-v 0-5β Set the verbosity level.0is quiet,1is default,2is verbose,3is chatter, and5is debug. π£οΈ-Vβ Prints the version number.
π©Ί DIAGNOSTICS π©Ί
The following diagnostics may be issued on stderr:
101 Bad filenameβ The name given with the-ooption is either missing, a directory name, or starts with a dot. π175 Illegal syntax for command line define -- ignoredβ The parameter of a-Doption was either not of the formname=valueor thenamewas not a legal identifier.
There are about a hundred other possible error messages, but these are either about the contend of the input file, or system messages. so many ways to go wrong, so little time. π
π BUGS π
Please report any bug to the author. she wants to know. fr fr.
π AUTHOR π
Thorsten Koch <koch@zib.de>
π WEBSITE π
The lastest version of Zimpl is always available at <http://zimpl.zib.de>.
π«Ά SEE ALSO π«Ά
The Zimpl User Guide at <http://zimpl.zib.de/download/zimpl.pdf>.
and that's the whole page, bestie π this one's from the Linux manual set, dated 14 Mar 2017, and the page itself is ZIMPL(1). go slay your linear programs β¨ππ¦
π¦ where this page comes from
- fedora 43: zimpl 3.6.2-4.fc43 Β· LGPL-3.0-or-later AND OFL-1.1-RFN AND Knuth-CTAN AND GPL-1.0-or-later
- fedora 43: zimpl 3.7.0-1.fc43 Β· LGPL-3.0-or-later AND OFL-1.1-RFN AND Knuth-CTAN AND GPL-1.0-or-later
- fedora 44: zimpl 3.7.0-3.fc44 Β· LGPL-3.0-or-later AND OFL-1.1-RFN AND Knuth-CTAN AND GPL-1.0-or-later
- fedora 44: zimpl 3.7.1-1.fc44 Β· LGPL-3.0-or-later AND OFL-1.1-RFN AND Knuth-CTAN AND GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms