function trinity_scip_test ( )

%*****************************************************************************80
%
%% trinity_scip_test() tests the trinity() solution from scip().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    12 December 2021
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../scip_solution_read' );

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

  filename = 'trinity_scip.sol';
  nx = 142;
  x = scip_solution_read ( filename, nx );

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

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

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

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

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

  return
end

