Beware of numbering conventions
Describes indexing and numbering conventions.
If you delete a portion of a problem, CPLEX changes not only the dimensions but also the indices of the problem. If your application continues to use the former dimensions and indices, errors will occur. Therefore, in parts of your application that delete portions of the problem, look carefully at how dimensions and indices are represented.