I have a very large problem and I am facing computational time issues even in the declaration of the variables in OrTools (>10minutes).
Here is a peace of my code
x = {}
for i in setI:
for j in setJ:
x[i,j] = model.NewIntVar(0, 1, 'x[{}]'.format([i,j]))
If a create the same variable using Pyomo I do not face this problem, I believe I am doing something wrong.
Can someone, please, help me to improve the performance of my algorithm?
Thanks