Method of packing rectangular objects in a rectangular area or space by determination of free subareas or subspaces
First Claim
1. A method for optimally placing rectangular objects on an area having dimensions X and Y and already partially covered with at least one rectangular object, comprising the steps of:
- depicting said area in the form of a two-dimensional matrix (x, y) having x rows and y columns, each element of the matrix representing a rectangle on the area and it being established for each element whether the corresponding rectangle in the area is free or occupied;
assigning to the respective elements of the matrix a first logic value (A) in the first mentioned case and a second logic value (B) in the case mentioned second, there being a free subarea on the area if a first equation group (I) is satisfied, which states (xl, yl)=B and (xl-1, yl)=A and (xl, yl-1)=A and (xl+1, Yl)=A (xl, yl+1)=A for the corresponding element in the matrix;
carrying out a matrix reduction after determining the elements xl, yl which satisfy (I), by always reducing by one the number of rows or the number of columns in the matrix in a predetermined sequence in consecutive steps until a (1,
1) matrix is left, the possible free subareas always being determined after a reduction step with the aid of (I);
the number of rows being reduced by determining a second equation group (II) which states for each element (xl, yl) of each row, whether (xl,yl)=B and (xl+1, yl)=B, in which case the element (xl,yl)'"'"';
=B in the reduced matrix (x,y)'"'"' and if said equation group (II) is not satisfied, the element (xl,yl)'"'"';
=A;
the number of columns being reduced by determining, for each element (x,y) of each column, whether a third equation group (III) is satisfied which states (xl,yl)=B and (xl,yl +1)=B, in which case the element (xl,yl)'"'"';
=B in the reduced matrix (x,y)'"'"', and if said third equation group (III) is not satisfied, the element (xl,yl)'"'"';
=A;
the dimensions of the free subareas determined using said first equation group (I) being determined by updating a dimension table both for the rows and for the columns of the matrix, and by adjusting the dimension table for the rows or for the columns in a corresponding step during the matrix reduction,locating free subareas by matrix reduction to a null matrix in each dimension, and placing objects fitting into said free subareas.
3 Assignments
0 Petitions
Accused Products
Abstract
A method of optimally packing, either intermittently or continuously, a storage or transportation area or space with rectangular parallelepiped objects, e.g. parcels, comprises two main steps of complex calculations. A first main step implies the locating of one or more free subareas or free subspaces on the area or in the space available for packing by means of a matrix reduction procedure for a 2- or 3-dimensional matrix representing free and occupied parts of rectangular or rectangular parallelepiped form. In a second main step a score is established for each different combination of a free subarea or subspace and an object to be packed and a possible orientation of the object for fitting in the subarea or subspace. The score is established by assigning a score value to each combination by passing through a hierarchy of determinations, whereby a score is the more favorable if the score value is assigned at a higher level in the hierarchy. Thereafter a combination of free area (or free space) and object and orientation having a most favorable score among the established scores is selected and the object of that combination is placed on the free area (or in the free space) and in the orientation for which the most favorable score was established. After placing the object with the most favorable score the first and second main steps are repeated for the possibly remaining free area or free space and objects to be packed.
78 Citations
18 Claims
-
1. A method for optimally placing rectangular objects on an area having dimensions X and Y and already partially covered with at least one rectangular object, comprising the steps of:
-
depicting said area in the form of a two-dimensional matrix (x, y) having x rows and y columns, each element of the matrix representing a rectangle on the area and it being established for each element whether the corresponding rectangle in the area is free or occupied; assigning to the respective elements of the matrix a first logic value (A) in the first mentioned case and a second logic value (B) in the case mentioned second, there being a free subarea on the area if a first equation group (I) is satisfied, which states (xl, yl)=B and (xl-1, yl)=A and (xl, yl-1)=A and (xl+1, Yl)=A (xl, yl+1)=A for the corresponding element in the matrix; carrying out a matrix reduction after determining the elements xl, yl which satisfy (I), by always reducing by one the number of rows or the number of columns in the matrix in a predetermined sequence in consecutive steps until a (1,
1) matrix is left, the possible free subareas always being determined after a reduction step with the aid of (I);
the number of rows being reduced by determining a second equation group (II) which states for each element (xl, yl) of each row, whether (xl,yl)=B and (xl+1, yl)=B, in which case the element (xl,yl)'"'"';
=B in the reduced matrix (x,y)'"'"' and if said equation group (II) is not satisfied, the element (xl,yl)'"'"';
=A;
the number of columns being reduced by determining, for each element (x,y) of each column, whether a third equation group (III) is satisfied which states (xl,yl)=B and (xl,yl +1)=B, in which case the element (xl,yl)'"'"';
=B in the reduced matrix (x,y)'"'"', and if said third equation group (III) is not satisfied, the element (xl,yl)'"'"';
=A;
the dimensions of the free subareas determined using said first equation group (I) being determined by updating a dimension table both for the rows and for the columns of the matrix, and by adjusting the dimension table for the rows or for the columns in a corresponding step during the matrix reduction,locating free subareas by matrix reduction to a null matrix in each dimension, and placing objects fitting into said free subareas.
-
-
2. A method for optimally placing objects in the shape of a rectangular parallelepiped in a space partially filled with objects in said form, comprising the steps of:
-
measuring the dimensions of the rectangle sides (Xp, Yp and Zp) of a plurality of said objects; depicting a space essentially having the form of a right parallelepiped and having dimensions X, Y and Z in the form of three-dimensional matrix (x,y,z) having x rows, y columns and z layers, each element of the matrix representing a right parallelepiped in the space and establishing for each element whether the corresponding right parallelepiped in the space is free or occupied, assigning the corresponding element of the associated matrix a first logic value (A) in the first mentioned case and a second logic value (B) in the case mentioned second, there being a free subspace in the space if a first equation group (I) is satisfied which states (xl,yl,zl)=B and (xl-1,yl,zl)=A and (xl,yl-1,z1)=A and (xl+1,yl,zl)=A and (xl,yl+1,zl)=A and (xl,yl,zl-1)=A and (xl,yl,zl+1)=A for the corresponding element in the matrix; carrying out a matrix reduction after determining the elements (xl,yl,zl) which satisfy said first equation group (I), by reducing by one the number of rows or the number of columns or the number of layers of the matrix in a predetermined sequence in consecutive steps until a (1,1,1) matrix or a null matrix is left, the possible free subspaces, if any, always being determined after a reduction step with the aid of said first equation group (I);
the number of rows being reduced by determining, for each element (xl,yl,zl) of the matrix, whether a second equation group (II) is satisfied which states (xl,yl,zl)=B and (xl+1,yl,zl)=B, in which case the element (xl,yl,zl)'"'"';
=B in the reduced matrix (x, y, z)'"'"', and if said second equation group (II) is not satisfied, the element (xl, yl, zl)'"'"'=A;
the number of columns being reduced by determining whether a third equation group (III) is satisfied which states (xl, yl, zl)=B and (xl, yl+1, zl)=B, in which case the element (xl, yl, zl)'"'"';
=B in the reduced matrix (x, y, z)'"'"', and if said third equation group (III) is not satisfied, then the element (xl, yl, zl)'"'"'=A;
the number of layers being reduced by determining whether a fourth equation group (IV) is satisfied which states (xl, yl, zl) =B and (xl, yl, zl+1)=B, in which case the element (xl, yl, zl)'"'"';
=B in the reduced matrix (x, y, z)'"'"', and if said fourth equation group (IV) is not satisfied, then the element (x.sub. l, yl, zl)'"'"'=A;finding the dimensions of the free subspaces determined using said first equation group (I) by updating a dimension table for the rows and for the columns and for the layers of the matrix, and by adjusting the dimension table for the rows or the columns or the layers in a corresponding step during the matrix reduction, and placing in said free subspaces said objects fitting into said free subspaces.
-
-
3. A method for optimally placing rectangular objects on an area being possibly, but not necessarily, already partially covered with rectangular objects, comprising the steps of:
-
measuring the dimensions of the rectangle sides (Xp and Yp) of a plurality of said objects; locating on said area a plurality of free rectangular portions of said area having rectangle sides (Xs and Ys); establishing a score for each one of said free rectangular portions of said area, for each of said objects, and for each of two possible orientations in which rectangle sides of said objects are parallel to or aligned with rectangle sides of said rectangular portion of said area, by assigning score values, in respective substeps, corresponding to the following determinations; (1) whether said object in a said orientation is too large for fitting in said portion of said area; (2) whether all dimensions of said object (Xp, Yp) are smaller than the corresponding dimensions of said portion (Xs, Ys) of said area; (3) whether one dimension of said portion (Xs, or Ys) of said area corresponds to one dimension of said object (Xp or Yp), and (4) whether two dimensions of said portion (Xs, and Ys) of said area correspond to two dimensions of the object (Xp and Yp), said score being the more favorable as the score value is assigned corresponding to a determination in a substep with a higher number of the above-designated numbers (1,2,3 or
4) of said substeps which produces an affirmative answer, andthereafter selecting and placing an object in a free area portion and in an orientation for which a most favorable score was established among respective scores for said plurality of portions and said plurality of objects and said orientations. - View Dependent Claims (4, 5)
-
-
6. A method for optimally placing objects in the shape of a rectangular parallelepiped in a space being possibly, but not necessarily, already partially filled with objects in said form, comprising the steps of:
-
measuring the dimensions of the rectangle sides (Xp, Yp and Zp) of a plurality of said objects; locating in said space a plurality of portions of free space in the shape of a rectangular parallelepiped having rectangle sides (Xs, Ys and Zs); and establishing a score for each of said portions of free space, for each of said objects, for each of six possible orientations in which rectangle sides of said objects are parallel to or aligned with rectangle sides of said rectangular portion of said free space, by assigning score values, in respective substeps, corresponding to the following determinations; (1) whether an object (Xp, Yp, Zp) in a said orientation is too large for fitting in said portion (Xs, Ys, Zs) of said space; (2) whether all dimensions of said object (Xp, Yp, Zp) are smaller than the corresponding dimensions of said portion (Xs, Ys, Zs) of said free space; (3) whether one dimension of said portion (Xs, Ys or Zs) of said free space corresponds to one dimension of said object (Xp, Yp or Zp); (4) whether two dimensions of said portion (Xs, Ys, Zs) of said free space correspond to two dimensions of said object, and (5) whether three dimensions of said portion (Xs, Ys, Zs) of said free space correspond to three dimensions of said object, said score being the more favorable as the score value is assigned corresponding to a determination in a substep with a higher number of the above-designated numbers (1,2,3,4 or
5) of said substeps which produces an affirmative answer, andthereafter selecting and placing an object in a portion of free space and in an orientation for which a most favorable score was established among respective scores for said plurality of portions and said plurality of objects and said orientations. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A method for optimally placing objects in the shape of a rectangular parallelepiped in a space available for storage or transportation of said objects and being possibly, but not necessarily, already partially occupied with objects of said shape, comprising the steps of:
-
(a) measuring the dimensions of the rectangle sides (Xp, Yp and Zp) of a plurality of said objects; (b) locating in said space a plurality of portions of free space in the shape of a rectangular parallelepiped having rectangle sides (Xs, Ys and Zs); (c) establishing a score for each of said portions, for each of said objects, for each of six possible orientations in which rectangle sides of said objects are parallel to or aligned with rectangle sides of said rectangular portion of said space, by assigning score values, in respective substeps, corresponding to the following determinations; (1) whether an object (Xp, Yp, Zp) in a said orientation is too large for fitting in said portion (Xs, Ys, Zs) of said space; (2) whether all dimensions of said object (Xp, Yp, Zp) are smaller than the corresponding dimensions of said portion (Xs, Ys, Zs) of said free space; (3) whether one dimension of said portion (Xs, Ys or Zs) of said free space corresponds to one dimension of said object (Xp, Yp or Zp); (4) whether two dimensions of said portion (Xs, Ys, Zs) of said free space correspond to two dimensions of said object, and (5) whether three dimensions of said portion (Xs, Ys, Zs) of said free space correspond to three dimensions of said object, said score being the more favorable as the score value is assigned corresponding to a determination in a substep with a higher number of the above-designated numbers (1,2,3,4 or
5) of said substeps which produces an affirmative answer;(d) selecting and placing an object in a free portion of free space and in an orientation for which a most favorable score was established among respective scores for said plurality of said portions and said plurality of objects and said possible orientations, thereby leaving unoccupied a free space portion of the originally available space; (e) adding to said plurality of said objects a next object, if any, and measuring the dimensions of the rectangle sides (Xp, Yp and Zp) of said next object; (f) repeating method steps (b) through (e) with the plurality of space portions defined in step (b) henceforth being a plurality of portions of free space remaining after an immediately previous performance of method steps (b) through (e), until either all objects of said plurality are placed in previously free space or else no more objects of said plurality can fit in space left free by the most recent performance of method steps (b) through (e). - View Dependent Claims (18)
-
Specification