The OplElement type exposes the following members.

Methods

  Name Description
Public method AsConstraint
This member function retrieves the value of the element as a constraint.

Return Value

A constraint.

Public method AsConstraintMap
This member function retrieves the value of the element as an array of constraints.

Return Value

An array of constraints.

Public method AsCumulFunctionExpr
This member function retrieves the value of the element as a cumul function expression.

Return Value

A cumul function expression.

Public method AsCumulFunctionExprMap
This member function retrieves the value of the element as a map of cumul function expression.

Return Value

A map cumul function expression.

Public method AsDiscreteDataCollection
This member function retrieves the value of the element as a collection.

Return Value

A collection.

Public method AsInt
This member function retrieves the integer value of the element. If the element is a decision variable, its value within the current solution is returned.

Return Value

The integer value of the element.

Public method AsIntervalSequenceVar
This member function retrieves the value of the element as a decision variable of type interval sequence.

Return Value

An interval sequence decision variable.

Public method AsIntervalSequenceVarMap
This member function retrieves the value of the element as an array of decision variables of type interval sequence.

Return Value

An array of interval sequence decision variables.

Public method AsIntervalVar
This member function retrieves the value of the element as a decision variable of type interval.

Return Value

An interval decision variable.

Public method AsIntervalVarMap
This member function retrieves the value of the element as an array of decision variables of type interval.

Return Value

An array of interval decision variables.

Public method AsIntExpr
This member function retrieves the value of the element as a decision expression of type integer.

Return Value

An integer decision expression.

Public method AsIntExprMap
This member function retrieves the value of the element as an array of decision expressions of type integer.

Return Value

An array of integer decision expressions.

Public method AsIntMap
This member function retrieves the value of the element as an array of integers.

Return Value

An array of integers.

Public method AsIntRange
This member function retrieves the value of the element as a range of integers.

Return Value

A range of integers.

Public method AsIntSet
This member function retrieves the value of the element as a set of integers.

Return Value

A set of integers.

Public method AsIntSetMap
This member function retrieves the value of the element as an array of integer sets.

Return Value

An array of integer sets.

Public method AsIntVar
This member function retrieves the value of the element as a decision variable of type integer.

Return Value

An integer decision variable.

Public method AsIntVarMap
This member function retrieves the value of the element as an array of decision variables of type integer.

Return Value

An array of integer decision variables.

Public method AsMap
Public method AsNum
This member function retrieves the numeric value of the element. If the element is a decision variable, its value within the current solution is returned.

Return Value

The numeric value of the element.

Public method AsNumExpr
This member function retrieves the value of the element as a decision expression of type float.

Return Value

A float decision expression.

Public method AsNumExprMap
This member function retrieves the value of the element as an array of decision expressions of type float.

Return Value

An array of float decision expressions.

Public method AsNumMap
This member function retrieves the value of the element as an array of floats.

Return Value

An array of floats.

Public method AsNumRange
This member function retrieves the value of the element as a range of floating-point values.

Return Value

A range of floating-point values.

Public method AsNumSet
This member function retrieves the value of the element as a set of floating-point values.

Return Value

A set of floating-point values.

Public method AsNumSetMap
This member function retrieves the value of the element as an array of float sets.

Return Value

An array of float sets.

Public method AsNumVar
This member function retrieves the value of the element as a decision variable of type float.

Return Value

A float decision variable.

Public method AsNumVarMap
This member function retrieves the value of the element as an array of decision variables of type float.

Return Value

An array of float decision variables.

Public method AsPiecewiseFunctionExpr
This member function retrieves the value of the element as a piecewise function.

Return Value

A piecewise function.

Public method AsPiecewiseFunctionExprMap
This member function retrieves the value of the element as a piecewise function map.

Return Value

A piecewise function map.

Public method AsStateFunctionExpr
This member function retrieves the value of the element as a state function expression.

Return Value

A state function expression.

Public method AsStateFunctionExprMap
This member function retrieves the value of the element as a map of state function expression.

Return Value

A map state function expression.

Public method AsString
This member function retrieves the value of the element as a string.

Return Value

A string.

Public method AsSymbolMap
This member function retrieves the value of the element as an array of strings.

Return Value

An array of strings.

Public method AsSymbolSet
This member function retrieves the value of the element as a set of strings.

Return Value

A set of strings.

Public method AsSymbolSetMap
This member function retrieves the value of the element as an array of string sets.

Return Value

An array of string sets.

Public method AsTuple
This member function retrieves the value of the element as a tuple.

Return Value

A tuple.

Public method AsTupleMap
This member function retrieves the value of the element as an array of tuples.

Return Value

An array of tuples.

Public method AsTupleSchema
This member function retrieves the value of the element as a schema of tuple sets.

Return Value

A schema of tuple sets.

Public method AsTupleSet
This member function retrieves the value of the element as a set of tuples.

Return Value

A set of tuples.

Public method AsTupleSetMap
This member function retrieves the value of the element as an array of tuple sets.

Return Value

An array of tuple sets.

Public method Dispose
Public method End
Clears the memory used by this object
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize (Overrides Object..::..Finalize()()()().)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the type of the current instance.
(Inherited from Object.)
Public method isDiscreteDataCollection
This member function enables you to know whether the element is a discrete data collection.

Return Value

IloTrue if the element is a discrete data collection.

Public method isMap
This member function enables you to know whether the element is a map.

Return Value

IloTrue if the element is a map.

Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString (Overrides Object..::..ToString()()()().)
Public method ToStringDisplay

See Also