Creates and returns an integer linear expression representing the scalar product of the provided integer values with the provided integer variables.

Namespace: ILOG.Concert
Assembly: ILOG.Concert (in ILOG.Concert.dll) Version: 22.1.0.0

Syntax

C#
ILinearIntExpr ScalProd(
	IIntVar[] vars,
	int[] vals
)
Visual Basic
Function ScalProd ( _
	vars As IIntVar(), _
	vals As Integer() _
) As ILinearIntExpr

Parameters

vars
Type: array<ILOG.Concert..::..IIntVar>[]()[][]
The integer variables involved in the new scalar product expression.
vals
Type: array<System..::..Int32>[]()[][]
The integer values involved in the new scalar product expression.

Return Value

The new integer linear expression.

See Also