Skip to content

Commit 0b84c39

Browse files
committed
IIS should return bool
1 parent 3468315 commit 0b84c39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pyoptinterface/_src/copt.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,8 @@ def set_silent(model, value: bool):
337337
),
338338
ConstraintAttribute.IIS: lambda model, constraint: model._get_constraint_IIS(
339339
constraint
340-
),
340+
)
341+
> 0,
341342
}
342343

343344
constraint_attribute_set_func_map = {

0 commit comments

Comments
 (0)