Search code examples
cplexminizinc

Why are many cpx files created when running a Minizinc model with CPLEX?


I ran a Minizinc model with the CPLEX solver. A folder named "cpxa67564" was created. It has many files named "cpxXXXX" (where XXXX are numbers).

What are these files? Subproducts of the compilation/execution? Is there any problem if I delete them? Why are they so many? I only ran the model a few times, yet those files are over 2K.


Solution

  • These folders contain "node files". See Use node files for storage in the documentation. These are created when the node storage file switch is set to a value of 2 or 3. Under normal circumstances, CPLEX will remove these files and their temporary directory, but they will remain when the program terminates abnormally.