v6.9 (2018-09)
Updated dependencies
- Protobuf 3.5.1 -> 3.6.1
- [Optional] SCIP 4.0 -> 6.0
CP-SAT
- Breaking change API. Full documentation here.
- Expose
ModelStats
andCpSolverResponseStats
in Python, Java and C#. - Rename
SolveWithSolutionObserver
toSolveWithSolutionCallback
in Python (#841). - Rename
NewSolution
toOnSolutionCallback
on solution callback in Python.
Make sure to call super in__init__
e.g.:class MySolutionCallback(cp_model.CpSolverSolutionCallback): def __init__(self): cp_model.CpSolverSolutionCallback.__init__(self) self.__solution_count = 0 def OnSolutionCallback(self): print('Solution {}, time = {}s, objective = {}, makespan = {}'.format( self.__solution_count, self.WallTime(), self.ObjectiveValue(), self.Value(makespan))) self.__solution_count += 1
- Expose StopSearch on solution callback in Python, Java and C#. Documentation here.
- Expose
- Improve Python docstring documentation. Documentation here.
- Complete Java implementation of the solver interface and cookbook updated.
- Implement modulo.
- Change implementation of reservoir: Add API with boolean to specify optional draining/filling events.
Linear Solver
- Expose
InterruptSolve
in Java and C#.
Constraint Solver
- Expose
SolutionCollector
director in C#.
Python
- Add support for
Python 3.7
. - When compiling from source: prefer
python3
overpython2
when detecting python.
.Net
- Complete rewrite of the .NET layer.
- Provide a
Google.OrTools
NetStandard 2.0 Nuget package compatible with Runtime IDentifierwin-x64
,linux-x64
andosx-x64
. - Provide a
Google.OrTools.FSharp
Nuget package.
- Provide a
- Add project file for all .Net examples.
- Update all F# script examples (.fsx) to regular F# project (.fs).
- Add documentation on .Net package build generation here.
Flatzinc
- Add support for sets in Flatzinc (using
nosets.mzn
)
Contributions
- Add support for Binder Thanks to Kevin Mader.
- Make DecisionVisitor a director type in Java bindings Thanks to Jeremy Apthorp.
Full list of commits since v6.8 here