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

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -