Skip to main content
FRAMES NO FRAMES

IloElement

public IloIntExprArg IloElement(IloIntArray a, IloIntExprArg x)
public IloIntExprArg IloElement(IloIntVarArray a, IloIntExprArg x)
public IloNumExprArg IloElement(IloNumArray a, IloIntExprArg x)
public IloNumExprArg IloElement(IloNumVarArray a, IloIntExprArg x)
Definition file: ilconcert/iloexpression.h
An element expression for use in a constraint or another expression.

This function returns an expression for use in a constraint or other expression. The semantics of this expression are: when x takes the value i the value of the expression is equal to a[i].

See Also: