ILOG CPLEX .NET Reference Manual

IModeler.ScalProd Method (INumVar[], INumVar[])

Creates and returns a linear expression representing the scalar product of the variables provided as arguments.

INumExpr ScalProd(
   INumVar[] vars1,
   INumVar[] vars2
);

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.

Return Value

The new linear expression.

See Also

IModeler Interface | ILOG.Concert Namespace | IModeler.ScalProd Overload List