The present invention relates to a production schedule creating apparatus, a production schedule creating method, and a production schedule creating program and, more particularly, relates to a production schedule creating apparatus, a production schedule creating method, and a production schedule creating program that are suitably applied to a production schedule creating apparatus that creates a production schedule of products.
There are a large number of events in which production order and work order are schedule in advance such as manufacturing of products in a factory and development of a large scale system. In planning of such a schedule, it is necessary to plan an optimum schedule according to a situation while considering constraints such as resources of equipment and personnel, time, or temperature. In such schedule planning, since there is a limit in manual planning, in more cases, schedules are planned by applying an algorithm such as mathematical planning using computers.
On the other hand, concerning constrains considered in the schedule planning, it is difficult to decide constraint conditions matching an actual situation in a site when the constraint conditions are actually large and complicated or decided implicitly by a rule of thumb or an intuition of a planner who creates a plan. In conventional techniques, a technique for assisting efficient decision of constraint conditions focusing on the problems described above is publicly known. In a first conventional technique, constraint conditions are relaxed by learning a history of schedules planned in the past while considering obvious constraint conditions given in advance (see PTL 1). In a second conventional technique, priority levels are given in advance to a plurality of constraint conditions in schedule planning for determining order and, when a schedule cannot be planned because constraints are strict, the constraint conditions are relaxed by changing the priority levels of the constraints (see PTL 1).
That is, in these conventional techniques, it is attempted to plan a schedule matching an actual situation in a site by tuning the constraint conditions according to the actual situation in the site.
[PTL 1] Japanese Patent Application Laid-open No. 2016-189079
[PTL 2] Japanese Patent Application Laid-open No. H05-324665
The conventional techniques explained above focus on only relaxing constraint conditions to eliminate violation of the constraint conditions. The first conventional technique is a method of sequentially relaxing violation of the constraint conditions that occurs at least once. When the constraint conditions are so excessively relaxed that a violation frequency in the past is exceeded, it is likely that a schedule not conforming to an actual situation in the past is planned. On the other hand, in the second conventional technique, it is likely that the quality of a schedule depends on setting of the priority levels, for example, a planner underestimates a priority level of a constraint condition that is actually a bottleneck.
The present invention has been devised considering the points described above and proposes a production schedule creating apparatus, a production schedule creating method, and a production schedule creating program that can plan and provide a new production schedule reflecting characteristics or tendencies appearing in production schedules planned in the past.
In order to solve such problems, a production schedule creating apparatus according to the present invention includes: a schedule planning section that calculates, on the basis of history information concerning production schedules of products planned in the past, a schedule pattern including production order of the products while considering constraint conditions in producing the products, rearranges the production order of the products according to the schedule pattern, and creates a plurality of schedule candidates concerning a production schedule of the products; and a schedule evaluating section that evaluates the plurality of schedule candidates on the basis of evaluation indicators corresponding to the constraint conditions, and selects a best production schedule out of the plurality of schedule candidates.
A production schedule creating method in a production schedule creating apparatus that creates a production schedule of produces according to the present invention includes: a schedule planning step in which the production schedule creating apparatus calculates, on the basis of history information concerning production schedules of products planned in the past, a schedule pattern including production order of the products while considering constraint conditions in producing the products, rearranges the production order of the products according to the schedule pattern, and creates a plurality of schedule candidates concerning a production schedule of the products; and a schedule evaluating step in which the production schedule creating apparatus evaluates the plurality of schedule candidates on the basis of evaluation indicators corresponding to the constraint conditions, and selects a best production schedule out of the plurality of schedule candidates.
A production schedule creating program according to the present invention causes a computer to execute: a schedule planning step for calculating, on the basis of history information concerning production schedules of products planned in the past, a schedule pattern including production order of the products while considering constraint conditions in producing the products, rearranging the production order of the products according to the schedule pattern, and creating a plurality of schedule candidates concerning a production schedule of the products; and a schedule evaluating step for evaluating the plurality of schedule candidates on the basis of evaluation indicators corresponding to the constraint conditions, and selecting a best production schedule out of the plurality of schedule candidates.
According to the present invention, it is possible to create a new production schedule reflecting characteristics or tendencies of production schedules planned in the past.
Embodiments of the present invention are explained in detail below with reference to the drawings.
A program 4A, a database 4B, and a tuning parameter 4C are stored in the storage device 4. The database 4B includes a table as explained below. The table is referred to and updated by the program 4A.
In the schedule history storage DB 11, schedules planned in the past are stored as schedule histories 11A, 11B, and 11C together with information such as planners and planning periods (see
The machine learning section 12 has a function of reading, from the schedule history storage DB 14, the schedule histories 11A, 11B, and 11C in a predetermined unit, that is, for example, for each planner and for each schedule period and outputting a schedule pattern according to machine learning.
The machine learning section 12 has a function of, as preprocessing, converting the schedule histories 11A, 11B, and 11C into a machine-learnable data format and creating teacher data. A conversion method into the teacher data is explained below.
The machine learning section 12 has a function of, in parallel to the processing explained above, a function of determining a parameter of an evaluation indicator (hereinafter referred to as “evaluation indicator parameter”) on the basis of the read schedule histories 11A, 11B, and 11C. Note that, in this embodiment, the evaluation indicator is referred to as “KPI” as well.
Specifically, first, the machine learning section 12 reads constraint conditions 13 and calculates a frequency of violation of the constraint conditions 13 (hereinafter referred to as “violation frequency”) and a maximum value of a violation amount representing whether the constraint conditions 13 are violated. Note that the violation frequency referred to herein means a frequency represented by the number of violations of the constraint conditions 13/the number of violations of all constraint conditions. Further, the machine learning section 12 determines evaluation indicator parameters on the basis of the violation frequency and the maximum value. The machine learning section 12 stores the parameters in the machine learning result storage DB 14 while linking the parameters with a schedule pattern obtained by learning schedule histories in the past in that way. Details of the machine learning section 12 are explained below.
The schedule planning section 15 has a function of applying the schedule pattern to input data to be scheduled, that is, data for which a schedule is newly planned to, as explained in detail below, calculate a transition probability of other products that could be arranged following the products and create a plurality of schedule candidates through random number selection using the transition probability as a weight.
The schedule evaluating section 16 has a function of selecting, for example, one schedule candidate as an optimum solution out of the plurality of schedule candidates created in the schedule planning section 15 according to the evaluation indicator (KPI) created by the machine learning section 12.
The schedule output section 17 has a function of outputting the schedule candidate evaluated by the schedule evaluating section 16 and selected as the optimum solution to the outside as a schedule candidate 17A.
The production schedule creating apparatus 100 has the configuration explained above. An example of a production schedule creating method executed by the production schedule creating apparatus 100 is specifically explained below.
First, the production schedule creating apparatus 100 reads the schedule histories 11A, 11B, and 11C (step S1 in
In the schedule history storage database 11, as shown in
Subsequently, a predetermined tuning parameter is read (step S3 in
In the schedule pattern creation processing S20, first, as preprocessing, as shown in
In the teacher data conversion processing, first, the machine learning section 12 determines, in a round-robin manner, product pairs formed by reference products and comparative products (step S41 in
Specifically, as shown in
Subsequently, the machine learning section 12 give label values to all the product pairs as objective variables as explained below (step S43 and step S47 in
The machine learning section 12 sets the label value as the objective variable, sets a feature value based on the feature value vector as an explanatory variable, and applies the teacher data explained above to a learning algorithm such as a gradient boost tree (step S23 in
The teacher data is applied a machine learning method such as a gradient boost determination tree as explained above to thereby be modeled as a schedule pattern. The schedule pattern modeled in this way is given with a predetermined file name as shown in
On the other hand, the machine learning section 12 executes evaluation indicator parameter determination processing explained below in parallel to the schedule pattern creation processing explained above (step S30 in
As an overview of the evaluation indicator parameter determination processing, as shown in
First, as shown in the middle part of
The machine learning section 12 creates a histogram to be shown in production order (equivalent to “arrangement order” shown in
The machine learning section 12 calculates a frequency of violation of the constraint conditions (equivalent to the “violation frequency” explained above) (step S33 in
Subsequently, the machine learning section 12 determines whether the number of violations calculated as explained above is 0 (step S34 in
As a result, when the number of violations is 0, the machine learning section 12 determines an evaluation indicator parameter to make a KPI value infinite when a specific constraint condition that must be always observed is violated (step S36 in
On the other hand, when the number of violations is not 0, the machine learning section 12 calculates a maximum violation amount of the pertinent constraint condition (step S35 in
Specifically, in the case of an example shown in the lower right of
As explained above, the machine learning section 12 determines, for each schedule history, “evaluation indicator parameters” including the maximum violation amount and the violation frequency for each of the constraint conditions # (constraint condition numbers).
The machine learning section 12 stores, as shown in
The machine learning section 12 reads, as data for which a schedule is about to be newly planned, data to be scheduled (step S6 in
Subsequently, schedule planning processing (step S9 in
The schedule planning section 15 reads a schedule pattern from the machine learning result storage DB 14, rearranges the data to be scheduled through weighted random number selection according to the schedule pattern, and creates schedule candidates as explained below (step S91 in
Specifically, the schedule planning section 15 applies the schedule pattern to the data to be scheduled and, for example, as shown in the upper right of
The schedule planning section 15 determines whether a predetermined number of schedule candidates set in advance are created (step S92 in
Subsequently, in the schedule evaluation processing (step S10 in
Specifically, as shown in step S101 in
The schedule evaluating section 16 reads, for example, evaluation indicator parameters for a constraint condition #i (i is a natural number) (step S102 in
The schedule evaluating section 16 calculates a violation point (a value “12” in the example shown in
The schedule evaluating section 16 sets, as a KPI value of the schedule candidate 2, a total of violation points of all the constraint conditions explained above (step 105 in
Subsequently, the schedule evaluating section 16 determines, as an optimum schedule candidate, a specific schedule candidate having the smallest KPI value out of all schedule candidates 1 to n using Expression (6) shown in a lower part of
The schedule evaluating section 16 repeats step S101 to step S105 until KPI values are calculated for the number of all the schedule candidates (step 106 in
The schedule evaluating section 16 selects, as an optimum schedule candidate, a specific schedule candidate having the smallest KPI value out of all the schedule candidates and instructs the schedule output section 17 to output the optimum schedule candidate (step S107 in
The schedule output section 17 outputs the optimum schedule candidate to the outside as a production schedule 17A on an output screen shown in a lower part of
According to the above explanation, with the production schedule creating apparatus 100 in the embodiment, it is possible to plan and provide a new production schedule reflecting characteristics and tendencies appearing in production schedules planned in the past.
In a first modification in the first embodiment, a schedule candidate created before is taken over when a schedule candidate is created thereafter. The optimum schedule candidate selected by the schedule evaluating section 16 is re-applied to the schedule planning processing by the schedule planning section 15. A recursive calculation logic such as ant colony optimization or a genetic algorithm is applied. Consequently, it is possible to improve accuracy of the optimum schedule candidate serving as a finally calculated solution.
That is, the schedule evaluating section 16 corrects the transition probability to 1/KPI value=1/10.0=0.1 in an example shown in
The production schedule creating apparatus 100A according to the second embodiment have a configuration and operation substantially the same as the configuration and the operation of the production schedule creating apparatus 100 according to the first embodiment. Therefore, explanation is omitted concerning the same configuration and the same operation. Differences between the first and second embodiments are mainly explained below.
In the second embodiment, unlike the first embodiment, besides an information collection apparatus 102 such as an external sensor, a production line control apparatus 103 that performs exchange of data, parameters, and the like via an input interface is provided as an example of an external system.
In the second embodiment, the production schedule creating apparatus 100A captures data or parameters acquired from the information collection apparatus 102 and the production line control apparatus 103 and dynamically tunes a KPI value according to an external environment to create a production schedule.
In the production schedule creating apparatus 100A, temperature data 102A measured when the created production schedule is applied to an actual manufacturing line is stored in the schedule history storage DB 11 in advance.
In the production schedule creating apparatus 100A, when planning a production schedule, the schedule planning section 15 extracts, on the basis of the temperature data 102A automatically acquired from the information collection apparatus 102 as shown in
According to the above explanation, concerning a product easily affected by manufacturing conditions such as temperature, it is possible to accurately manufacture the product on the basis of an optimum production schedule.
The embodiments explained above are illustrations for explaining the present invention and are not meant to limit the present invention to only these embodiments. The present invention can be carried out in various forms without deviating from the gist of the present invention. For example, in the embodiments, the processing of the various programs are sequentially explained. However, the present invention is not particularly limited to this. Therefore, the order of the processing may be changed or the processing maybe configured to operate in parallel unless contradiction occurs in a processing result.
The present invention can be widely applied to a production schedule creating apparatus and a production schedule creating method for creating and proposing a production schedule of products.
Number | Date | Country | Kind |
---|---|---|---|
PCT/JP2017/020257 | May 2017 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2017/042632 | 11/28/2017 | WO | 00 |