Skip to main content
FRAMES NO FRAMES

Class IloConstraintMap

Definition file: ilopl/ilomap.h
Map of IloConstraintMapIloConstraintMapIloConstraintMap
This is the class for mapping a list of constraint values.

This is the class for mapping constraint elements. This list is indexed by sets of integers, floats, strings or tuples.

Method Summary
public IloConstraintArrayasNewConstraintArray() const
public const IloConstraintget(IloTuple index) const
public const IloConstraintget(IloSymbol index) const
public const IloConstraintget(const char * index) const
public const IloConstraintget(IloNum index) const
public const IloConstraintget(IloInt index) const
public IloConstraintgetAt(IloMapIndexArray indices) const
public IloConstraintMapgetSub(const char * index) const
public IloConstraintMapgetSub(IloTuple index) const
public IloConstraintMapgetSub(IloInt index) const
public IloConstraintMapgetSub(IloNum index) const
public IloConstraintMapoperator[](IloTuple index) const
public IloConstraintMapoperator[](IloSymbol index) const
public IloConstraintMapoperator[](const char * index) const
public IloConstraintMapoperator[](IloNum index) const
public IloConstraintMapoperator[](IloInt index) const
Method Detail

asNewConstraintArray

public IloConstraintArray asNewConstraintArray() const

Returns the current object as new basic array


get

public const IloConstraint get(IloTuple index) const

This member function returns the element index from the map. The invoking map should be of one dimension only.

Parameters:

index
The requested element.

get

public const IloConstraint get(IloSymbol index) const

This member function returns the element idx from the map. The invoking map should be of one dimension only. See get(IloInt).


get

public const IloConstraint get(const char * index) const

This member function returns the element index from the map. The invoking map should be of one dimension only.

Parameters:

index
The requested element.

get

public const IloConstraint get(IloNum index) const

This member function returns the element index from the map. The invoking map should be of one dimension only.

Parameters:

index
The requested element.

get

public const IloConstraint get(IloInt index) const

This member function returns the element index from the map. The invoking map should be of one dimension only.

Parameters:

index
The requested element.

getAt

public IloConstraint getAt(IloMapIndexArray indices) const

This member function returns the element corresponding to indices from the map. The invoking map should have as many dimensions as the size of indices.

Parameters:

indices
The requested element.

getSub

public IloConstraintMap getSub(const char * index) const

This member function returns the submap index from the map. The invoking map should have more than one dimension.


getSub

public IloConstraintMap getSub(IloTuple index) const

This member function returns the submap index from the map. The invoking map should have more than one dimension.

see IloMap#getSub(IloInt)

getSub

public IloConstraintMap getSub(IloInt index) const

This member function returns the submap index from the map. The invoking map should have more than one dimension.


getSub

public IloConstraintMap getSub(IloNum index) const

This member function returns the submap index from the map. The invoking map should have more than one dimension.


operator[]

public IloConstraintMap operator[](IloTuple index) const

Returns the submap index from the map. The invoking map should have more than one dimension.


operator[]

public IloConstraintMap operator[](IloSymbol index) const

Returns the submap index from the map. The invoking map should have more than one dimension.


operator[]

public IloConstraintMap operator[](const char * index) const

Returns the submap index from the map. The invoking map should have more than one dimension.


operator[]

public IloConstraintMap operator[](IloNum index) const

Returns the submap index from the map. The invoking map should have more than one dimension.


operator[]

public IloConstraintMap operator[](IloInt index) const

This member function returns the submap index from the map. The invoking map should have more than one dimension.