Solution for a puzzle square using OR-Tools. See the puzzle.webp for the
original puzzle.

Context: https://mathstodon.xyz/@robinhouston/114146312311306951

A solution using OR-Tools is provided under src/number_square. Build and run
with Bazel (https://bazel.build/):

    cd src
    bazel run -c opt //number_square

I last ran this in March 2025 with Bazel 8.1.1 and OR-Tools 9.12. If you are
reading this in the future and using a newer version of Bazel, you may want to
use the latest build template: https://github.com/or-tools/bazel_or-tools

(Clone that and copy the number_square directory from this repository into your
clone of the template.)

Selected solutions (and a function for validating them) are provided in
solutions.el. Open it in Emacs and evaluate expressions by placing the cursor
immediately after a closing parenthesis and hitting C-x C-e.
Description
Solution to a number square puzzle using OR-Tools
Readme 99 KiB
Languages
Starlark 53.7%
C++ 27.7%
Emacs Lisp 18.6%