~/talk

Python Doesn’t Have to Be Slow: Speeding Up a Large-Scale Optimization Algorithm

Talkat PyData London 2018 · 2018-04-26..04-29· [python]
links:none on file
slides:none on file

A Peer‑to‑Peer portfolio allocation system uses a greedy heuristic and tight engineering to turn an intractable integer program into a fast practical pipeline: data moved out of pandas into NumPy, hot scoring kernels compiled with Numba, and suitability evaluation run embarrassingly parallel across workers. The implemented matcher handles about one million assets in ~20 seconds, moves tens of millions of pounds for thousands of investors, and maintains the platform’s affordability/return constraints.

AI-written summary · about

  1. 0:00OPA and portfolio optimization
  2. 5:13Off-the-shelf solvers fail at scale
  3. 10:59Custom greedy algorithm
  4. 15:42Pandas pitfalls and NumPy speed-ups
  5. 17:56Parallelizing with joblib and Numba
  6. 20:54Numba JIT compilation
  7. 29:20Benchmarking and business impact
  8. 30:26Key takeaways and future
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.