Skip to main content
FRAMES NO FRAMES

Class IloBound

Definition file: ilcplex/ilocplexi.h
Map of IloBoundIloBoundIloBoundIloConstraintIloIntExprArgIloNumExprArgIloExtractable

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

Method Summary
public IloBoundI *getImpl() const
public IloBound::TypegetType()
public IloNumVargetVar()
public IloBound()
public IloBound(IloBoundI * impl)
public IloBound(IloNumVar var, IloBound::Type type)
Inherited Methods from IloConstraint
getImpl, IloConstraint, IloConstraint
Inherited Methods from IloIntExprArg
getImpl, IloIntExprArg, IloIntExprArg
Inherited Methods from IloNumExprArg
getImpl, IloNumExprArg, IloNumExprArg
Inherited Methods from IloExtractable
asConstraint, asIntExpr, asModel, asNumExpr, asObjective, asVariable, end, getEnv, getId, getImpl, getName, getObject, IloExtractable, isConstraint, isIntExpr, isModel, isNumExpr, isObjective, isVariable, removeFromAll, setLocation, setName, setObject
Inner Enumeration
IloBound::Type
Method 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.


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