The IConstraintMap type exposes the following members.

Methods

  Name Description
Public method Get(Double)
This member function returns the element index from the map. The invoking map should be of one dimension only. See Get(Int32).
Public method Get(Int32)
This member function returns the element index from the map. The invoking map should be of one dimension only. Example with a Map of int: M[i in 1..5][j in 1..2] = j M.GetSub(1).Get(2) will return 2
Public method Get(String)
This member function returns the element index from the map. The invoking map should be of one dimension only. See get(IloInt).
Public method Get(ITuple)
This member function returns the element index from the map. The invoking map should be of one dimension only. See Get(Int32).
Public method GetSub(Double)
Returns the submap index from the map. The invoking map should have more than one dimension. The index is of a numerical type. GetSub(Int32)
Public method GetSub(Int32)
Returns the submap index from the map. The invoking map should have more than one dimension. The index is of an integer type. Example with a Map of int: M[i in 1..5][j in 1..2] = iM.GetSub( 1 ) returns [1,1]
Public method GetSub(String)
Returns the submap index from the map. The invoking map should have more than one dimension. The index is of a string type. GetSub(Int)
Public method GetSub(ITuple)
This method returns the submap index from the map. The invoking map should have more than one dimension.
Public method MakeMapIndexer
Retrieves the indices of an array.
(Inherited from IMap.)
Public method Set(Double, IConstraint)
Sets the element index from the map to value. The invoking map should be of only one dimension. See Set(Int).
Public method Set(Int32, IConstraint)
Sets the element index from the map to value. The invoking map should be of only one dimension. Example with a Map of int: M[i in 1..5][j in 1..2] = j M.GetSub(1).Set(2, 4) will set M[1][2] to 4 instead of 2.
Public method Set(String, IConstraint)
Sets the element index from the map to value. The invoking map should be of only one dimension. See Set(Int).
Public method Set(ITuple, IConstraint)
Sets the element index from the map to value. The invoking map should be of only one dimension. Set(Int,Elt)

See Also