The ILQNumExpr type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Add(ILinearNumExpr) |
Adds all the terms found in the scalar product passed as argument to the
invoking object.
(Inherited from ILinearNumExpr.) | |
| Add(ILinearNumExpr) |
Adds all terms found in lexpr to the invoking object.
| |
| Add(IQuadNumExpr) |
Adds all terms found in qexpr to the invoking object.
| |
| Add(IQuadNumExpr) | Adds all terms found in qexpr to the invoking object. | |
| AddTerm(Double, INumVar) |
Adds the new term coef * var to a scalar product.
(Inherited from ILinearNumExpr.) | |
| AddTerm(Double, INumVar) |
Adds the new term coef * var to
the invoking linear quadratic expression.
| |
| AddTerm(INumVar, Double) |
Adds the new term coef * var to a scalar product.
(Inherited from ILinearNumExpr.) | |
| AddTerm(INumVar, Double) |
Adds the new term coef * var to
the invoking linear quadratic expression.
| |
| AddTerm(Double, INumVar, INumVar) |
Adds the new term coef * var1 * var2 to
the invoking linear quadratic expression.
| |
| AddTerm(Double, INumVar, INumVar) | Adds the new term coef * var1 * var2 to the invoking quadratic expression. | |
| AddTerms(array<Double>[]()[][], array<INumVar>[]()[][]) |
Adds the new terms sum_i(coef[i] * var[i]) to a scalar product.
(Inherited from ILinearNumExpr.) | |
| AddTerms(array<Double>[]()[][], array<INumVar>[]()[][]) |
Adds the terms sum_i (coef[i] * var[i])
to the invoking linear quadratic expression.
| |
| AddTerms(array<INumVar>[]()[][], array<Double>[]()[][]) |
Adds the new terms sum_i(coef[i] * var[i]) to a scalar product.
(Inherited from ILinearNumExpr.) | |
| AddTerms(array<INumVar>[]()[][], array<Double>[]()[][]) |
Adds the terms sum_i (coef[i] * var[i])
to the invoking linear quadratic expression.
| |
| AddTerms(array<Double>[]()[][], array<INumVar>[]()[][], array<INumVar>[]()[][]) |
Adds the terms sum_i (coef[i] * var1[i] * var2[i])
to the invoking linear quadratic expression.
| |
| AddTerms(array<Double>[]()[][], array<INumVar>[]()[][], array<INumVar>[]()[][]) |
Adds the terms sum_i (coef[i] * var1[i] * var2[i])
to the invoking quadratic expression.
(Inherited from IQuadNumExpr.) | |
| AddTerms(array<Double>[]()[][], array<INumVar>[]()[][], Int32, Int32) |
Adds the new terms sum_i(coef[i] * var[i]) to a scalar product.
(Inherited from ILinearNumExpr.) | |
| AddTerms(array<Double>[]()[][], array<INumVar>[]()[][], Int32, Int32) |
Adds the terms specified by
sum_i (coef[i] * var[i])
to the invoking linear quadratic expression, for the indices
i from start to start + num-1.
| |
| AddTerms(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32) |
Adds the new terms sum_i(coef[i] * var[i]) to a scalar product.
(Inherited from ILinearNumExpr.) | |
| AddTerms(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32) |
Adds the terms specified by
sum_i (coef[i] * var[i])
to the invoking linear quadratic expression, for the indices
i from start to start + num-1.
| |
| AddTerms(array<Double>[]()[][], array<INumVar>[]()[][], array<INumVar>[]()[][], Int32, Int32) |
Adds the terms specified by
sum_i (coef[i] * var1[i] * var2[i])
to the invoking linear quadratic expression, for the indices
i from start to start + num-1.
| |
| AddTerms(array<Double>[]()[][], array<INumVar>[]()[][], array<INumVar>[]()[][], Int32, Int32) |
Adds the terms specified by
sum_i (coef[i] * var1[i] * var2[i])
to the invoking quadratic expression, for the indices
i from start to start + num-1.
(Inherited from IQuadNumExpr.) | |
| Clear()()()() |
Removes all terms from the invoking linear expression leaving a 0
expression behind.
(Inherited from ILinearNumExpr.) | |
| Clear()()()() |
Removes all terms from the invoking object.
| |
| Clear()()()() |
Removes all quadratic terms from the invoking object.
(Inherited from IQuadNumExpr.) | |
| GetLinearEnumerator |
Returns an enumerator for the variables in the invoking ILinearNumExpr
expression.
(Inherited from ILinearNumExpr.) | |
| GetQuadEnumerator |
Returns an enumerator over the quadratic terms in the invoking quadratic
expression.
(Inherited from IQuadNumExpr.) | |
| 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.
(Inherited from ILinearNumExpr.) | |
| Remove(array<INumVar>[]()[][]) |
Removes variables from the invoking ILinearNumExpr
expression.
(Inherited from ILinearNumExpr.) | |
| Remove(INumVar) |
Removes all terms that use var from
the invoking expression.
| |
| Remove(array<INumVar>[]()[][]) |
Removes all terms that use a variable of the specified array
from the invoking expression.
| |
| Remove(INumVar) |
Removes all terms that use var from
the invoking quadratic expression.
(Inherited from IQuadNumExpr.) | |
| Remove(array<INumVar>[]()[][]) |
Removes all terms that use a variable in the specified array
from the invoking quadratic expression.
(Inherited from IQuadNumExpr.) | |
| Remove(array<INumVar>[]()[][], Int32, Int32) |
Removes variables from the invoking ILinearNumExpr
expression.
(Inherited from ILinearNumExpr.) | |
| Remove(array<INumVar>[]()[][], Int32, Int32) |
Removes all terms that use a variable var[i]
from the invoking expression, for the indices i
from start to start + num-1.
| |
| Remove(array<INumVar>[]()[][], Int32, Int32) |
Removes all terms that use a variable var[i]
from the invoking quadratic expression, for the indices i
from start to start + num-1.
(Inherited from IQuadNumExpr.) | |
| 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.) |