Skip to content

Add mathematical programming challenge examples - #396

Merged
alcides merged 2 commits into
mainfrom
feat/mathematical-programming-examples
Aug 17, 2026
Merged

Add mathematical programming challenge examples#396
alcides merged 2 commits into
mainfrom
feat/mathematical-programming-examples

Conversation

@alcides

@alcides alcides commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Adds four examples based on Vaguery's mathematical programming challenges:

  • fixed-size Egyptian fractions
  • generalized rational-target Egyptian fractions
  • repeating-decimal rational conversion
  • digitwise-modulo reciprocal transformation

Includes exact Fraction-based reference implementations and tests.

Validation: uv run pytest tests/benchmarks/test_mathematical.py -q (5 passed); Ruff passes.

@alcides
alcides merged commit 3e79ad0 into main Aug 17, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant