coin-or / python-mip

Python-MIP: collection of Python tools for the modeling and solution of Mixed-Integer Linear programs
Eclipse Public License 2.0
527 stars 92 forks source link

Model.translate returns the input ref #91

Closed jurasofish closed 4 years ago

jurasofish commented 4 years ago

Looks like a bug to me, mixup between ref and res

https://github.com/coin-or/python-mip/blob/c483a5373727a24d74c2fcba2179c4810a2b1d7b/mip/model.py#L1261-L1282

jurasofish commented 4 years ago

Actually my mistake I think it's correct