python - How can I run PuLP simulation for a finite time? -
i running facility location problem on python , want run 10 minutes take more 2 hours complete solution. how can that?
it depends on solver using. it's 1 parameter maxseconds
when create solver. example let assume you're using xpress, , want run 10mins , stop, can create solver
solver = xpress(maxseconds=10 * 60)
Comments
Post a Comment