I just want to confirm if it really does not exist a memory limit parameter like CPLEX (tree memory limit) that makes the optimizer stop with special status when reached (akin defining a time limit, which is possible in Gurobi).
My use case is a experiment for a scientific paper. I am not buying more memory, as I am a PhD student ( (so is not my responsibility buying for a single computer), and if I bought memory for one computer of the cluster I am using then I would need to buy for them all. I am also not enabling NodeFiles, because the disk should not interfere in the experiment (no other paper in the literature does this). I cannot change the model to use less memory because I am reproducing a model from the literature, and it needs to be faithful to its description. I do not care if I do not get any solution at all, I just want a memory limit, so Gurobi does not end up killing the whole process or other processes that are running, because they tried allocating memory when Gurobi left basically no free memory.
For now, it is not viable to use Gurobi for my experiment because there any many instances in which the model I am reproducing allocates all memory and this kills the process in a way that I cannot check the status nor capture an exception (if I could capture the exception at least I could work around it). The whole experiment script is just halted and I need to check on it constantly, and re-run it from the next instance, what is not trivial.
Please sign in to leave a comment.