ILOG CPLEX .NET Reference Manual

ILinearNumExpr Members

ILinearNumExpr overview

Public Instance Properties

Constant Queries the constant term from the invoking ILinearIntExpr.

Public Instance Methods

Add Adds all the terms found in the scalar product passed as argument to the invoking object.
AddTermOverloaded. Adds the new term coef * var to a scalar product.
AddTermsOverloaded. Adds the new terms sum_i(coef[i] * var[i]) to a scalar product.
Clear Removes all terms from the invoking linear expression leaving a 0 expression behind.
GetLinearEnumerator Returns an enumerator for the variables in the invoking ILinearNumExpr expression.
RemoveOverloaded. Removes variables from the invoking ILinearNumExpr expression.

See Also

ILinearNumExpr Interface | ILOG.Concert Namespace