~/talk

Simulated Annealing: The Most Metal Algorithm Ever 🤘

Talkat RubyConf 2022 · 2022-11-29..12-01· [ruby]
links:none on file
slides:none on file

Simulated annealing is used to get good‑enough solutions for constrained combinatorial problems by sampling neighbors instead of enumerating factorial permutations; an internal pairing app is implemented and evaluated using the annealing gem, with an annealing schedule of initial temperature 200 cooling rate 0.001 producing about 200000 samples per run. Brute force scales to 21 trillion routes (≈2.5 years at 270k routes/sec), so the approximate solver finds low‑cost groupings fast and successfully avoids getting stuck in local minima.

AI-written summary · about

  1. 0:00Intro
  2. 2:32Optimization problems
  3. 3:00Traveling Salesperson Problem (TSP)
  4. 3:22Traveling Metal Band Problem (TSP)
  5. 8:33Traveling Metal Band Problem Alternative Version
  6. 16:13Meeting cost matrix
  7. 20:08The simulated annealing process
  8. 21:09Define an annealing schedule
  9. 22:06Select an initial arrangement
  10. 23:08Generate a new state
  11. 23:54Measure the energy of both states
  12. 24:27Decided which state to keep
  13. 26:22Check if the simulation is done
~/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.