AI tools, scored for your job
Get paid to train AI
🤝 You're in the Free & Open Source library — community-built tools you can use without paying. A different concept from our scored AI directory.
Home › Free & Open Source › Students › ojAlgo
✦ Free & open sourceStudents

ojAlgo

High-performance pure Java library for mathematics, linear algebra, and optimisation.

Pure Java math and optimisation library

High-performance linear algebra, LP, QP, and MIP solvers with zero dependencies.

Free forever · open source · MIT
✓ Light setup✓ Browser-based✓ Real-time collaboration
7
ZEKAI
Top-tier Java math library
Free & open source · Students
Ease of setup3
Usefulness9
Maintenance9.5
Community6.5
★ 506
GITHUB
Sep 2026
UPDATED
MIT
LICENSE
🛠 Don't want to self-host? We can set it up →
⚡ Quick answer

ojAlgo provides high-performance mathematics, linear algebra, and optimisation tools written in pure Java. It suits developers and researchers needing fast matrix operations and mathematical programming without external dependencies.

Runs on
Cross-platform
Hosting
Desktop
Languages
Java
License
MIT

What it is

The library offers dense and sparse multidimensional arrays supporting complex numbers, rational numbers, and quaternions, with memory allocation options including off-heap or file storage. It includes solvers for linear, quadratic, and mixed-integer programming, alongside data science utilities like artificial neural networks and clustering.

Who it's for

It suits Java developers and researchers working on mathematical modelling, data science, or optimisation problems. It does not suit those working outside the Java ecosystem or looking for out-of-the-box GUI applications.

Key features

Pure Java matrices

Delivers high-performance linear algebra operations with zero external dependencies.

Optimisation solvers

Includes built-in LP, QP, and MIP mathematical programming solvers.

Flexible array structures

Handles sparse or dense N-dimensional arrays supporting complex and rational number types.

Data science tools

Provides artificial neural networks, clustering, and time series processing utilities.

How to start

Up and running in 3 steps

1
Clone the repository using git clone https://github.com/optimatika/ojAlgo.git
2
Add the dependency to your Maven or Gradle project configuration from Maven Central.
3
Compile and run tests locally using the included Maven Wrapper with ./mvnw test.
Real talk

Our honest verdict

What's great

  • Fastest pure Java linear algebra library available according to independent benchmarks.
  • Zero external dependencies keeps your build lightweight and clean.
  • Supports advanced number types including quaternions and rational numbers.
  • Off-heap and file-based array memory allocation options for large datasets.

Where it falls short

  • Requires Java 11 or higher to build and run.
  • Documentation is primarily in the form of blog posts and source code reading.
  • Third-party solver integrations require a commercial Optimatika subscription.
Cost

Pricing & license

Free under its MIT licence, with commercial support and third-party solver integrations available via a paid Optimatika subscription. Otherwise, the only cost is your own development time.

Paid work

Open remote AI-training roles

880 open remote AI-training roles, updated November 15, 2026; most pay $20–$175 an hour. Zekai lists them free; the application goes to the employer’s platform.

See all open roles →
Compare

Alternatives

These reviewed AI tools do the same job instantly — from our scored directory.

Get more

Use it, or have us set it up

📄 Free PDF: ojAlgo for Students
A plain-language guide to getting your first result. Sent to your inbox.
🔔 64 people want a full video tutorial — add your vote
🛠 Don't want to set it up yourself?
We'll install, host & configure ojAlgo for you — and train your team.
Get it done for you ↗
Questions

FAQ

What Java version does ojAlgo require?

ojAlgo requires Java 11 or newer to build and run.

Does ojAlgo require external libraries?

No, it is built with zero dependencies in pure Java.

Where can I find usage examples?

Example code from the author's blog posts is available in a multi-file GitHub gist linked in the README.

Radar

Latest AI news

✉️ The weekly free toolkit
The best new free & open-source tools for Students — one short email a week, in your language.
Free · 1 email/week · unsubscribe anytime
Get paid to train AI →

See Zekai first in Google