Creates an ColumnArray object suitable for adding num new variables to the objective obj as linear terms with coefficients specified in val.

Namespace: ILOG.Concert
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0

Syntax

C#
ColumnArray ColumnArray(
	IObjective obj,
	double[] val,
	int start,
	int num
)
Visual Basic
Function ColumnArray ( _
	obj As IObjective, _
	val As Double(), _
	start As Integer, _
	num As Integer _
) As ColumnArray

Parameters

obj
Type: ILOG.Concert..::..IObjective
The objective for which to create the column array term.
val
Type: array<System..::..Double>[]()[][]
An array containing the linear coefficients the ColumnArray will use for adding new variables to obj.
start
Type: System..::..Int32
The first element in val to use.
num
Type: System..::..Int32
The number of consecutive elements in val to use.

Return Value

The new ColumnArray object.

See Also