**serenity_test**,
a MATLAB code which
calls serenity(), which
considers the serenity puzzle, a smaller version of the eternity
puzzle. The serenity puzzle specifies a dodecagonal region R
composed of 288 30-60-90 triangles, and a set of 8 "tiles",
each consisting of 36 30-60-90 triangles, and seeks an arrangement
of the tiles that exactly covers the region.

The computer code and data files made available on this web page are distributed under the GNU LGPL license.

serenity, a MATLAB code which considers the serenity puzzle, a smaller version of the eternity puzzle. The serenity puzzle specifies a dodecagonal region R composed of 288 30-60-90 triangles, and a set of 8 "tiles", each consisting of 36 30-60-90 triangles, and seeks an arrangement of the tiles that exactly covers the region.

- serenity_test.m, calls all the tests;
- serenity_test.sh, runs all the tests;
- serenity_test.txt, the output file.

Here is information related to the generation of the cplex() solution file.

- serenity_solve.sh, calls on cplex() to solve the serenity problem.
- serenity_input.txt, commands to cplex().
- serenity_output.txt, output from cplex().
- serenity.lp, defines the problem, created by serenity_lp().
- serenity.sol, the solution information.

BORDER plots.

- serenity_border_xy.png, plot of the border of the serenity grid.

TRIANGLE plots.

- serenity_grid_triangle_xy.png, plot of the triangles that compose the serenity grid, (x,y) coordinates.
- serenity_tile001_triangle_xy.png
- serenity_tile002_triangle_xy.png
- serenity_tile003_triangle_xy.png
- serenity_tile004_triangle_xy.png
- serenity_tile005_triangle_xy.png
- serenity_tile006_triangle_xy.png
- serenity_tile007_triangle_xy.png
- serenity_tile008_triangle_xy.png

- serenity_solution.png, a plot of the tiling.
- serenity.txt, a printed version of the binary solution as extracted from the cplex() solution file.