Closed rodoufu closed 4 years ago
Describe the bug The Constr object expects model: "mip.Model", idx: int but it is receiving self which is a SolverOsi(Solver).
Constr
model: "mip.Model", idx: int
self
https://github.com/coin-or/python-mip/blob/master/mip/cbc.py#L2140
Thansk @rodoufu ! Fixed in master.
Describe the bug The
Constr
object expectsmodel: "mip.Model", idx: int
but it is receivingself
which is a SolverOsi(Solver).https://github.com/coin-or/python-mip/blob/master/mip/cbc.py#L2140