COIN-OR::LEMON - Graph Library

Opened 11 years ago

Closed 10 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:


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 in MPS, LP and SOL formats (this latter saves the solution).
  • GlpkBase supports MPS and LP.

Attachments (1)

457-1782aa72495a.patch (6.1 KB) - added by Alpar Juttner 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Alpar Juttner

Attachment: 457-1782aa72495a.patch added

comment:1 Changed 11 years ago by Alpar Juttner

The attached patch should be applied on the top of [caf16813b1e8], its patch can be found at #446.

comment:2 Changed 10 years ago by Alpar Juttner

Resolution: done
Status: newclosed

It is in the main branch, see [1782aa72495a].

Note: See TracTickets for help on using tickets.