~/talk

Solving an NP-Hard Problem for Fun and Profit

Talkat PyOhio 2018 · 2018-07-28..07-29· [python]
links:none on file
slides:none on file

A tournament seating solver for CATAN frames the problem as NP-hard seating constraints: tables of 3–4 where A) no player repeats the same seat position and B) no repeat opponents. Early genetic-algorithm attempts fail, so the solution uses a deterministic Python engine that scores every seat, queues low-scoring players, lets them try seats (dethroning others), and iterates until convergence. Typical runs hit a global minimum in ~20–40 iterations, complete in seconds using matplotlib, statistics and cProfile for analysis — released as TourneyMan Python implementation and deployed at Origin and GenCon 2018.

AI-written summary · about

  1. 0:00Introduction
  2. 7:37The Problem
  3. 16:04Origins
  4. 16:40Algorithm
  5. 20:07Demo
  6. 25:43Future Work
~/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.