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 a variable in a model.

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

Parameters

var
The variable the type of which is to be converted.
type
The converted type for variable var.
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