The ILQNumExpr type exposes the following members.

Methods

  NameDescription
Public methodAdd(ILinearNumExpr)
Adds all the terms found in the scalar product passed as argument to the invoking object.
(Inherited from ILinearNumExpr.)
Public methodAdd(ILinearNumExpr)
Adds all terms found in lexpr to the invoking object.
Public methodAdd(IQuadNumExpr)
Adds all terms found in qexpr to the invoking object.
Public methodAdd(IQuadNumExpr)

Adds all terms found in qexpr to the invoking object.

(Inherited from IQuadNumExpr.)
Public methodAddTerm(Double, INumVar)
Adds the new term coef * var to a scalar product.
(Inherited from ILinearNumExpr.)
Public methodAddTerm(Double, INumVar)
Adds the new term coef * var to the invoking linear quadratic expression.
Public methodAddTerm(INumVar, Double)
Adds the new term coef * var to a scalar product.
(Inherited from ILinearNumExpr.)
Public methodAddTerm(INumVar, Double)
Adds the new term coef * var to the invoking linear quadratic expression.
Public methodAddTerm(Double, INumVar, INumVar)
Adds the new term coef * var1 * var2 to the invoking linear quadratic expression.
Public methodAddTerm(Double, INumVar, INumVar)

Adds the new term coef * var1 * var2 to the invoking quadratic expression.

(Inherited from IQuadNumExpr.)
Public methodAddTerms(array<Double>[]()[][], array<INumVar>[]()[][])
Adds the new terms sum_i(coef[i] * var[i]) to a scalar product.
(Inherited from ILinearNumExpr.)
Public methodAddTerms(array<Double>[]()[][], array<INumVar>[]()[][])
Adds the terms sum_i (coef[i] * var[i]) to the invoking linear quadratic expression.
Public methodAddTerms(array<INumVar>[]()[][], array<Double>[]()[][])
Adds the new terms sum_i(coef[i] * var[i]) to a scalar product.
(Inherited from ILinearNumExpr.)
Public methodAddTerms(array<INumVar>[]()[][], array<Double>[]()[][])
Adds the terms sum_i (coef[i] * var[i]) to the invoking linear quadratic expression.
Public methodAddTerms(array<Double>[]()[][], array<INumVar>[]()[][], array<INumVar>[]()[][])
Adds the terms sum_i (coef[i] * var1[i] * var2[i]) to the invoking linear quadratic expression.
Public methodAddTerms(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.)
Public methodAddTerms(array<Double>[]()[][], array<INumVar>[]()[][], Int32, Int32)
Adds the new terms sum_i(coef[i] * var[i]) to a scalar product.
(Inherited from ILinearNumExpr.)
Public methodAddTerms(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.
Public methodAddTerms(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32)
Adds the new terms sum_i(coef[i] * var[i]) to a scalar product.
(Inherited from ILinearNumExpr.)
Public methodAddTerms(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.
Public methodAddTerms(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.
Public methodAddTerms(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.)
Public methodClear()()()()
Removes all terms from the invoking linear expression leaving a 0 expression behind.
(Inherited from ILinearNumExpr.)
Public methodClear()()()()
Removes all terms from the invoking object.
Public methodClear()()()()
Removes all quadratic terms from the invoking object.
(Inherited from IQuadNumExpr.)
Public methodGetLinearEnumerator
Returns an enumerator for the variables in the invoking ILinearNumExpr expression.
(Inherited from ILinearNumExpr.)
Public methodGetQuadEnumerator
Returns an enumerator over the quadratic terms in the invoking quadratic expression.
(Inherited from IQuadNumExpr.)
Public methodMakeClone
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.)
Public methodRemove(INumVar)
Removes a variable from the invoking ILinearNumExpr expression.
(Inherited from ILinearNumExpr.)
Public methodRemove(array<INumVar>[]()[][])
Removes variables from the invoking ILinearNumExpr expression.
(Inherited from ILinearNumExpr.)
Public methodRemove(INumVar)
Removes all terms that use var from the invoking expression.
Public methodRemove(array<INumVar>[]()[][])
Removes all terms that use a variable of the specified array from the invoking expression.
Public methodRemove(INumVar)
Removes all terms that use var from the invoking quadratic expression.
(Inherited from IQuadNumExpr.)
Public methodRemove(array<INumVar>[]()[][])
Removes all terms that use a variable in the specified array from the invoking quadratic expression.
(Inherited from IQuadNumExpr.)
Public methodRemove(array<INumVar>[]()[][], Int32, Int32)
Removes variables from the invoking ILinearNumExpr expression.
(Inherited from ILinearNumExpr.)
Public methodRemove(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.
Public methodRemove(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.)
Public methodVisitChildren
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.)

See Also