COIN-OR::LEMON - Graph Library

Changeset 1063:1782aa72495a in lemon-main for lemon/glpk.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/glpk.h

    r877 r1063  
    116116    virtual void _messageLevel(MessageLevel level);
    117117
     118    virtual void _write(std::string file, std::string format) const;
     119
    118120  private:
    119121
     
    145147    int lpxCol(Col c) const { return cols(id(c)); }
    146148
     149#ifdef DOXYGEN
     150    /// Write the problem or the solution to a file in the given format
     151   
     152    /// This function writes the problem or the solution
     153    /// to a file in the given format.
     154    /// Trying to write in an unsupported format will trigger
     155    /// \ref UnsupportedFormatError.
     156    /// \param file The file path
     157    /// \param format The output file format.
     158    /// Supportted formats are "MPS" and "LP".
     159    void write(std::string file, std::string format = "MPS") const {}
     160#endif
     161
    147162  };
    148163
Note: See TracChangeset for help on using the changeset viewer.