Creates an ColumnArray
object suitable for adding new variables to an ILPMatrix
as columns.
ILPMatrix
object for which to create the new column array term. ind
and val
to use. 0
through lp.GetNcols()-1
. An ColumnArray
object suitable for creating new columns in the LP matrix lp
as specified by arguments ind
and val
.
The procedure is as follows: You create an ColumnArray
from an ILPMatrix
by calling columnArray()
with the list of nonzeros for each new column given in arrays ind
and val
. You optionally combine this column array with ColumnArray
objects created for other modeling objects. Then you create an array of variables by passing the so constructed ColumnArray
object to the appropriate method of the IMPModeler
you use.
IMPModeler Interface | ILOG.Concert Namespace | IMPModeler.ColumnArray Overload List