coin-or / pulp

A python Linear Programming API
http://coin-or.github.io/pulp/
Other
2.05k stars 381 forks source link

Side effect free write functions #639

Open Nickleaton opened 1 year ago

Nickleaton commented 1 year ago

Describe the new feature

In mps_lp split writeLP and writeMPS to have versions that produce a string with the contents of the file.

That way you easily write side effect free code.

Additional info

Please answer these questions before submitting your feature request.

Is your feature request related to an issue? Please include the issue number.

No

Does this feature exist in another product or project? Please provide a link.

Best practice