Read Solution Data from GUROBI Result File

**GUROBI_SOLUTION_READ**,
a MATLAB program 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 can be read by load().

For our problems, GUROBI reads an LP file defining an integer linear system, created by polyomino_monohedral_matrix() or polyomino_multihedral_matrix(). The solution data returned can be 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 program 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.

SCIP_SOLUTION_READ, a MATLAB program 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().

- http://www.gurobi.com/ , the GUROBI home page.

- file_line_count.m, returns the number of lines in a file.
- gurobi_solution_read.m, reads a file created by GUROBI, representing a solution of a polyomino tiling problem, and extracts the solutions as a simple MATLAB vector.
- i4mat_print.m, prints an I4MAT;
- i4mat_print_some.m, prints some of an I4MAT;
- s_len_trim.m returns the length of a string to the last nonblank;
- s_word_extract_first.m extracts the first word from a string;
- timestamp.m, prints the YMDHMS date as a timestamp.