function cplex_solution_read_test ( )

%*****************************************************************************80
%
%% cplex_solution_read_test() tests cplex_solution_read_demo().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    27 May 2021
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../cplex_solution_read' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'cplex_solution_read_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  cplex_solution_read_demo() demonstrates\n' ); 
  fprintf ( 1, '  cplex_solution_read() on a particular CPLEX solution file:\n' );
%
%  Specify the file.
%
  filename = '2x4_solution.xml';
  cplex_solution_read_demo ( filename );

  filename = '4x5_solution.xml';
  cplex_solution_read_demo ( filename );

  filename = 'l_triomino_solution.xml';
  cplex_solution_read_demo ( filename );

  filename = 'octomino_solution.xml';
  cplex_solution_read_demo ( filename );

  filename = 'pent5x6_solution.xml';
  cplex_solution_read_demo ( filename );

  filename = 'pent20x36_solution.xml';
  cplex_solution_read_demo ( filename );

  filename = 'pentomino_solution.xml';
  cplex_solution_read_demo ( filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'cplex_solution_read_test:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../cplex_solution_read' );

  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

