I am having cplex object of type IloCplex and have variable array of tyoe IloNumVar. I am using java interface and add constraints by iterating through a huge array.
Say, I do cplex.addEq(var[i], val[i]). I add different type of constraints and have several loops through the program. When I export model, I see all the constraints added together till then and it is hard to debug where exactly problem lies if there was an issue in formulating the constraint.
Is there a way to print the constraints as interpreted by CPLEX immediately after adding these constraints using addEq, addLe etc.