ILOG CPLEX .NET Reference Manual

CplexModeler.ScalProd Method (IIntVar[], IIntVar[])

Creates and returns a linear expression representing the scalar product of the given variables.

public virtual IIntExpr ScalProd(
   IIntVar[] vars1,
   IIntVar[] 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

Returns a linear expression representing a scalar product.The new linear expression.

Implements

IModeler.ScalProd

See Also

CplexModeler Class | ILOG.CPLEX Namespace | CplexModeler.ScalProd Overload List