COIN-OR::LEMON - Graph Library

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/cplex.h

    r793 r1347  
    33 * This file is a part of LEMON, a generic C++ optimization library.
    44 *
    5  * Copyright (C) 2003-2009
     5 * Copyright (C) 2003-2013
    66 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
    77 * (Egervary Research Group on Combinatorial Optimization, EGRES).
     
    2424
    2525#include <lemon/lp_base.h>
     26#include <lemon/bits/lock.h>
    2627
    2728struct cpxenv;
     
    4142    cpxenv* _env;
    4243    mutable int* _cnt;
    43 
     44    mutable bits::Lock* _cnt_lock;
     45
     46    void incCnt();
     47    void decCnt();
     48   
    4449  public:
    4550
     
    151156    bool _message_enabled;
    152157
     158    void _write(std::string file, std::string format) const;
     159
    153160  public:
    154161
     
    171178    const cpxlp* cplexLp() const { return _prob; }
    172179
     180#ifdef DOXYGEN
     181    /// Write the problem or the solution to a file in the given format
     182
     183    /// This function writes the problem or the solution
     184    /// to a file in the given format.
     185    /// Trying to write in an unsupported format will trigger
     186    /// \ref lemon::LpBase::UnsupportedFormatError "UnsupportedFormatError".
     187    /// \param file The file path
     188    /// \param format The output file format.
     189    /// Supportted formats are "MPS", "LP" and "SOL".
     190    void write(std::string file, std::string format = "MPS") const {}
     191#endif
     192
    173193  };
    174194
Note: See TracChangeset for help on using the changeset viewer.