function [p_shapes, d, r_shape, p_num] = LPmake_Figure8b ()

% LPMAKE_FIGURE8B defines some arrays needed to generate Figure 8b 
% using 12 pentominoes to tile the 6 x 10 rectangle.

% Create binary matrices for the pentominoes
p_shapes = pentomino_pack ( 6, 10 );
% Create the binary matrix for the region
r_shape = ones(6,10);
% Create d and p_num
d = ones(1,12);
p_num = 12;
% Create the linear system
[ a, b, var_p ]  = polyomino_multihedral_matrix ( r_shape, p_num, ...
    p_shapes, d );
[m,n] = size(a);
% Create and save the LP file
polyomino_lp_write ( 'Figure8b.lp', '\ Figure8b', m, n, a, b );
end