Originally posted by: SystemAdmin
I also tried to use the cplex class object instead of cplexlp function. If I reuse the object as much as possible in the for-loop, the memory usage looks fine. But when using parfor-loop, I have to create the objects within each loop since MATLAB think this object can't be sliced. The memory increases a lot in the parfor case.
For the performance, using class object seems to be much slower than calling cplexlp in each case. Could someone please explain this difference?
I hope some one can help me with the memory issue. Right now, I have to restart MATLAB after a while, it's really annoying.....
#CPLEXOptimizers#DecisionOptimization