Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on /story/47614655.
SciPy provides scipy.optimize.brute, but it becomes extremely slow for large grids because it evaluates every point sequentially in Python.
gridoptim parallelizes the search and evaluates the objective efficiently.
In a benchmark on a 4D grid (64^4 = 16,777,216 evaluations):
gridoptim: ~1.2 seconds scipy.brute: ~247 seconds
≈ 205× speedup on a 12-core machine.
The project is open source:
GitHub: https://github.com/Halfblood-Prince/gridoptim PyPI: https://pypi.org/project/gridoptim/
There are no comments on this comment yet.
SciPy provides scipy.optimize.brute, but it becomes extremely slow for large grids because it evaluates every point sequentially in Python.
gridoptim parallelizes the search and evaluates the objective efficiently.
In a benchmark on a 4D grid (64^4 = 16,777,216 evaluations):
gridoptim: ~1.2 seconds scipy.brute: ~247 seconds
≈ 205× speedup on a 12-core machine.
The project is open source:
GitHub: https://github.com/Halfblood-Prince/gridoptim PyPI: https://pypi.org/project/gridoptim/