public class UnsupportedExpressionException
extends CpxException
UnsupportedExpression is thrown when there is an
attempt to create a
model with IloCplex that does not use only linear expressions
for IloRanges and linear or quadratic expressions for the
objective.| Constructor and Description |
|---|
UnsupportedExpressionException(IloNumExpr expr)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IloNumExpr |
getExpr()
Query to get the expression that triggered the unsupported expression
exception.
|
public UnsupportedExpressionException(IloNumExpr expr)
expr - the unsupported IloNumExpr expressionpublic IloNumExpr getExpr()