function trinity_test ( )

%*****************************************************************************80
%
%% trinity_test() tests trinity().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    08 June 2022
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../eternity' );
  addpath ( '../trinity' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'trinity_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s.\n', version ( ) );
  fprintf ( 1, '  trinity() implements a linear programming\n' );
  fprintf ( 1, '  approach to the trinity tiling problem.\n' );

  label = 'trinity';
  tile_num = trinity_tile_num ( );

  lp_generate ( label, tile_num, @trinity_tile_word, @trinity_grid_word );

  trinity_lp_alt ( );
  trinity_lpa ( );

  trinity_cplex_test ( );
  trinity_gurobi_test ( );
  trinity_scip_test ( );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'trinity_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../trinity' );
  rmpath ( '../eternity' );

  return
end
function timestamp ( )

%*****************************************************************************80
%
%% timestamp() prints the current YMDHMS date as a timestamp.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2003
%
%  Author:
%
%    John Burkardt
%
  t = now;
  c = datevec ( t );
  s = datestr ( c, 0 );
  fprintf ( 1, '%s\n', s );

  return
end

