Closed ryanjoneil closed 1 year ago
I think the model.write
method simply delegates the call to the underlying solver (CBC or Gurobi), so the offending behavior is likely defined there.
@ryanjoneil Thanks for reporting this. But, I will close this as it is a duplicate of #164
I have some follow-up questions, but I will put those on #164.
Describe the bug
If I write the same model to two different files:
I get two files with different characteristics:
foo.lp
is a text file in LP format.foo.mps.mps.gz
is a gzipped MPS file with a repeated.mps
extension.Expected behavior
In the example above, I expect to get two files:
foo.lp
- text file in LP formatfoo.mps
- text file in MPS formatI do not expect the
.mps.mps
repeated extension.I only expect the output to be gzipped if I explicitly add a
.gz
extension the filename.Desktop (please complete the following information):