Adds a term (which may be an expression itself) to the expression of the specified IObjective object.

Namespace: ILOG.Concert
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0

Syntax

C#
void AddToExpr(
	IObjective obj,
	INumExpr expr
)
Visual Basic
Sub AddToExpr ( _
	obj As IObjective, _
	expr As INumExpr _
)

Parameters

obj
Type: ILOG.Concert..::..IObjective
The objective to modify.
expr
Type: ILOG.Concert..::..INumExpr
The new expression to add.

See Also