Description
ojAlgo is a pure Java library for mathematical optimisation and linear algebra. It has no dependencies and no native code. It provides LP, QP and MIP solvers with a modelling API, dense and sparse matrices, and the standard decompositions, including LU, QR, Cholesky, singular value and eigenvalue. It also has array, statistics and time series classes that can be sparse or dense and hold number types such as complex and rational numbers. The same models can run on commercial solvers such as CPLEX and Gurobi, or on open source native solvers such as HiGHS and SCIP, and the site offers an Optimisation Service for models that need more solving power. The library is released under the MIT licence and has been in development since 2003. It is installed as a single Maven dependency and works with Java 11 or later.…
Highlights
- LP, QP and MIP solvers with a modelling API
- Dense and sparse matrices with decompositions
- Pure Java with zero dependencies
- MIT licence
Ratings & Reviews
No ratings yet
Be the first to rate OjAlgo.
People also visit

cuopt-numerical-optimization-api-cli
LP, MILP, and QP (beta) with cuOpt — CLI only (MPS/LP/QPS files, cuopt_cli)

cuopt-numerical-optimization-formulation
LP, MILP, QP — concepts, problem-text parsing, and formulation patterns
Oscar.jl
A comprehensive open source computer algebra system for computations in algebra
OjAlgo FAQ
What is ojAlgo?
An open source Java library for optimisation and linear algebra, used to build and solve linear, quadratic and mixed-integer models.
Is it pure Java?
Yes. The site says it has no native code, no JNI and no platform-specific binaries, so it runs anywhere a JVM runs.
How do I add it to a project?
Add the Maven dependency org.ojalgo:ojalgo. The site says it requires Java 11 or later and works from Kotlin, Scala and other JVM languages.
What license is it under?
The MIT licence, which the site says allows free use in any project.
What are the best OjAlgo alternatives?
Popular alternatives to OjAlgo include Oscar.jl, opensource.builders and OpenBookLM. See all OjAlgo alternatives








