COINCIDENCE · PERMUTATION · PRIME PRODUCTS

Sudoku as an
optimization laboratory

Keep every clue fixed, encode all missing digit occurrences as one permutation, then let four population algorithms search under exactly the same evaluation budget.

Experiment

Algorithms
Exact budget per algorithm160,000 evaluations / seed

GLOBAL MISSING-TOKEN PERMUTATION

Sudoku

1→22→33→54→75→116→137→178→199→23Target = 223,092,870

SAME REPRESENTATION · SAME EVALUATOR · SAME BUDGET

Algorithm comparison

Run the experiment to compare the four methods.

AlgorithmPenaltySolved groupsDuplicate excessWorst groupTime
LEARNING PROGRESS

Best prime-product penalty by evaluations

No experiment yet
MULTI-OBJECTIVIZATION · SEARCH GUIDANCE

One Sudoku goal, several learning signals

Sudoku is not inherently a multi-objective decision problem: every legal completion is optimal. Multi-objectivization deliberately transforms one correctness penalty into a vector of related objectives so population search can distinguish candidates that a single total score would tie. The goal is better credit assignment and diversity during search—not a permanent trade-off between imperfect final answers.

f(x) = (row conflicts, column conflicts)
ideal point = (0, 0) = exact Sudoku

For example, (2,8) and (5,5) have the same total penalty but encode different search directions. Pareto dominance keeps both only when neither is better on every objective; crowding preserves representatives from different regions, and the external archive records non-dominated grids across generations. Once any objective vector reaches zero in every component, the certificate is exact and search may stop.

DECOMPOSITION LEVELS

From two objectives to many objectives

  • 2D · Row × Column — the clearest baseline and easiest Pareto front to interpret
  • 6D · Bands × Stacks — three horizontal and three vertical regions localize conflicts
  • 9D · Block responsibility — credits each block for the row/column conflicts caused by its cells
  • 9D · Digit conflicts — reveals whether a particular digit remains difficult to place
  • 2D · Worst × Total — balances repairing the worst group against overall progress

More dimensions are hypotheses, not automatic improvements. As dimensionality grows, many candidates become non-dominated and selection pressure can weaken. Compare methods with identical populations, seeds and evaluation budgets, then report solution rate, evaluations-to-solution, convergence, spread, archive size and runtime.

REPRESENTATION

What the permutation guarantees

Each missing occurrence becomes a unique token. The token decodes to a digit, so every candidate preserves all clues and the global count of nine copies per digit. Different tokens may decode to the same digit; that symmetry is deliberately visible as part of the representation experiment.

PRIME-PRODUCT FITNESS

More informative than pass/fail

Penalty = 100000·duplicate excess + 1000·invalid groups + 10·squared excess + worst group

Exact group validity comes from the prime product. Prime exponents reveal multiplicity, giving the optimizer a graded signal while zero remains an exact Sudoku solution.

BENCHMARK PROVENANCE

Controlled fixtures now; open puzzle bank next

The three built-in instances are controlled clue masks derived from one verified completion, designed to expose the effect of permutation size rather than claim human difficulty grades. For a larger study, the Sudoku Exchange Puzzle Bank provides hundreds of thousands of uniquely solvable, Sukaku-Explainer-rated puzzles dedicated to the public domain. Sudoku Exchange Puzzle Bank ↗