Skip to content

v57.7.0

Choose a tag to compare

@apete apete released this 11 Nov 18:23
· 39 commits to develop since this release
<dependency>
    <groupId>org.ojalgo</groupId>
    <artifactId>ojalgo</artifactId>
    <version>57.7.0</version>
</dependency>
  • Modelling API – newRealVariable(..), newIntegerVariable(..), newBinaryVariable(..), newConstraint(..) and getObjective() on ExpressionsBasedModel, named as in the Optimisation Service client's OptModel, so a model reads the same in both. Optimisation.Result gives the objective value with doubleValue() and has isOptimal()/isFeasible(), and Variable has doubleValue(), intValue(), booleanValue() and more.
  • Strict LP file reading – FileFormat.LP input that is not LP format is an IllegalArgumentException with the line number. Previously the reader could skip what it did not recognise, read a different model, or never return.
  • MIP fixes – no more false INFEASIBLE or worse-than-optimal results from presolve rounding, large integer bounds or invalid Gomory cuts; unbounded models are reported UNBOUNDED, and start values set with Variable.setValue(..) are again used as the first incumbent (#708, #710, #711, #712, #714).
  • LP robustness – the simplex solvers no longer hang on overflowing ratios or cycle on extreme coefficients, and small pivot elements no longer give false UNBOUNDED results or endless primal/dual alternation (#707, #715, #716).
  • CalendarDate fixes – NANOS and MICROS no longer have a length of 0, until(..) counts complete units as java.time does, adjustInto(..) and CalendarDateDuration are fixed, and there is conversion to and from java.time.Duration.

57.7.0 requires Java 11. Released at the same time, 58.0.0 has the same content, requires Java 22 and adds optional native BLAS and LAPACK.

LP files that were read leniently before can now be rejected, and CalendarDate.until(..) with a CalendarDateUnit can give a different count – see CHANGELOG.md before upgrading.

Full Changelog: v57.6.2...v57.7.0