Originally posted by: SystemAdmin
[prubin said:]
Can't you just use CPXgetrows to access the rows that intersected with the columns you deleted, and then check for nonzero coefficients?
I'd be inclined to be a bit more proactive about it. When you create the model, you can also create on the side an integer array that holds the number of nonzero coefficients in each row. As you delete variables, you can decrement the nonzero count for each row in which they appear, and if an entry in the count array drops to zero, you know that row is now vacuous and should be deleted.
/Paul
#CPLEXOptimizers#DecisionOptimization