Originally posted by: SystemAdmin
I hope it is okay to ask this question here. I could not find anything on google or the cplex documentation about how many variables and how many constraints a cplex model can have. I use cplex with c++ concert technology.
I have an LP with a small number of variables, but I have a large number of constraints (although they only contain a very small number of entries). In the model I tried I wanted to add around 24,000,000 constraints I already get an error "Error: CPLEX Error 1001: Out of memory" when I try to add all the constraints to the model by model.add(constSet).
Is there any way to get around this (can I increase some kind of memory)? Is there an upper bound on the number of constraints an LP can have? I think the LP should be easy to solve, but I cannot even store it.
Or is the only possibility to formulate a new model with fewer constraints?
Thanks in advance.
#CPLEXOptimizers#DecisionOptimization