ILOG CPLEX .NET Reference Manual

Cplex.NintVars Property

Gets the number of integer variables in the matrix representation of the active model. Note that the result is not necessarily equal to the number of integer variables in the active model, as some mapping of modeling objects may require the introduction of added matrix columns.

public int NintVars {get;}

See Also

Cplex Class | ILOG.CPLEX Namespace