Skip to content

How-to guides#

Each guide lists the steps toward one task, for a reader who already writes the specification of an optimisation model (a spec). To learn the language from the start, follow the tutorials first.

Set up and check#

  • Install mathspec into a Python environment, and set up your editor to complete the keys of a spec file.
  • Check a spec without data on your machine and in continuous integration (CI), and read a refusal or a remark that is not one (advice).

Write a spec#

Work with piecewise curves and SOS#

See also

  • Tutorials, for a first spec built step by step.
  • Reference, for every key and operator of the language.