Open mbencho opened 2 years ago
Has anyone tested the MIPSolver in terms of performance? Looking to see if this could have faster results than the default
https://github.com/DimaKudosh/pydfs-lineup-optimizer/blob/master/docs/performance-and-optimization.rst "Also, the library supports another solver library: mip. It can be faster in some cases, especially if you are using pypy (benchmark). For you using mip you should install it via pip: pip install mip. After that you can replace pulp:
from pydfs_lineup_optimizer.solvers.mip_solver import MIPSolver
optimizer = get_optimizer(Site.DRAFTKINGS, Sport.BASEBALL, solver=MIPSolver)"
For me it works with the same speed as pulp version, I ran it on cpython probably with pypy should work faster according to their benchmark.
Has anyone tested the MIPSolver in terms of performance? Looking to see if this could have faster results than the default
https://github.com/DimaKudosh/pydfs-lineup-optimizer/blob/master/docs/performance-and-optimization.rst "Also, the library supports another solver library: mip. It can be faster in some cases, especially if you are using pypy (benchmark). For you using mip you should install it via pip: pip install mip. After that you can replace pulp:
from pydfs_lineup_optimizer.solvers.mip_solver import MIPSolver
optimizer = get_optimizer(Site.DRAFTKINGS, Sport.BASEBALL, solver=MIPSolver)"