ILOG CPLEX .NET Reference Manual

IModeler.Constant Method (Double)

Creates and returns an expression representing the constant term x.

INumExpr Constant(
   double x
);

Parameters

x
A value for which to construct a constant expression term.

Return Value

An expression representing the constant x.

Remarks

This method does not need to be called by the user, as overloaded versions of all methods involving expressions are available to deal directly with constants.

See Also

IModeler Interface | ILOG.Concert Namespace | IModeler.Constant Overload List