This page is for an old version of Hexaly Optimizer. We recommend that you update your version and read the documentation for the latest stable release.
  • Docs »
  • LSP Reference Manual

LSP Reference ManualΒΆ

The goal of an LSP program is to build the syntax tree of the LocalSolver model and to parametrize its resolution. The model is defined with dedicated operators and keywords (minimize, maximize, constraint). To support the definition of this model, the LSP language offers a set of functionalities for imperative and structured programming (loops, conditions, variables...).

The LocalSolver modeler is both a modeling language and a programming language: it is strongly typed and has a dynamic type system (the type is held by the value, not by the variable). It supports multiple programming paradigms (imperative, procedural and object-oriented) and many built-in features can be used both for modeling and for programming.