Opened 12 years ago
Closed 11 years ago
#457 closed enhancement (done)
File export functionality for the LP interface
Reported by: | Alpar Juttner | Owned by: | Alpar Juttner |
---|---|---|---|
Priority: | major | Milestone: | LEMON 1.3 release |
Component: | core | Version: | hg main |
Keywords: | Cc: | ||
Revision id: |
Description
The attached solution implements a simple
write(std::string fname, std::string format);
member function, where fname
is a filename and format
is a file format name. The backends must reimplement the corresponding _write(...)
virtual function. If the format is not supported by the backend an UnsupportedFormatError
exception is thrown.
Currently only two backends are implemented.
CplexBase
supports saving inMPS
,LP
andSOL
formats (this latter saves the solution).GlpkBase
supportsMPS
andLP
.
Attachments (1)
Change History (3)
Changed 12 years ago by
Attachment: | 457-1782aa72495a.patch added |
---|
comment:1 Changed 12 years ago by
comment:2 Changed 11 years ago by
Resolution: | → done |
---|---|
Status: | new → closed |
It is in the main branch, see [1782aa72495a].
Note: See
TracTickets for help on using
tickets.
The attached patch should be applied on the top of [caf16813b1e8], its patch can be found at #446.