This page is for an old version of Hexaly Optimizer.
We recommend that you update your version and read the documentation for the
latest stable release.
LocalSolver 11.5¶
Release notes
A method to retrieve the objective gap has been added in each supported language.
API Changes¶
Python¶
Added
LSSolution.get_objective_gap()
to retrieve the gap computed by the solver for the given objective.
C++¶
Added
LSSolution::getObjectiveGap()
to retrieve the gap computed by the solver for the given objective.
C#¶
Added
LSSolution.GetObjectiveGap
to retrieve the gap computed by the solver for the given objective.
Java¶
Added
LSSolution.getObjectiveGap
to retrieve the gap computed by the solver for the given objective.