Originally posted by: SystemAdmin
For MIP the number of variables/constraints is not a clear indicator of whether the problem is difficult or not. There are small problems that are ultra-hard to solve and there are very big problems that solve easily. After all, we are talking about NP hard problems here ...
What version of CPLEX do you use?
It seems like you are trying to use node files: I see you setting the workmem and workdir parameters. But I don't see you setting the NodeFileInd parameter anywhere. This must be set to 2 or 3 to actually write files to disk.
On my machine (CPLEX 12.4.0.1, 2 threads, 4 GB RAM) the problem solves within 13 minutes and without any memory issues:
Nodefile size = 256.85 MB (203.08 MB after compression)
12475 10033 0.1167 90 0.1307 0.1089 794341 16.67%
12758 10293 0.1277 78 0.1307 0.1089 802929 16.67%
* 12847+10327 0.1280 0.1089 807003 14.93%
Clique cuts applied: 41
Cover cuts applied: 259
Flow cuts applied: 1
Mixed integer rounding cuts applied: 1
Zero-half cuts applied: 13
Gomory fractional cuts applied: 11
Root node processing (before b&c):
Real time = 27.94
Parallel b&c, 2 threads:
Real time = 712.33
Sync time (average) = 0.01
Wait time (average) = 0.00
-------
Total (root+branch&cut) = 740.26 sec.
#CPLEXOptimizers#DecisionOptimization