function gurobi_solution_read_test ( )

%*****************************************************************************80
%
%% gurobi_solution_read_test() tests gurobi_solution_read().
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    24 January 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../gurobi_solution_read' );

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'gurobi_solution_read_test():\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  gurobi_solution_read() tries to extract a solution vector\n' );
  fprintf ( 1, '  X returned by GUROBI for a particular polyomino tiling problem.\n' );

  filename = 'reid_gurobi.sol';
  gurobi_solution_read_demo ( filename );

  filename = 'pent5x6_gurobi.sol';
  gurobi_solution_read_demo ( filename );

  filename = 'pent18x30_gurobi.sol';
  gurobi_solution_read_demo ( filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'gurobi_solution_read_test():\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../gurobi_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

