Skip to content

Commit

Permalink
correct solveAll count
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimosts committed Sep 18, 2023
1 parent 0bb056c commit 63f2b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpmpy/solvers/choco.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def __init__(self, cpm_model=None, subsolver=None):
# initialise the native solver objects
self.chc_model = chc.Model()
self.chc_solver = chc.Model().get_solver()
self.helper_var = self.chc_model.intvar(0, 2)
self.helper_var = self.chc_model.intvar(0, 0)

# for the objective
self.has_obj = False
Expand Down

0 comments on commit 63f2b23

Please sign in to comment.