Programming language: Scala
License: GNU Lesser General Public License v3.0 only
Latest version: v3.2.0

Optimus * 96 alternatives and similar packages

Based on the "Science and Data Analysis" category.
Alternatively, view Optimus * 96 alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Optimus * 96 or a related project?

Add another 'Science and Data Analysis' Package



License: LGPL v3 Maven Central Build Status GitHub issues javadoc

Optimus is a library for Linear and Quadratic mathematical optimization written in Scala programming language.


This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; See the GNU Lesser General Public License v3 for more details.


  1. High level mathematical modeling in Scala using algebraic expressions
    • Linear and quadratic objective and constraint expressions.
    • Higher order expressions cannot be defined or handled by the solvers yet.
    • Addition, subtraction and multiplication operations can be performed on expressions.
    • Expression simplification produces the simpler form of the expression.
  2. Supports various optimization settings by using existing mathematical programming solvers
    • Linear programming (LP)
    • Quadratic programming (QP)
    • Quadratic constraint quadratic programming (QCQP)
    • Mixed integer programming (MIP)
  3. Available solvers:
    • Open source LpSolve can be used for LP and MIP.
    • Open source oJSolver can be used for LP, QP and MIP.
    • Proprietary solver Gurobi 9 can be used for efficiently solving LP, QP, QCQP and MIP.
    • Proprietary solver Mosek 9 can be used for efficiently solving LP, QP, QCQP and MIP.

How to get Optimus

Optimus is published to Maven Central for Scala 2.12 and 2.13.

Add the following dependencies to your SBT build file in order to get started:

libraryDependencies ++= Seq(
    "com.github.vagmcs" %% "optimus" % "3.4.1",
    "com.github.vagmcs" %% "optimus-solver-oj" % "3.4.1",
    "com.github.vagmcs" %% "optimus-solver-lp" % "3.4.1"

Optionally, you can also add the following extra dependencies for proprietary solvers:

"com.github.vagmcs" %% "optimus-solver-gurobi" % "3.4.1"
"com.github.vagmcs" %% "optimus-solver-mosek" % "3.4.1"

For more information see [Building and Linking](docs/building_and_linking.md)


  • [Linear Programming](docs/linear.md)
  • [Quadratic Programming](docs/quadratic.md)
  • [Mixed Integer Programming](docs/mixed_integer.md)
  • [Model Specification](docs/model_spec.md)


Contributions are welcome, for details see [CONTRIBUTING.md](CONTRIBUTING.md).

Reference for Scientific Publications

Please use the following BibTeX entry to cite Optimus in your papers:

      author = {Evangelos Michelioudakis and Anastasios Skarlatidis},
      title = {Optimus: an open-source mathematical optimization library},
      url = {https://github.com/vagmcs/Optimus}

*Note that all licence references and agreements mentioned in the Optimus * 96 README section above are relevant to that project's source code only.