CplexEnv

Declared in lemon/cplex.h, in the group LP and MIP Solvers; the same class on the Doxygen site.

class CplexEnv

Reference counted wrapper around cpxenv pointer.

The cplex uses environment object which is responsible for checking the proper license usage. This class provides a simple interface for share the environment object between different problems.

Public Functions

CplexEnv()

Constructor.

CplexEnv( const CplexEnv & )

Shallow copy constructor.

CplexEnv & operator=( const CplexEnv & )

Shallow assignement.

virtual ~CplexEnv()

Destructor.

Protected Functions

inline cpxenv * cplexEnv()
inline const cpxenv * cplexEnv() const
class LicenseError : public Exception

This exception is thrown when the license check is not sufficient.

Public Functions

inline virtual const char * what() const noexcept

The short error message.