ILOG CPLEX .NET Reference Manual |
|
CplexModeler.ScalProd Method (IIntVar[], IIntVar[], Int32, Int32)
Creates and returns a linear expression representing the scalar product of the given variables.
Parameters
-
vars1
- The first array of variables involved in the new scalar product expression.
-
vars2
- The second array of variables involved in the new scalar product expression.
-
start
- Index of the term to start the multiplication.
-
num
- Number of consecutive terms to multiply, starting from the index indicated by
start
.
Return Value
The new linear expression.
Implements
IModeler.ScalProd
See Also
CplexModeler Class | ILOG.CPLEX Namespace | CplexModeler.ScalProd Overload List