Skip to main content
FRAMES NO FRAMES

Class IloNumVarMap

Definition file: ilopl/ilomap.h
Map of IloNumVarMapIloNumVarMapIloNumVarMap
This is the class for mapping a list of float variable values.

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

Method Summary
public IloNumVarArrayasNewNumVarArray() const
public const IloNumVarget(IloTuple index) const
public const IloNumVarget(IloSymbol index) const
public const IloNumVarget(const char * index) const
public const IloNumVarget(IloNum index) const
public const IloNumVarget(IloInt index) const
public IloNumVargetAt(IloMapIndexArray indices) const
public IloNumVarMapgetSub(const char * index) const
public IloNumVarMapgetSub(IloTuple index) const
public IloNumVarMapgetSub(IloInt index) const
public IloNumVarMapgetSub(IloNum index) const
public IloNumVarMapoperator[](IloTuple index) const
public IloNumVarMapoperator[](IloSymbol index) const
public IloNumVarMapoperator[](const char * index) const
public IloNumVarMapoperator[](IloNum index) const
public IloNumVarMapoperator[](IloInt index) const
public voidset(IloSymbol index, IloNumVar value)
public voidset(IloTuple index, IloNumVar value)
public voidset(IloNum index, IloNumVar value)
public voidset(IloInt index, IloNumVar value)
public voidset(const char * index, IloNumVar value)
Method Detail

asNewNumVarArray

public IloNumVarArray asNewNumVarArray() const

Returns the current object as new basic array


get

public const IloNumVar 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 IloNumVar 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 IloNumVar 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 IloNumVar 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 IloNumVar 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 IloNumVar 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 IloNumVarMap 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 IloNumVarMap 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 IloNumVarMap 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 IloNumVarMap 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 IloNumVarMap operator[](IloTuple index) const

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


operator[]

public IloNumVarMap operator[](IloSymbol index) const

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


operator[]

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

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


operator[]

public IloNumVarMap operator[](IloNum index) const

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


operator[]

public IloNumVarMap operator[](IloInt index) const

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


set

public void set(IloSymbol index, IloNumVar value)

Sets the element index in the current map to value. The invoking map should be of only one dimension.


set

public void set(IloTuple index, IloNumVar value)

Sets the element index in the current map to value. The invoking map should be of only one dimension.


set

public void set(IloNum index, IloNumVar value)

Sets the element index in the current map to value. The invoking map should be of only one dimension.


set

public void set(IloInt index, IloNumVar value)

Sets the element index in the current map to value. The invoking map should be of only one dimension.


set

public void set(const char * index, IloNumVar value)

Sets the element index in the current map to value. The invoking map should be of only one dimension.