Constrained search and GAME pilots¶
The 25 trials use seeds 0 through 4. Run the same comparison from a source checkout with the base package installed. The script writes the budgets and results for each run to JSON.
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 python -m scripts.benchmark_constrained_coevolution --output build/constrained-coevolution.json
The tables give medians on Linux with CPython 3.14 and one BLAS and OpenMP thread. The CPU was an Intel Xeon E5-2630 v4. Wall time includes search and tournaments, where applicable. GAME’s panel scoring happens afterward.
Mixed-variable design¶
The toy evaluator has a real size, an integer layer count, and two materials. Strength and clearance determine feasibility. The result grid has 32 cells, and each run attempted 256 evaluations. The uniform control samples a full batch before committing feedback. The feasible-only control sets the near-feasible parent probability to zero.
Method |
Feasible cells |
QD score |
Attempt to first feasibility |
Seconds |
|---|---|---|---|---|
Constrained MAP-Elites |
19 |
16.39 |
2 |
0.021 |
Feasible-only MAP-Elites |
23 |
19.95 |
2 |
0.021 |
Uniform random |
27 |
23.00 |
2 |
0.014 |
Uniform proposals reached more cells in this task, where feasible designs were easy to find. A separate deterministic regression exercises the case where mutating a near-feasible parent opens a feasible path. Constrained MAP-Elites tutorial
Rock-paper-scissors¶
Each method ran four alternating rounds of 128 search matches. A round used up to four opponent archives of eight cells each. The random-proposal control keeps the same archives, representative selection, and tournaments while drawing all proposals uniformly.
All runs completed 512 search matches and 48 bootstrap matches with zero failures. The latest Red and Blue repertoires then played 24 panel matches in total against the three pure strategies. Panel coverage counts occupied cells on a common 8 × 8 grid of win and draw probabilities. Worst payoff is the lowest expected payoff of the uniform mixture of selected strategies against any pure strategy. In this game, a payoff closer to zero means lower exploitability.
Method |
Red panel cells |
Blue panel cells |
Red worst payoff |
Blue worst payoff |
Seconds |
|---|---|---|---|---|---|
GAME |
11 |
9 |
−0.388 |
−0.185 |
0.136 |
Random-proposal GAME |
11 |
11 |
−0.243 |
−0.222 |
0.111 |
Red’s worst payoff favoured the random control, and Blue’s favoured GAME. The role-specific results show why a common opponent panel matters when interpreting archive fitness. GAME tutorial