function boat_gurobi_test ( )

%*****************************************************************************80
%
%% boat_gurobi_test() tests the gurobi() solution to the boat() problem.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    13 December 2021
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../gurobi_solution_read' );

  fprintf ( 1, '\n' );
  fprintf ( 1, 'boat_gurobi_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s.\n', version ( ) );
  fprintf ( 1, '  Examine the linear programming solution to the boat\n' );
  fprintf ( 1, '  tiling problem, as produced by gurobi().\n' );

  filename = 'boat_gurobi.sol';
  x = gurobi_solution_read ( filename );

  filename = 'boat_gurobi.png';
  label = 'boat gurobi tiling solution';
  solution_plot ( x, filename, label, @boat_grid_word, @boat_tile_num, ...
    @boat_tile_word );

  filename = 'boat_gurobi_ij.tex';
  plot_scale = 0.20;
  solution_tikz_ij ( x, filename, @boat_grid_word, @boat_tile_num, ...
    @boat_tile_word, plot_scale );

  filename = 'boat_gurobi_xy.tex';
  plot_scale = 1.00;
  solution_tikz_xy ( x, filename, @boat_grid_word, @boat_tile_num, ...
    @boat_tile_word, plot_scale );

  label = 'boat gurobi solution';
  boat_solution_print ( x, label );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'boat_gurobi_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  rmpath ( '../gurobi_solution_read' );

  return
end

