Hi everyone,
I have a LP problem involving a constraint of -b <= A*x <= b, where A is a large dense matrix and b is a column vector. Now the problem is that Pyomo can only build one row each time, which is super slow, since the A matrix has several thousand of rows. Building this constraint takes over 90% of the model instantiation time in my case. So I am wondering if there is a more efficient way to do this.
I notice there is a module called matrix_constraint in Pyomo, but there is few examples showing how to use it. Does anyone know anything about it?
Thanks,
Binghui Li