function polyomino_lp_write_test ( )

%*****************************************************************************80
%
%% polyomino_lp_write_test() tests polyomino_lp_write().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    17 May 2018
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'polyomino_lp_write_test():\n' );
  fprintf ( 1, '  polyomino_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 polyomino.\n' );
%
%  Get the coefficients and right hand side for the Reid system.
%
  [ a, b ] = polyomino_monohedral_example_reid_system ( );
%
%  Create the LP file.
%
  filename = 'reid.lp';
  label = '\ LP file for the Reid example.';
  [ m, n ] = size ( a );

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

  fprintf ( 1, '\n' );
  fprintf ( 1, '  polyomino_lp_write() created the LP file "%s"\n', filename );

  return
end
