function pariomino_lp_write_test01 ( )

%*****************************************************************************80
%
%% pariomino_lp_write_test01 tests pariomino_lp_write.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    16 July 2020
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'pariomino_lp_write_test01:\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  pariomino_lp_write() writes an LP file associated\n' );
  fprintf ( 1, '  with a binary programming problem for tiling a region\n' );
  fprintf ( 1, '  with copies of a single pariomino.\n' );
%
%  Get the coefficients and right hand side for the Reid system.
%
  [ a, b ] = pariomino_matrix_reid ( );
%
%  Create the LP file.
%
  filename = 'reid.lp';
  label = '\ LP file for the Reid example.';
  [ m, n ] = size ( a );

  pariomino_lp_write ( filename, label, m, n, a, b );

  fprintf ( 1, '\n' );
  fprintf ( 1, '  pariomino_lp_write created the LP file "%s"\n', filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'pariomino_lp_write_test:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );

  return
end
