COIN-OR::LEMON - Graph Library

Changeset 1231:1782aa72495a in lemon for lemon/cplex.h


Ignore:
Timestamp:
07/20/12 17:09:01 (12 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Add file export funcionality to LpBase? (#457)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/cplex.h

    r793 r1231  
    151151    bool _message_enabled;
    152152
     153    void _write(std::string file, std::string format) const;
     154
    153155  public:
    154156
     
    171173    const cpxlp* cplexLp() const { return _prob; }
    172174
     175#ifdef DOXYGEN
     176    /// Write the problem or the solution to a file in the given format
     177
     178    /// This function writes the problem or the solution
     179    /// to a file in the given format.
     180    /// Trying to write in an unsupported format will trigger
     181    /// \ref UnsupportedFormatError.
     182    /// \param file The file path
     183    /// \param format The output file format.
     184    /// Supportted formats are "MPS", "LP" and "SOL".
     185    void write(std::string file, std::string format = "MPS") const {}
     186#endif
     187
    173188  };
    174189
Note: See TracChangeset for help on using the changeset viewer.