coin-or / coin-or/python-mip

Unexpected file name on writing the solution

Open
#164 5 comments 0 reactions 0 assignees View on GitHub
cbc reproducible
Dominant language
Linear Programming
Stars
600
Forks
108
PR merge metrics
No merged PRs in 30d

Description

When calling `model.write('myfile.mps')`, the resulting output file `myfile.mps.mps.gz` is created.

1. Please remove the invalid `mps.mps` suffix, the end result should be named `myfile.mps.gz`.
2. It would likely be better if I were given an API option to choose if I want the result zipped or not. In my case, plaintext would be much better since I want to store this in a source control repository as a regression test, so now I have to add a step to unzip the file inside my process.

Thank you.

---
Running python 3.7 on mip-1.13.0 on both Windows and Linux.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.