Instance¶
-
class ampl::Instance¶
Base class for instances of modelling entities.
Public Functions
-
inline std::string name() const¶
Returns the name of this instance.
-
inline std::string toString() const¶
Returns a string representation of this instance.
-
template<class InnerInstance>
inline Instance(BasicInstance<InnerInstance> instance)¶ Constructor for base class conversions.
-
template<class InnerInstance>
inline Instance &operator=(BasicInstance<InnerInstance> instance)¶ Operator for base class conversions.
-
inline std::string name() const¶