Skip to content

Commit 312dcd5

Browse files
committed
remove doc
1 parent 6400a9e commit 312dcd5

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

cpmpy/solvers/gurobi.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,6 @@ def mus_native(cls, soft, hard=[]):
550550
grb_hard_cons = []
551551

552552

553-
# The Gurobi IIS algorithm minimizes constraints directly, unlike assumption-based solvers. However, a user-level constraint may be transformed to a group of multiple Gurobi constraints. In this case, we have to represent this group by a *single* soft constraint, otherwise the Gurobi IIS may not map to the user-level constraint MUS. We collect `grb_soft_cons` so that `grb_soft_cons[i]` is a single soft constraint representing `soft[i]`. After calling `computeIIS`, we can read the `IISConstr` (or variations) attribute to see which are in the IIS/MUS.
554553
grb_soft_cons = []
555554

556555
for soft_con in soft_cons:

0 commit comments

Comments
 (0)