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 information on this web page is distributed under the MIT license.
gurobi_solution_read is available in a MATLAB version and an Octave version and a Python version.
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.
gurobi, examples which call gurobi(), which is an mathematical programming package for optimization, solving problems in linear programming, mixed integer programming, and mixed integer quadratic programming.
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().