python-mip icon indicating copy to clipboard operation
python-mip copied to clipboard

set tempdir path for external solvers

Open mhechthz opened this issue 1 year ago • 1 comments

I'm trying to get optimal performance for my setting where I have to generate about 25000 scenarios and solve these.

I tried almost all open source solvers including cbc, glpk, scip, highs, mbnb and also hexaly. I wrote my own template class to get a comparable behaviour. Hexaly is not as fast as expected but since I try to fit a MILP model to it, it could be expected. For other solvers, especially combined with pyomo, I set the temporary directory for call of solvers to a RAMDISC to gain a little bit of speed.

So I wonder, if there is any chance of setting the temporary path for python-mip when calling SCIP or HIGHS. It seems to be no such option available.

mhechthz avatar Jan 06 '25 13:01 mhechthz

duplicate of this https://github.com/coin-or/python-mip/issues/400 ... I did this some weeks ago. sorry.

mhechthz avatar Jan 06 '25 13:01 mhechthz