Class IloNot
Definition file: ilconcert/ilomodel.h
Negation of its argument.
The class IloNot
represents a constraint
that is the negation of its
argument. In order to be taken into account,
this constraint must be added to a model
and extracted by an algorithm, such as IloCplex
or
IloSolver
.
See Also:
operator!
Constructor Summary |
---|
public | IloNot() |
public | IloNot(IloNotI * impl) |
Method Summary |
---|
public IloNotI * | getImpl() const |
Inherited Methods from IloExtractable |
---|
asConstraint, asIntExpr, asModel, asNumExpr, asObjective, asVariable, end, getEnv, getId, getImpl, getName, getObject, isConstraint, isIntExpr, isModel, isNumExpr, isObjective, isVariable, setName, setObject |
public IloNot()
This constructor creates an empty handle. You must initialize it before you use it.
public IloNot(IloNotI * impl)
This constructor creates a handle object from a pointer to an implementation object.
public IloNotI * getImpl() const
This member function returns a pointer to the implementation object of the invoking handle.