Repository navigation
v57.7.0
<dependency>
<groupId>org.ojalgo</groupId>
<artifactId>ojalgo</artifactId>
<version>57.7.0</version>
</dependency>- Modelling API –
newRealVariable(..),newIntegerVariable(..),newBinaryVariable(..),newConstraint(..)andgetObjective()onExpressionsBasedModel, named as in the Optimisation Service client'sOptModel, so a model reads the same in both.Optimisation.Resultgives the objective value withdoubleValue()and hasisOptimal()/isFeasible(), andVariablehasdoubleValue(),intValue(),booleanValue()and more. - Strict LP file reading –
FileFormat.LPinput that is not LP format is anIllegalArgumentExceptionwith 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
INFEASIBLEor worse-than-optimal results from presolve rounding, large integer bounds or invalid Gomory cuts; unbounded models are reportedUNBOUNDED, and start values set withVariable.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
UNBOUNDEDresults or endless primal/dual alternation (#707, #715, #716). - CalendarDate fixes –
NANOSandMICROSno longer have a length of 0,until(..)counts complete units asjava.timedoes,adjustInto(..)andCalendarDateDurationare fixed, and there is conversion to and fromjava.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