ILOG CPLEX .NET Reference Manual

ILPMatrix.AddColumn Method (INumVar)

Adds a new empty column to an LP matrix.

int AddColumn(
   INumVar var
);

Parameters

var
The variable to be linked with the new column.

Return Value

The column index of the added column.

Remarks

All elements in an empty column are 0 (zero). The added column is linked to the variable provided as parameter var. This variable must not originally be linked to a column of the invoking LP matrix.

See Also

ILPMatrix Interface | ILOG.Concert Namespace | ILPMatrix.AddColumn Overload List