This case relates to a storage medium, an arrangement specifying method, and an information processing apparatus.
A technique for searching for optimal arrangement of goods and articles has been disclosed (for example, refer to Patent Documents 1 and 2).
Patent Document 1: Japanese Laid-open Patent Publication No. 2001-236340, Patent Document 2: Japanese Laid-open Patent Publication No. 2000-305920.
According to an aspect of the embodiments, a non-transitory computer-readable storage medium storing an arrangement specifying program that causes at least one computer to execute a process, the process includes acquiring a shape of a container that has a first surface and a second surface orthogonal to the first surface; acquiring a shape of a plurality of articles; and specifying an arrangement position and an arrangement posture of each of the plurality of articles when the plurality of articles is arranged in the container in an arrangement order, by using a bottom left algorithm, wherein the specifying includes: acquiring first gap information that indicates gap between a first article of the plurality of articles and a surroundings when the first article is arranged at a bottom left stability point regarding a first arrangement posture, for each of the plurality of articles, acquiring second gap information that indicates gap between the first article and the surroundings when the first article is arranged at a bottom left stability point regarding a second arrangement posture obtained by rotating the first article within a plane parallel to the first surface, acquiring a first solution by specifying one of the first arrangement posture and the second arrangement posture, according to comparison between the first gap information and the second gap information, acquiring first filling density information of the plurality of articles arranged in the container when the first article is arranged at the bottom left stability point regarding the first arrangement posture, acquiring second filling density information of the plurality of articles arranged in the container when the first article is arranged at the bottom left stability point regarding the second arrangement posture, acquiring a second solution by specifying one of the first arrangement posture and the second arrangement posture, according to comparison between the first filling density information and the second filling density information, and specifying the arrangement order and the arrangement posture of the plurality of articles, so that an evaluation result of an objective function regarding the first solution and the second solution satisfies a criterion.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention.
When articles are arranged in a container in order, there is a case where a workload of a worker increases depending on arrangement positions. Alternatively, depending on the arrangement positions, there is a case where a filling density of the articles into the container decreases. Therefore, it is considered to vary the arrangement positions of the articles by rotating the articles or the like. However, in this case, a calculation time used to specify the arrangement increases.
In one aspect, an object of the present invention is to provide an arrangement specifying program, an arrangement specifying method, and an information processing apparatus that can optimize a workload and a filling density while reducing a calculation time.
It is possible to optimize a workload and a filling density while reducing a calculation time.
In a product line in a factory or in-house logistics, a packaging work for packing articles such as products into containers such as packaging boxes is performed. Completing the packing work in a short time has an advantage of reducing labor costs. On the other hand, if packaging material costs can be reduced by a highly difficult packaging work, this results in reducing transportation costs. Alternatively, it is possible to achieve both by packing the articles in packaging boxes with an appropriate size.
Optimal arrangement of the products in the packaging boxes can be solved, for example, using the bottom left algorithm. The bottom left (BL) algorithm is a method for arranging figures into an empty packaging box one by one in order from the first order given to the figure.
A typical method of an assembly man-hour evaluation method is the Work Factor method. Results obtained by evaluating a packing work using a method based on this method are illustrated in
Therefore, it is considered to arrange the products as rotating the products within a plane parallel to a bottom surface of the packaging box when the products are arranged in the packaging box. In a case where the product has a substantially rectangular parallelepiped shape or in a case where the product has a plate-like shape having a substantially rectangular shape in a planer view, lengths differ according to a direction. Therefore, a gap from an inner wall of the packaging box can be changed. If the gap can be widened, this reduces the workload. In this way, by increasing a degree of freedom of a product arrangement work, it is possible to reduce the workload. However, since a plurality of arrangements can be used for one product, if the number of products increases, the number of combinations of product arrangement positions increases as illustrated in
In the following embodiments, an arrangement specifying program, an arrangement specifying method, and an information processing apparatus will be described that can optimize a workload and a filling density while reducing a calculation time by incorporating a gap when a product is arranged in a packaging box and the filling density into an arrangement algorithm.
The central processing unit (CPU) 101 is a central processing unit. The CPU 101 includes one or more cores. The random access memory (RAM) 102 is a volatile memory that temporarily stores a program to be executed by the CPU 101, data to be processed by the CPU 101, or the like. The storage device 103 is a nonvolatile storage device. As the storage device 103, for example, a read only memory (ROM), a solid state drive (SSD) such as a flash memory, a hard disk to be driven by a hard disk drive, or the like may be used. The storage device 103 stores an arrangement specifying program. The input device 104 is an input device such as a mouse or a keyboard. Alternatively, the input device 104 is an interface such as an external memory such as a USB memory. The CPU 101 executes the arrangement specifying program so that each unit other than the display device 60 of the information processing apparatus 100 is implemented. Note that, as each unit other than the display device 60 of the information processing apparatus 100, hardware such as a dedicated circuit may be used.
The storage unit 10 stores a model of a packaging box.
Furthermore, the storage unit 10 stores information regarding products to be arranged in the packaging box in order.
Next, the arithmetic unit 30 determines whether or not the variable n is equal to or less than the number of arrangements (step S3). The number of arrangements is the number of all the products arranged in the packaging box. By executing step S3, it can be determined whether or not the arrangement of all the products in the packaging box has been specified.
If it is determined in step S3 as “Yes”, the arithmetic unit 30 searches for BL stability points in both of a case with rotation A and a case without rotation B, for an n-th product, in a state where an n−1-th product is arranged in the packaging box (step S4). In a case of the variable n=1, the BL stability point is at a lower left corner of the packaging box.
Next, the arithmetic unit 30 determines a gap ratio E (step S5). A gap ratio EA in a case with rotation A is defined by WA/GA. A gap ratio EB in a case without rotation B is defined by WB/GB. A width WA indicates a length in the width direction of the product in a case with rotation A and is a length in the height direction stored in the storage unit 10. A width WB indicates a length in the width direction of the product in a case without rotation B and is a length in the width direction stored in the storage unit 10. A gap GA indicates a distance from the BL stability point to a side on a right side of the packaging box in a case where the product is arranged at the BL stability point in a case with rotation A. A gap GB indicates a distance from the BL stability point to the side on the right side of the packaging box in a case where the product is arranged at the BL stability point in a case without rotation B.
In a case where it is determined EA≠EB in step S5, the arithmetic unit 30 specifies arrangement of the product (step S7). In this case, the arithmetic unit 30 adopts arrangement that is a smaller one of EA and EB. By adopting the smaller arrangement, arrangement with a larger margin of the gap can be adopted for a product to be arranged. In other words, arrangement that can reduce the workload can be adopted.
In a case where it is determined EA=EB in step S5, the arithmetic unit 30 determines a height h (step S6).
After executing step S7, the arithmetic unit 30 adds one to the variable n (step S8). Thereafter, the processing from step S3 is executed again. In a case where it is determined in step S3 as “No”, the arrangement of all the products in the packaging box is specified. Therefore, the execution of the flowchart ends. In this case, the result output unit 50 outputs a specified product arrangement layout to the display device 60. The display device 60 displays the specified product arrangement layout.
According to the processing illustrated in
In a case where it is determined in step S15 that the height hA=the height hB, the arithmetic unit 30 determines the gap ratio E (step S16). In a case where step S16 is executed, a smaller one of the gap ratios EA and EB is adopted in step S17.
After executing step S17, the arithmetic unit 30 adds one to the variable n (step S8). Thereafter, the processing from step S3 is executed again. In a case where it is determined in step S3 as “No”, the arrangement of all the products in the packaging box is specified. Therefore, the execution of the flowchart ends. In this case, the result output unit 50 outputs a specified product arrangement layout to the display device 60. The display device 60 displays the specified product arrangement layout.
According to the processing illustrated in
In a case where it is determined in step S3 as “No”, the determination unit 40 extracts a filling density for each of the product arrangement layout with the workload priority arrangement and the product arrangement layout with the filling density priority arrangement. As the filling density, for example, a packing height can be extracted. The packing height is a height of a shape configured by all the products that have been arranged. Furthermore, the determination unit 40 extracts a work time for both of the product arrangement layout with the workload priority arrangement and the product arrangement layout with the filling density priority arrangement, by inputting both layouts into a work model (step S9). In this case, using a work model evaluation method such as the Work Factor method or the Methods-Time Measurement (MTM) method, it is possible to calculate the work time based on the weight of the product, the arrangement position of the product, an evaluation value of the gap, or the like.
Next, the determination unit 40 performs evaluation using the work time and the filling density as objective functions (step S10). For example, the determination unit 40 evaluates whether or not an evaluation function used to evaluate the objective function satisfies a prescribed value, whether or not the number of evolutionary generations of the genetic algorithm exceeds a threshold, whether or not the total number of individuals for which calculation has been performed (the number of specified product arrangement layout) exceeds a threshold, or the like.
Next, the determination unit 40 determines whether or not the evaluation result in step S10 satisfies an end condition (step S11). In a case where it is determined as “Yes” in step S11, the execution of the flowchart ends. In this case, the obtained arrangement order and the specified product arrangement layout are displayed by the display device 60.
In a case where it is determined in step S11 as “No”, the arrangement order generation unit 70 generates a new arrangement order by rearranging the arrangement order by crossover, mutation, or the like of the genetic algorithm (step S12). Thereafter, the processing from step S2 is executed again on the new arrangement order.
In each example described above, when the gap is determined, the gap in the width direction is focused. However, the gap in the height direction may be focused. When the gap ratio E is determined in step S5 in
A gap ratio EA1 in a case with rotation A is defined by WA1/GA1. A gap ratio EA2 in a case with rotation A is defined by hA1/GA2. A gap ratio EB1 in a case without rotation B is defined by WB1/GB1. A gap ratio EB2 in a case without rotation B is defined by hB1/GB2.
As illustrated in
The gap GA1 indicates a distance from the BL stability point to a side on a right side of the packaging box in a case where the product is arranged at the BL stability point in a case with rotation A. The gap GA2 indicates a gap from the lowermost side of the product in the height direction, in a case where the product is arranged at the BL stability point in a case with rotation A. In
The gap GB1 indicates a distance from the BL stability point to the side on the right side of the packaging box in a case where the product is arranged at the BL stability point in a case without rotation B. The gap GB2 indicates a gap from the lowermost side of the product in the height direction, in a case where the product is arranged at the BL stability point in a case without rotation B. In
The arithmetic unit 30 adopts a larger one of EA1 and EA2. Furthermore, the arithmetic unit 30 adopts a larger one of EB1 and EB2. Next, the arithmetic unit 30 determines whether or not EAn and EBm are equal to each other. Here, “n” and “m” are adopted numbers of one and two, respectively. In steps S7 and S17, the arithmetic unit 30 adopts a smaller one of EAn and EBm.
In each example described above, a ratio of the length of the product with respect to the gap at the time when the product is arranged is used. However, the present invention is not limited to this. For example, a gap from the product to one side of the packaging box or from the product to another product in a case where the arrangement of the product has been completed may be used. In this way, in a case where the product is rotated, the gap in a case where the arrangement of the product has been completed may be focused.
In each example described above, the packaging box is an example of a container that has a first surface and a second surface orthogonal to the first surface, and the first surface is an example of the bottom surface of the packaging box. The plurality of products is an example of articles to be arranged in the container in order. An arrangement posture with the length in the width direction and with the length in the height direction stored as the product information is an example of a first arrangement posture. The arrangement posture in a case with rotation A is an example of a second arrangement posture. The gap ratios EA, EA1, and EA2 are examples of first gap information. The gap ratios EB, EB1, and EB2 are examples of second gap information. The product arrangement layout with the workload priority arrangement is an example of a first solution. The height hA is an example of first filling density information. The height hB is an example of second filling density information. The product arrangement layout with the filling density priority arrangement is an example of a second solution. The acquisition unit 20 is an example of an acquisition unit that acquires a shape of the container that has the first surface and the second surface orthogonal to the first surface and shapes of a plurality of articles. The arithmetic unit 30, the determination unit 40, and the arrangement order generation unit 70 are examples of a specifying unit that is a specifying unit that specifies an arrangement position and an arrangement posture of each of the plurality of articles in a case where the plurality of articles is arranged in the container in order, by using a bottom left (BL) algorithm, and acquires first gap information regarding the article and surroundings in a case where the article is arranged at a BL stability point regarding a designated first arrangement posture, for each of the plurality of articles, acquires second gap information regarding the article and surroundings in a case where the article is arranged at a BL stability point regarding a second arrangement posture obtained by rotating the article within a plane parallel to the first surface, acquires a first solution by specifying the first arrangement posture and the second arrangement posture, according to comparison between the first gap information and the second gap information, acquires first filling density information of an arranged article in a case where the article is arranged at the BL stability point regarding the first arrangement posture and second filling density information of an arranged article in a case where the article is arranged at the BL stability point regarding the second arrangement posture, acquires a second solution by specifying one of the first arrangement posture and the second arrangement posture, according to comparison between the first filling density information and the second filling density information, and specifies the arrangement order and the arrangement posture of the plurality of articles, so that an evaluation result of a predetermined objective function regarding the first solution and the second solution satisfies a predetermined criterion.
While the embodiments of the present invention have been described above in detail, the present invention is not limited to such specific embodiments, and various modifications and alterations may be made within the scope of the present invention described in the claims.
All examples and conditional language provided herein are intended for the pedagogical purposes of aiding the reader in understanding the invention and the concepts contributed by the inventor to further the art, and are not to be construed as limitations to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although one or more embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
This application is a continuation application of International Application PCT/JP2020/043189 filed on Nov. 19, 2020 and designated the U.S., the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2020/043189 | Nov 2020 | US |
Child | 18303609 | US |