When I am implementing the column generation with Java. I found addColumn in Cplex is quite time consuming. I used the function in LPMatrix addCols(IloNumVar[] var, int[][] indices, double[][] values) to add columns. But I found the time used to add columns reached up to half of the total time. Indeed, I have limited the number of columns added each time, but the time is still quite high.

Can anyone share some experience or suggestions for this problem? Which function do you usually use to build the model by columns? Thank you for your sharing.

More Zhenzhen Zhang's questions See All
Similar questions and discussions