The main part of Gurobi's algorithm builds a search tree. Even in a successful run, the search tree can grow quite large during the solver run. Error code 10001 indicates that the search tree became too large to fit in your computer's RAM memory. To avoid this error, you can use Gurobi's nodefilestart setting to limit the amount of memory used for search nodes; when the number of gigabytes of memory exceeds the the nodefilestart value, nodes are compressed and written to disk. Gurobi recommends trying 0.5, which can be specified by adding nodefilestart=0.5 to your gurobi_options string -- or if you are not yet specifying a gurobi_options string, by giving the command
option gurobi_options 'nodefilestart=0.5';
before solving. You can experiment with larger nodefilestart values if your computer has a large amount of memory, but keep in mind that Gurobi will also need a substantial amount of memory for other purposes besides building the search tree.
Also you can add a timelim setting to your gurobi_options string, to stop the solver run normally rather than interrupting it. For example, timelim=86400 will stop the run after 1 day. Information on all Gurobi settings can be found on our
Gurobi Options page.
Finally, if you need to ask for more help, ask Gurobi for a detailed log by adding outlev=1 to your gurobi_options string. Then include all of the resulting log listing with your question; since the log may be very long, you may want to copy it to a file, then attach the file.
We're switching to a new, enhanced user forum.