NO FRAMES

Class IloBound

Definition file: ilcplex/ilocplexi.h

This class represents a bound as a constraint in a conflict.

Constructor Summary
public IloBound()
public IloBound(IloBoundI * impl)
public IloBound(IloNumVar var, IloBound::Type type)
Method Summary
public IloBoundI *getImpl() const
public IloBound::TypegetType()
public IloNumVargetVar()
Inherited Methods from IloConstraint
getImpl
Inherited Methods from IloIntExprArg
getImpl
Inherited Methods from IloNumExprArg
getImpl
Inherited Methods from IloExtractable
asConstraint, asIntExpr, asModel, asNumExpr, asObjective, asVariable, end, getEnv, getId, getImpl, getName, getObject, isConstraint, isIntExpr, isModel, isNumExpr, isObjective, isVariable, setName, setObject
Inner Enumeration
IloBound::Type
Constructor Detail

IloBound

public IloBound()
This constructor creates an empty handle. You must initialize it before you use it.

IloBound

public IloBound(IloBoundI * impl)
This constructor creates a handle object from a pointer to an implementation object.

IloBound

public IloBound(IloNumVar var, IloBound::Type type)

This constructor creates a bound for use in conflicts.


Method Detail

getImpl

public IloBoundI * getImpl() const
This member function returns a pointer to the implementation object of the invoking handle.

getType

public IloBound::Type getType()

Accesses the bound specified by the invoking object.


getVar

public IloNumVar getVar()

Accesses the variable for which the invoking object specifies a bound.


Inner Enumeration Detail

Enumeration Type

Definition file: ilcplex/ilocplexi.h

This enumeration lists the types of bounds that may appear in a conflict.

Fields
Lower
Upper