The ILinearNumExpr type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
Add |
Adds all the terms found in the scalar product passed as argument to the
invoking object.
|
|
|
AddTerm(Double, INumVar) |
Adds the new term coef * var to a scalar product.
|
|
|
AddTerm(INumVar, Double) |
Adds the new term coef * var to a scalar product.
|
|
|
AddTerms(array<Double>[]()[][], array<INumVar>[]()[][]) |
Adds the new terms sum_i(coef[i] * var[i]) to a scalar product.
|
|
|
AddTerms(array<INumVar>[]()[][], array<Double>[]()[][]) |
Adds the new terms sum_i(coef[i] * var[i]) to a scalar product.
|
|
|
AddTerms(array<Double>[]()[][], array<INumVar>[]()[][], Int32, Int32) |
Adds the new terms sum_i(coef[i] * var[i]) to a scalar product.
|
|
|
AddTerms(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32) |
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.
|
|
|
MakeClone |
This method must be implemented so that it copies the invoking object
to the engine of the given copy manager using the copy manager.
(Inherited from ICopyable.) |
|
|
Remove(INumVar) |
Removes a variable from the invoking ILinearNumExpr expression.
|
|
|
Remove(array<INumVar>[]()[][]) |
Removes variables from the invoking ILinearNumExpr
expression.
|
|
|
Remove(array<INumVar>[]()[][], Int32, Int32) |
Removes variables from the invoking ILinearNumExpr
expression.
|
|
|
VisitChildren |
This method is called when the object and all its sub-objects must be
visited. To implement this method, you should first call the method
ICopyableVisitor.BeginVisit() with yourself as parameter,
then call ICopyableVisitor.VisitChild() for each
sub-copyables, the call ICopyableVisitor.EndVisit() once
again with yourself as parameter.
(Inherited from ICopyable.) |