06-Feb-2022 14:54:49 whale_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2. whale() implements a linear programming approach to the whale tiling problem. lp_generate(): Define a puzzle grid and set of tiles. Set up the linear system A*x=b defining the tiling problem. Use sparse storage for the matrix A. Write that information to an LP file. LP system computed. Matrix A has 296 rows, 1071 columns, 39627 nonzeros LP information saved as "whale.lp" lp_generate(): Normal end of execution. solution_plot(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Plot a solution generated by cplex(). Tile = 1, VAR = 71, Rotate = 4, reflect = 0, type = -1 pij = (-2,42) Tile = 2, VAR = 183, Rotate = 4, reflect = 0, type = -1 pij = (12,24) Tile = 3, VAR = 307, Rotate = 4, reflect = 1, type = -5 pij = (-2,6) Tile = 4, VAR = 343, Rotate = 0, reflect = 0, type = -5 pij = (0,0) Tile = 5, VAR = 483, Rotate = 0, reflect = 0, type = -5 pij = (-2,18) Tile = 6, VAR = 765, Rotate = 4, reflect = 1, type = -6 pij = (2,6) Tile = 7, VAR = 806, Rotate = 0, reflect = 0, type = -4 pij = (4,24) Tile = 8, VAR = 1011, Rotate = 3, reflect = 0, type = 5 pij = (12,24) Graphics saved as "whale_solution.png" solution_plot(): Normal end of execution. solution_tikz_xy(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Make a tikz() image of a tiling solution. The (x,y) coordinate system is used. Tile = 1, VAR = 71, Rotate = 4, reflect = 0, type = -1 pij = (-2,42) pxy=(-0.5,6.06218) Tile = 2, VAR = 183, Rotate = 4, reflect = 0, type = -1 pij = (12,24) pxy=(3,3.4641) Tile = 3, VAR = 307, Rotate = 4, reflect = 1, type = -5 pij = (-2,6) pxy=(-0.5,0.866025) Tile = 4, VAR = 343, Rotate = 0, reflect = 0, type = -5 pij = (0,0) pxy=(0,0) Tile = 5, VAR = 483, Rotate = 0, reflect = 0, type = -5 pij = (-2,18) pxy=(-0.5,2.59808) Tile = 6, VAR = 765, Rotate = 4, reflect = 1, type = -6 pij = (2,6) pxy=(0.5,0.866025) Tile = 7, VAR = 806, Rotate = 0, reflect = 0, type = -4 pij = (4,24) pxy=(1,3.4641) Tile = 8, VAR = 1011, Rotate = 3, reflect = 0, type = 5 pij = (12,24) pxy=(3,3.4641) tikz image saved as "whale_solution_xy.tex" solution_tikz_xy(): Normal end of execution. whale_solution_print(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Print, for each configuration in a whale solution, the grid elements and (i,j) vertex coordinates covered by the configuration. Configuration 71 used in solution. Tile = 1, VAR_NUM = 71, Rotate = 4, reflect = 0, type = -1 pij = (-2,42) Configuration 183 used in solution. Tile = 2, VAR_NUM = 183, Rotate = 4, reflect = 0, type = -1 pij = (12,24) Configuration 307 used in solution. Tile = 3, VAR_NUM = 307, Rotate = 4, reflect = 1, type = -5 pij = (-2,6) Configuration 343 used in solution. Tile = 4, VAR_NUM = 343, Rotate = 0, reflect = 0, type = -5 pij = (0,0) Configuration 483 used in solution. Tile = 5, VAR_NUM = 483, Rotate = 0, reflect = 0, type = -5 pij = (-2,18) Configuration 765 used in solution. Tile = 6, VAR_NUM = 765, Rotate = 4, reflect = 1, type = -6 pij = (2,6) Configuration 806 used in solution. Tile = 7, VAR_NUM = 806, Rotate = 0, reflect = 0, type = -4 pij = (4,24) Configuration 1011 used in solution. Tile = 8, VAR_NUM = 1011, Rotate = 3, reflect = 0, type = 5 pij = (12,24) whale_solution_print(): Normal end of execution. whale_test(): Normal end of execution. 06-Feb-2022 14:55:12