I noticed that adding constraints to an
IloModel one by one can be prohibitively slow. (I am referring to the construction of the model, not the optimization.)
Suppose I have many constraints with the same number of variables, can I add the constraint matrix in one function call?
Are there other ways to speed up the construction of the model?