Any post containing code examples

A comparison between some iterative methods to solve linear equation systems. We'll compare 3 different methods: Jacobi, Gauss-Seidel and the Conjugate Gradient method. First the Jacobi and Gauss-Seidel methods are…

Continue ReadingIterative Solver Comparison

Imagine there's a sequence of operations you need to perform on a dataset, and this dataset is very large. There is absolutely no way the entire dataset could fit in…

Continue ReadingIntroducing BatchNode

With ojAlgo v51.2.0 the IntegerSolver gained support for Gomory Mixed Integer (GMI) cuts. Details of what they are and how they're derived is described in many publications. Just google it.…

Continue ReadingGomory Mixed Integer Cuts

With v51.1.0 the IntegerSolver got redesigned in terms of how it multi-threads as well as how it can be configured. With most, if not all, tests the new design performs…

Continue ReadingMIP Strategy Configuration

Browsing through code that uses ojAlgo it's quite common to see it being used inefficiently or at least not the intended way. Here's an example code line, seen in the…

Continue ReadingCommon Mistake

Almost everything in ojAlgo makes use of or interacts with some array based data structure. To always code directly against raw arrays like double[], float[] or Number[] would be awkward.…

Continue ReadingWorking With Arrays

ojAlgo's MatrixStore interface largely defines what you can do with matrices. There are many implementations of that interface provided. They store the elements differently and exploit structure to perform operations…

Continue ReadingSparse and Special Structure Matrices

v48.3.0 had a pure Neural Network focus: Support for¬†floatPossibility to "get" all individual parameters of the networkNew file format to save trained networks to diskImproved separation between building, training and…

Continue ReadingNeural Network New Features in v48.3