function trinity_gurobi_test ( )

%*****************************************************************************80
%
%% trinity_gurobi_test() tests the trinity() solution from gurobi().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    11 December 2021
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../gurobi_solution_read' );

  fprintf ( 1, '\n' );
  fprintf ( 1, 'trinity_gurobi_test():\n' );
  fprintf ( 1, '  Examine the trinity() solution from gurobi().\n' );

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

  filename = 'trinity_gurobi.png';
  label = 'trinity gurobi tiling solution';
  solution_plot ( x, filename, label, @trinity_grid_word, @trinity_tile_num, ...
    @trinity_tile_word );

  filename = 'trinity_gurobi_ij.tex';
  plot_scale = 0.5;
  solution_tikz_ij ( x, filename, @trinity_grid_word, @trinity_tile_num, ...
    @trinity_tile_word, plot_scale );

  filename = 'trinity_gurobi_xy.tex';
  plot_scale = 2.0;
  solution_tikz_xy ( x, filename, @trinity_grid_word, @trinity_tile_num, ...
    @trinity_tile_word, plot_scale );

  label = 'trinity gurobi solution';
  trinity_solution_print ( x, label );

  rmpath ( '../gurobi_solution_read' );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'trinity_gurobi_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end

