ILOG CPLEX .NET Reference Manual

IMPModeler.ColumnArray Method (IObjective, Double[], Int32, Int32)

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

ColumnArray ColumnArray(
   IObjective obj,
   double[] val,
   int start,
   int num
);

Parameters

obj
The objective for which to create the column array term.
val
An array containing the linear coefficients the ColumnArray will use for adding new variables to obj.
start
The first element in val to use.
num
The number of consecutive elements in val to use.

Return Value

The new ColumnArray object.

See Also

IMPModeler Interface | ILOG.Concert Namespace | IMPModeler.ColumnArray Overload List