ILOG CPLEX .NET Reference Manual

ILinearNumExpr Methods

The methods of the ILinearNumExpr interface are listed below. For a complete list of ILinearNumExpr interface members, see the ILinearNumExpr Members topic.

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