gurobi_solution_read, a MATLAB code which reads a file created by the optimization package GUROBI, representing the solution of a polyomino tiling problem, and writes out a simple ASCII file that MATLAB can read with the load() function.
For our problems, GUROBI reads an LP file defining an integer linear system, created by polyomino_monohedral_matrix() or polyomino_multihedral_matrix(), and then returns a solution in a file with a particular format. Once that file is converted by gurobi_solution_read(), the solution data can be read into MATLAB and printed or plotted.
Unlike CPLEX and SCIP, GUROBI only returns a single solution to the problem.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
cplex_solution_read, a MATLAB code which extracts solution data from a CPLEX result file; CPLEX can be "fed" by an LP file created by POLYOMINO_MONOHEDRAL_MATRIX or POLYOMINO_MULTIHEDRAL_MATRIX, and the results can be displayed by POLYOMINO_MONOHEDRAL_TILING_PRINT or POLYOMINO_MULTIHEDRAL_TILING_PRINT.
polyominoes, a MATLAB code which defines, solves, and plots a variety of polyomino tiling problems, which are solved by a direct algebraic approach involving the reduced row echelon form (RREF) of a specific matrix, instead of the more typical brute-force or backtracking methods.
scip_solution_read, a MATLAB code which reads a file created by the integer programming package SCIP, representing the solution of a polyomino tiling problem, and writes out a simple ASCII file that can be read by load().