Skip to content

Commit

Permalink
Test v9.10 with modified solver parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
hanno-becker committed Jul 8, 2024
1 parent d960ba9 commit ecbffd1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions slothy/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3129,6 +3129,9 @@ def _init_external_model_and_solver(self):
self._model.cp_model = cp_model.CpModel()
self._model.cp_solver = cp_model.CpSolver()
self._model.cp_solver.random_seed = self.config.solver_random_seed
self._model.cp_solver.parameters.num_workers = 16
self._model.cp_solver.parameters.cp_model_probing_level=0
self._model.cp_solver.parameters.linearization_level=0

def _NewIntVar(self, minval, maxval, name=""): # pylint:disable=invalid-name
r = self._model.cp_model.NewIntVar(minval,maxval, name)
Expand Down

0 comments on commit ecbffd1

Please sign in to comment.