ILOG CPLEX .NET Reference Manual

IMPModeler.Conversion Method (INumVar[], NumVarType[], String)

Creates and returns an IConversion object, with the specified name, for converting the type of the variables in array var in a model.

IConversion Conversion(
   INumVar[] var,
   NumVarType[] type,
   string name
);

Parameters

var
The array of variables the types of which are to be converted.
type
An array of variable types containing the types to which the variables are converted. The type of variable var[i] is converted to type[i].
name
The name of the new IConversion object.

Return Value

The new IConversion object.

See Also

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