I don't think there is a better way to check.
Depending on how many binary variables you have in your model in relation to other variables, you could pre-filter the rows: Call CPXXgetctype() to find the binary columns. Then use CPXXgetcols() to find the rows that intersect with at least one binary variable.
------------------------------
Daniel Junglas
------------------------------