Planning system and planning device and planning method used therein

By using the constraint mitigation unit to generate a mitigation pattern in the planning system, and selecting the mitigation amount based on the relationship between the mitigation amount and the evaluation value, the problem of low efficiency of mitigation plans in the existing technology is solved, and better planning results are achieved.

CN113762882BActive Publication Date: 2024-10-08HITACHI LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110477682.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-06-03
Filing Date
2021-04-30
Publication Date
2024-10-08
Estimated Expiration
2041-04-30

AI Technical Summary

Technical Problem

Existing technologies fail to effectively consider the relationship between the mitigation amount and distribution costs when mitigating constraints, making it difficult to construct an efficient mitigation plan.

Method used

A plan making system is designed. Through the processing device and the storage device, the constraint relaxation part is used to generate a relaxation pattern. Based on the relationship between the relaxation quantity and the evaluation value and the application frequency, the appropriate relaxation quantity is selected to formulate a plan with better evaluation.

Benefits of technology

The relationship between the constraint mitigation amount and the plan evaluation value can be considered to formulate a plan with better evaluation, which improves the efficiency of the mitigation plan.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113762882B_ABST
    Figure CN113762882B_ABST
Patent Text Reader

Abstract

A plan making system and a plan making device and a plan making method used therein are used to make an evaluated plan for a plan requiring relaxation of constraints by considering the relationship between the relaxation amount of the constraints and the evaluation value of the plan. The plan making device has a processing device and a storage device to make a production plan; the processing device has: a plan making unit to make a plan based on the input order information of the plan, the constraints generated according to the equipment information, and the evaluation function; a constraint relaxation unit to relax the violation of the constraint when the constraint is violated; the constraint relaxation unit determines the constraints associated with the violation of the constraint, generates a relaxation pattern, extracts the relationship between the relaxation amount and the evaluation value in the evaluation function and the application frequency of the relaxation amount according to historical data for each relaxation pattern, and selects the relaxation amount based on the relationship between the relaxation amount and the evaluation value and the application frequency of the relaxation amount; the plan making unit makes a plan based on the relaxation amount of each relaxation pattern generated, evaluates it with the evaluation function, and adopts a plan with better evaluation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a planning system that takes into account the relaxation of constraints. Background Art

[0002] In a planning system, when planning is performed, there are many constraints in real problems, and it is difficult to satisfy all the constraints. Therefore, in a planning system, planning based on efficient constraint mitigation without satisfying all the constraints has become a general issue.

[0003] As background technology in the technical field of this invention, there is patent document 1. Patent document 1 describes a distribution plan formulation system for formulating a distribution plan for items, which comprises: a storage unit for maintaining constraints for formulation of a distribution plan and cost information used for calculating a distribution cost based on the distribution plan; a distribution formulation and cost calculation unit for formulating a distribution plan before the above constraints are relaxed in a manner that satisfies the above constraints, and calculating the distribution cost of the above distribution plan before the relaxation based on the above cost information; and a constraint relaxation unit for generating a constraint relaxation plan by relaxing the above constraints; the above distribution formulation and cost calculation unit further formulates a distribution plan after the above constraints are relaxed to satisfy the above constraint relaxation plan, calculates the distribution cost of the above distribution plan after the relaxation based on the above cost information, and outputs the above constraint relaxation plan when the distribution cost of the above distribution plan after the relaxation is lower than the distribution cost of the above distribution plan before the relaxation.

[0004] Prior art literature

[0005] Patent Literature

[0006] Patent Document 1: International Publication No. 2017 / 187482 Summary of the invention

[0007] Problems to be solved by the invention

[0008] In Patent Document 1, the system generates one or more constraint relaxation plans by relaxing to one or more relaxation amounts based on the relaxation step length, and outputs a constraint relaxation plan that is lower than the delivery cost. However, since the relationship between the relaxation amount and the delivery cost is not quantitatively considered, and it is not known how many relaxation plans should be prepared in advance, it is difficult to construct an efficient relaxation plan.

[0009] Means used to solve problems

[0010] To take an example of the present invention, a planning device having a processing device and a storage device for formulating a production plan; the processing device having: a planning unit, which makes a plan based on input predetermined order information of the plan, constraints generated based on equipment information, and an evaluation function; and a constraint mitigation unit, which mitigates the constraint violation when the constraint is violated; the constraint mitigation unit determines the constraints associated with the constraint violation, generates a mitigation pattern, extracts the relationship between the mitigation amount and the evaluation value in the evaluation function and the application frequency of the mitigation amount based on historical data for each mitigation pattern, and selects the mitigation amount based on the relationship between the mitigation amount and the evaluation value and the application frequency of the mitigation amount; the planning unit formulates a plan based on the mitigation amount generated for each mitigation pattern, evaluates the plan through the evaluation function, and adopts the plan with the better evaluation.

[0011] Effects of the Invention

[0012] According to the present invention, a plan with good evaluation can be prepared by taking into account the relationship between the amount of relaxation of constraints and the evaluation value of the plan. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is a structural diagram of the planning system of the embodiment.

[0014] Figure 2 It is a functional configuration diagram of the planning section of the embodiment.

[0015] Figure 3 This is a functional configuration diagram of the constraint relevance extraction unit according to the embodiment.

[0016] Figure 4 It is a functional structure diagram of the relaxation style classification unit of the embodiment.

[0017] Figure 5 It is a functional configuration diagram of the mitigation information extraction unit according to the embodiment.

[0018] Figure 6 It is a functional configuration diagram of the mitigation amount application unit of the embodiment.

[0019] Figure 7 It is a hardware structure diagram of the planning device of the embodiment.

[0020] Figure 8 It is a process flow chart of the planning device of the embodiment.

[0021] Fig. 9 This is a data structure diagram of the order information DB of the embodiment.

[0022] Fig.10 This is a data structure diagram of the device information DB of the embodiment.

[0023] Fig.11 This is a flowchart of the constraint relaxation process according to the embodiment.

[0024] Fig.12 It is a diagram showing the constraint priority according to the embodiment.

[0025] Fig.13 It is a diagram showing constraint-related information according to the embodiment.

[0026] Fig.14 It is a graph showing the relaxation amount and evaluation value distribution of the example.

[0027] Fig.15 It is a diagram showing the frequency of application of the mitigation amount in the embodiment.

[0028] Fig.16 It is a diagram showing a display screen of the planning system displayed on the user terminal of the embodiment.

[0029] Description of symbols

[0030] 100: planning device; 101: order information DB; 102: equipment information DB; 103: planning section; 104: constraint mitigation section; 105: user terminal; 106: planning result DB; 111: constraint correlation extraction section; 112: mitigation style classification section; 113: mitigation information extraction section; 114: mitigation amount application section; 201: determination variable generation section; 202: constraint condition generation section; 203: evaluation index generation section; 204: planning section; 205: planning result output section; 701: CPU (processing device); 702: memory (storage device); 703: interface; 704: network interface; 705: keyboard; 706: screen; 707: mouse; 708: hard disk; 1601: mitigation style display screen; 1602: mitigation information display screen; 1603: planning result display screen. DETAILED DESCRIPTION

[0031] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

[0032] [Example]

[0033] Figure 1 : is a structural diagram of the planning system of this embodiment. Figure 1 In the present invention, the planning system is composed of a planning device 100 , an order information DB (database) 101 , a device information DB 102 , and a user terminal 105 .

[0034] The order information DB 101 is a device for storing orders for scheduled production. The order information includes information such as the type, quantity, and delivery date of the product requested by the customer.

[0035] The equipment information DB 102 is a device that stores descriptions of the production capacity of equipment, specifications of products produced, differences in specifications of products arranged before and after a single production line, and the like.

[0036] The planning device 100 includes a planning unit 103, a constraint mitigation unit 104, and a planning result DB 106 as its functional units.

[0037] The plan preparation unit 103 has a function of reading planned order information from the order information DB 101 and available equipment information from the equipment information DB 102, and creating a plan according to decision variables, constraints, and an evaluation function for evaluating the quality of the plan.

[0038] The constraint mitigation unit 104 has a function of mitigating a constraint violation when all constraint conditions cannot be satisfied during planning by the planning unit 103, and sending the mitigation amount of the constraint violation to the planning unit 103. The constraint mitigation unit 104 is further composed of a constraint relevance extraction unit 111, a mitigation pattern classification unit 112, a mitigation information extraction unit 113, and a mitigation amount application unit 114 as its functional units.

[0039] The plan result DB 106 is a device for storing the automatic plan created by the plan making unit 103. The user terminal 105 is a terminal operated by the user. In addition, although the plan making device 100 is described as having the plan result DB 106, the plan result DB 106 may be arranged outside the plan making device 100, and the plan making device 100 may access the external plan result DB 106 through a network interface described later.

[0040] Figure 2 1 is a functional block diagram of the planning unit 103 of this embodiment. Figure 2 201 denotes a decision variable generating unit, 202 denotes a constraint condition generating unit, 203 denotes an evaluation index generating unit, 204 denotes a plan making unit, and 205 denotes a plan result output unit.

[0041] The determination variable generation unit 201 is a processing unit that sets the range of the production volume of the equipment. The constraint condition generation unit 202 reads the planned order information from the order information DB 101, reads the equipment information from the equipment information DB 102, and creates constraints such as the maximum production volume of the equipment and the delivery period of the ordered goods. The evaluation index generation unit 203 is a processing unit that evaluates the plan using the production cost of the production goods in one plan and creates an evaluation function.

[0042] The plan formulation unit 204 is a processing unit that determines the numerical values ​​of decision variables by an optimization algorithm based on the decision variables, constraints, and evaluation functions generated by the decision variable generation unit 201 , the constraint generation unit 202 , and the evaluation index generation unit 203 .

[0043] The plan result output unit 205 is a processing unit that determines the end conditions of the plan such as the plan accuracy and processing time, causes the plan formulation unit 204 to re-plan or end the plan processing, outputs the plan result, etc. In addition, the plan result output unit 205 is a processing unit that sends the information of the decision variables, constraints, and evaluation functions generated by the decision variable generation unit 201, the constraint generation unit 202, and the evaluation index generation unit 203 and the constraint violation information output from the plan formulation unit 204 to the constraint mitigation unit 104 when the constraint is violated.

[0044] Figure 3 FIG. 2 is a functional configuration diagram of the constraint relevance extraction unit 111 of the constraint relaxation unit 104. Figure 3 In the above, the related constraint extraction unit 301 is a processing unit that specifies a constraint related to a constraint violation based on the constraint outputted from the planning unit 103, information on the evaluation function, and information on constraint violation.

[0045] The constraint priority extraction unit 302 is a processing unit that extracts the degree of violation of the related constraint from the plan result DB 106 for the related constraint specified by the related constraint extraction unit 301 and sets the degree of violation as a priority.

[0046] The constraint-related information generating unit 303 is a processing unit that combines and outputs related constraint information with priority information based on the related constraints and constraint priorities extracted by the related constraint extraction unit 301 and the constraint priority extraction unit 302 .

[0047] Figure 4 FIG. 2 is a functional configuration diagram of the relaxation pattern classification unit 112 of the constraint relaxation unit 104. Figure 4 In the example, the correlation constraint combination creation unit 401 is a processing unit that creates a correlation constraint combination based on the correlation constraint information and priority information extracted from the correlation constraint condition extraction unit 301 .

[0048] The relaxation pattern creation unit 402 is a processing unit that calculates the frequency of the correlation constraint combination created by the correlation constraint combination creation unit 401 from the plan result DB 106, adopts the correlation constraint combination with a higher frequency as a relaxation pattern, and generates and outputs it.

[0049] Figure 5 FIG. 2 is a functional configuration diagram of the relaxation information extraction unit 113 of the constraint relaxation unit 104. Figure 5In the example, the similar plan extracting unit 501 is a processing unit that extracts similar constraints from the history data of the plan result DB 106 for each relaxation pattern generated by the relaxation pattern classifying unit 112 .

[0050] The evaluation function distribution creation unit 502 is a processing unit that extracts and creates the distribution of the evaluation value in the evaluation function of the corresponding plan and the relaxation amount of the constraint condition in the relaxation pattern with respect to the similar plan extracted by the similar plan extraction unit 501 .

[0051] The relaxation amount application frequency creation unit 503 is a processing unit that creates a relationship between the relaxation amount of the constraint condition in the relaxation pattern and the application frequency of the corresponding relaxation amount for the similar plan extracted from the similar plan extraction unit 501 .

[0052] The relaxation information output unit 504 is a processing unit that outputs the distribution of the relaxation amount and the evaluation value, and the application frequency of the relaxation amount, which are created by the evaluation function distribution creation unit 502 and the relaxation amount application frequency creation unit 503 .

[0053] Figure 6 FIG. 2 is a functional configuration diagram of the relaxation amount application unit 114 of the constraint relaxation unit 104. Figure 6 In the example, the relaxation amount candidate selection unit 601 is a processing unit that selects a candidate for the relaxation amount based on the relaxation amount created by the relaxation information extraction unit 113 and the amount of change in the distribution of the evaluation value in the evaluation function corresponding to the plan.

[0054] The application frequency candidate selection unit 602 is a processing unit that selects a relaxation amount candidate with a high utilization frequency based on the relationship between the relaxation amount generated by the relaxation information extraction unit 113 and the application frequency of the corresponding relaxation amount.

[0055] The relaxation amount candidate output unit 603 is a processing unit that adopts one relaxation amount candidate based on the candidates selected by the relaxation amount candidate selection unit 601 and the application frequency candidate selection unit 602 , and outputs the result to the planning unit 103 .

[0056] Figure 7 FIG. 1 is a hardware structure diagram of the planning device 100 of this embodiment. Figure 7 In the present invention, the planning device 100 is composed of a common PC system, that is, it is composed of a CPU (processing device) 701 , a memory (storage device) 702 , an interface 703 , a network interface 704 , a keyboard 705 , a screen 706 , a mouse 707 , and a hard disk 708 .

[0057] CPU701 is a central processing unit (Central Processing Unit), which executes the above-mentioned various functions by executing the program recorded in the memory 702 or the program transferred to the memory 702 from the hard disk 708 in advance. In addition, as needed, the program can be used by the PC, and it can also be imported through a removable storage medium. In this case, the device for reading the storage medium is connected to the interface 703. In addition, as such a storage medium and a device for reading it, it is well known that there is a structure using an optical disk or a structure using a flash memory. In addition, the program can also be imported into the PC through the network interface 704 via a communication medium (a communication line or a transmission wave on the communication line) as needed.

[0058] The memory 702 temporarily stores programs and data. The interface 703 is used to connect devices in the PC system and connects various devices in the PC system.

[0059] The network interface 704 is a device for the PC outside the PC system to communicate with other databases and the like, and communicates with the order information DB 101 , the equipment information DB 102 , and the user terminal 105 .

[0060] The keyboard 705 is a device operated by the operator of the PC system in order to input commands and data to the PC system. The screen 706 is a device for displaying processing results, etc. The mouse 707 is a device for moving the pointer displayed on the screen, and for specifying a position on the screen by allowing the operator to press a button at any place, and for communicating certain actions to the CPU 701. In addition, a touch panel may be used instead. The hard disk 708 is a device for storing programs and data.

[0061] In addition, although the planning device 100 is described as being composed of a general PC system, not all functions within the planning device 100 may be composed of one PC system, part of the functions may be composed of other PC systems, or the planning device 100 may be composed of multiple PC systems.

[0062] Figure 8 This is a flowchart showing an example of the planning process of this embodiment.

[0063] exist Figure 8 In the embodiment, step S801 is a process in which the user terminal 105 displays the order information from the order information DB 101 and the device information from the device information DB 102. In addition, it is a process in which the user confirms the order information. Here, the communication between the DB and the user terminal 105 can be performed by ordinary communication or RPC (Remote Procedure Call), etc., and it is assumed that the communication between devices is performed by such a method.

[0064] Fig. 9 This is a diagram showing the data structure of the order information DB101 of the present embodiment. The order information DB101 is composed of an order number 901, a product type 902, a delivery date 903, and a required quantity 904. The value of the order number 901 is an identification number that uniquely identifies the order. The product type 902 is identification information that uniquely identifies the type of product specified by the corresponding order. The value of the delivery date 903 indicates the deadline for delivering the product for the corresponding order. For example, the value of the delivery date 903 indicates the number of days until shipment, etc. The required quantity 904 is a value indicating the quantity of the product. In addition, the above-mentioned items may also include other data about the order as data required for plan making.

[0065] Fig.10 1 is a diagram showing the data structure of the device information DB 102 of the present embodiment. The device information DB 1001 includes a device number 1001, a manufacturing type 1002, a maximum production volume 1003, and a maintenance date 1004. The device number 1001 is an identification number that uniquely identifies the device. The manufacturing type 1002 is identification information that uniquely identifies the type of product that can be manufactured by the corresponding device. The value of the maximum production volume 1003 indicates the maximum production volume for the corresponding device or the corresponding manufacturing type. The maintenance date 1004 indicates the scheduled maintenance date of the corresponding device. The above items may also include other data about the device as data required for plan making.

[0066] The above-mentioned order information and equipment information may also include other data on operators or resources as data required for plan making.

[0067] exist Figure 8 In step S802, the planning unit 103 sets the decision variables, constraints and evaluation functions based on the order information, equipment information and the mitigation amount from the mitigation amount application unit 114, satisfies the constraints through the optimization algorithm, and optimizes the evaluation function to formulate a plan.

[0068] Here, as an example of generating the determination variables, the constraints, and the evaluation function, there is the following setting method.

[0069] Determine the setting of the variable index:

[0070] t: An index indicating a production date. The range of t is set to 1 to 30 in the program of the planning unit 103, for example, when indicating a production date of a month.

[0071] i: represents an index of a product. For example, if the total number of products in a factory is 100, the range of i is set to 1 to 100 in the program of the planning unit 103 .

[0072] m: represents the index of the equipment. For example, when the total number of equipment in the factory is 10, the range of m is set to 1 to 10 in the program of the planning unit 103.

[0073] Determine the settings of the variables:

[0074] x tim : is a variable representing the production volume of equipment m of product i on production date t. In the program of the planning unit 103, x is set tim .

[0075] Parameter settings:

[0076] C im : is a parameter that represents the maximum production volume of product i of equipment m. im The value of the maximum production volume 1003 of the equipment m and the item i is read by the planning unit 103 from the equipment information DB 102.

[0077] D ti : is a parameter indicating the required quantity of product i on production date t. ti The value of is read by the planning section 103 from the order information DB 101 for the production date t and the required quantity 904 of the item i.

[0078] w tim : is a parameter indicating the cost of producing item i by equipment m on production date t. In the program of the planning unit 103, w is set tim Alternatively, it can be read from external data.

[0079] Setting of constraints:

[0080] C1: The production volume of variety A must exceed the required volume D before 30 days. 30A The constraint is set by formula (1).

[0081] [Formula 1]

[0082]

[0083] C2: The production volume of variety A must exceed the required volume D before 10 days. 10A The constraint is set by formula (2).

[0084] [Formula 2]

[0085]

[0086] C3: The production volume of variety B must exceed the required volume D before 30 days. 30B The constraint is set by formula (3).

[0087] [Formula 3]

[0088]

[0089] C4: The production volume of variety A must exceed the required volume D before 10 days. 10B The constraint is set by formula (4).

[0090] [Formula 4]

[0091]

[0092] C1, C2, C3, and C4 are set in the program of the planning unit 103.

[0093] Setting of evaluation function:

[0094] F: The function for calculating production cost is set by formula (5).

[0095] [Formula 5]

[0096]

[0097] F is set in the program of the planning unit 103 .

[0098] There are generally available mathematical planning software for determining variables, constraints, and evaluation functions, and for making plans, and such software may be used. Constraint programming is used in this embodiment. In addition, regarding these calculations, the input in this embodiment is the constraints of the delivery period, quantity, type, and target equipment of the order. In addition, the output in this embodiment is the start and end time of the target equipment that complies with the constraints of the target equipment. Regarding the method of determining the start and end time, for example, a backtracking exploration method is used. In addition, backtracking is one of the general solution (plan candidate) exploration algorithms, and when a solution is found, possible steps are tried in sequence. In this step, when a solution is found, it is saved as a solution, and when it is determined that a solution has not been found, it returns to the previous state and tries other steps. By backtracking exploration, multiple solutions (plan candidates) can be explored. Multiple plan candidates are evaluated using an evaluation function, and the plan candidate with a high evaluation is adopted as the plan result. In addition, when all constraints are not satisfied, it is also possible to determine the violation of the constraint by adding constraints C1 to C4 in sequence. The evaluation function can be defined by a formula such as that shown in formula (5).

[0099] Alternatively, a plan may be searched by defining decision variables, constraints, and evaluation functions using other methods such as linear programming. In this case, the plan formulation unit 103 executes a search algorithm to formulate a plan.

[0100] exist Figure 8In step S803, the planning unit 103 determines whether the constraints are satisfied. If all the constraints are satisfied, the process proceeds to step S804. If the constraints are violated, the planning unit 103 sends the information of the defined decision variables, constraints, evaluation functions, and the information of the violated constraints to the constraint mitigation unit 104, and the process proceeds to step S806.

[0101] In step S804, the plan preparation unit 103 displays the plan result and the constraint relaxation information in the case of relaxation on the user terminal 105, and allows the user to select and confirm.

[0102] In step S805 , the user terminal 105 stores the plan result selected by the user in the plan result DB 106 .

[0103] In step S806 , the constraint easing unit 104 determines the amount of easing of the violated constraint using the plan result DB 106 based on the information of the decision variables, constraints, evaluation functions, and violated constraints, and sends the information to the plan formulation unit 103 .

[0104] Fig.11 FIG. 4 is a flowchart showing an example of the restriction relaxation process of this embodiment. Fig.11 In step S1101, the constraint relevance extraction unit 111 of the constraint mitigation unit 104 determines the constraints associated with the constraint violation based on the information on the decision variables, constraint conditions and evaluation functions, and the constraint violation information output from the planning unit 103, extracts the priority of the associated constraints from the planning result DB 106, and generates constraint relevance information based on the priority.

[0105] Here, an example of a method for determining an associated constraint associated with a violation of a constraint is described. For example, suppose that constraint condition C1 is violated. For the decision variable x of C1, tAm and parameter D tA , check all constraints and select the constraints that have common indexes for the decision variables and parameters. For example, in C2, x before 10 days tAm In C3, the device m from 30 days ago is shared with C1. In C4, the device m from 10 days ago is shared with C1, C2, and C3. Therefore, C2, C3, and C4 are related constraints of C1.

[0106] Fig.12 FIG. 1 shows an example of extracting the priority of the associated constraints from the plan result DB 106 of the present embodiment. Fig.12In the example, the constraint identification ID 1201 is an ID for identifying the constraint of the plan formulation unit 103. The violation degree 1202 is the degree of violation obtained by the calculation function of the constraint generation unit 202 of the plan formulation unit 103 for the plan in the plan result DB 106. The priority 1203 is an order from small to large following the violation degree 1202. The priority of the constraint can also be set by the user.

[0107] Fig.13 An example of constraint association information of this embodiment is shown. Constraint association information is information that combines association constraint information and priority based on association constraints and constraint priorities. Fig.13 The constraint-related information is represented in the graph structure and table format shown.

[0108] Then, in Fig.11 In step S1102, the relaxation pattern classification unit 112 creates a combination of violations of the associated constraints, calculates the ratio of the combination based on the plan result DB 106, and creates a combination with a high ratio as a relaxation pattern.

[0109] Here, as a violation combination, there can be cited a combination of only C4 violation without C1 violation, or only C4 and C2 violation without C1 violation. Under the condition of the target combination, the target plan result is retrieved from the plan result DB 106, and the ratio of each combination is calculated. For example, two combinations with high ratios are set as the relaxation patterns of C4 relaxation and C4 and C2 relaxation.

[0110] Then, in Fig.11 In step S1103 , the relaxation information extraction unit 113 generates the distribution of the relaxation amount and the evaluation value and the application frequency of the relaxation amount according to the target plan for each relaxation pattern, and outputs them as relaxation information.

[0111] Fig.14 For example, the distribution of the relaxation amount and evaluation value of the C4 relaxation pattern is shown. The relaxation amount 1401 is the required amount D for C4. 10B , in production volume x 10Bm The difference between the required quantity and the production quantity in the plan that is less than the required quantity. The evaluation value 1402 is the evaluation value of the target plan obtained by the calculation function of the evaluation index generation unit 203 of the plan formulation unit 103.

[0112] Fig.15 For example, the frequency of application of the relaxation amount of the C4 relaxation pattern. Fig.14 The same value as 1401. The application frequency 1502 is the number of target plans. The evaluation value distribution and the application frequency of the relaxation amount for the C4 relaxation style are shown here, but in the case of the C4 and C2 relaxation styles, the evaluation value distribution and the application frequency of the relaxation amount can also be calculated using a two-dimensional table.

[0113] Then, in Fig.11 In step S1104, the relaxation amount application unit 114 selects several relaxation amount candidates from the distribution of the evaluation function, calculates the distance between the relaxation amount candidates and the application frequency, and sends the candidates with a closer distance to the plan formulation unit 103 to determine whether the constraint condition is satisfied. If the constraint condition cannot be satisfied, the next relaxation amount candidate is used to try to formulate a plan. If the constraint condition cannot be satisfied, the relaxation amount corresponding to the relaxation style is set.

[0114] As a method of selecting several candidates for relaxation amount from the evaluation value distribution, for example, the first-order differential of the evaluation value distribution is calculated to find the deceleration. A relaxation amount with a more drastic deceleration is selected as a candidate. In addition, when the constraint condition cannot be satisfied even if multiple relaxation amount candidates for one relaxation pattern are tried, the relaxation installation corresponding to the relaxation pattern may be stopped according to the number of installations and the installation time.

[0115] Fig.16 FIG. 1 is a diagram showing a screen displayed on the user terminal 105 based on the display data output from the schedule preparation unit 103 of the present embodiment. Fig.16 1601 is a display screen of the relaxation style, 1602 is a display screen of the relaxation information, and 1603 is a display screen of the formulation result.

[0116] The relaxation pattern display screen 1601 is a screen that displays the related constraints, the priority of the constraints, and the relaxation patterns extracted by the constraint relaxation unit via the planning unit 103 .

[0117] The display screen 1602 of the mitigation information is a screen showing the distribution of mitigation amounts and evaluation values ​​and the frequency of application of mitigation amounts for each mitigation pattern. The distribution of mitigation amounts and evaluation values ​​is based on Fig.14 The frequency of application of mitigation is based on Fig.15 In addition, the relaxation amount and the evaluation value output from the constraint relaxation unit 104 are shown.

[0118] The display screen 1603 of the development result is a screen that displays the corresponding plan results in each mitigation style. Fig.16 As shown, when all the constraints are satisfied, the planning result is displayed on the planning result display screen 1603 .

[0119] Thus, in this embodiment, the priority of the constraint condition is determined and set based on the plan history data. And, for the violation of the constraint, a mitigation pattern is generated based on extracting the associated constraint and taking the priority into consideration. And, for each mitigation pattern, the relationship between the mitigation amount and the evaluation function is extracted based on the plan history data, and then the application frequency of the mitigation amount is extracted based on the plan history data. In addition, for each mitigation pattern, the mitigation amount is determined with reference to the relationship between the mitigation amount and the evaluation function and the application frequency of the mitigation amount, and a mitigation plan is formulated, and the result of the formulation for each mitigation pattern is adopted with a good evaluation score.

[0120] As described above, according to the present embodiment, it is possible to provide a planning system that takes into account the relationship between the amount of constraint relaxation and the evaluation value of the plan to formulate a plan with a good evaluation, and a planning device and a planning method used therein.

[0121] The embodiments of the present invention have been described above, but the present invention is not limited to the above embodiments and includes various modified examples. For example, the above embodiments are described in detail to make the present invention easy to understand and are not limited to all the structures described. In addition, it is assumed that the above structures, functions, processing units, etc. are implemented by software by interpreting and executing the programs that implement each function through the CPU, but some or all of them can also be implemented by hardware, such as by using integrated circuit design.

Claims

1. A planning device, comprising a processing device and a storage device, for formulating a production plan, characterized in that: The processing device has: a plan making unit that creates a plan based on input planned order information, constraints generated from equipment information, and an evaluation function; and The Constraint Mitigation Department shall, in the event of violation of the above-mentioned constraints, impose a penalty on the violation of the Constraint Mitigation. The constraint mitigation unit determines an associated constraint associated with the constraint violation, generates a mitigation pattern, extracts similar plans from the historical data of the plan generated by the plan formulation unit for each mitigation pattern, generates a mitigation amount of the constraint condition in the mitigation pattern for the similar plan, a distribution of evaluation values ​​in the evaluation function corresponding to the plan, and an application frequency of the mitigation amount, selects a mitigation amount candidate based on a change in the distribution of the evaluation values, selects a mitigation amount based on a relationship between the mitigation amount candidate and the evaluation value, and an application frequency of the mitigation amount, The plan making unit makes a plan based on the generated relaxation amount for each relaxation pattern, evaluates the plan using the evaluation function, and adopts a plan with a better evaluation. The constraint easing unit creates a combination of related constraints based on the related constraints and the priority, calculates the frequency of the combination of related constraints for the combination of related constraints, and uses the combination of related constraints with a high frequency as the easing pattern, The constraint relaxation unit calculates the first-order differential of the distribution of the evaluation value to obtain a deceleration, and uses the relaxation amount for which the deceleration is sharp as the relaxation amount candidate. The constraint relaxation unit calculates a distance between the relaxation amount candidate and the application frequency, and uses the relaxation amount candidate having a shorter distance as the relaxation amount of the relaxation pattern.

2. The planning device according to claim 1, characterized in that: The plan formulation unit outputs the relaxation pattern, the relationship between the relaxation amount and the evaluation value, the application frequency of the relaxation amount, and display data of the formulation result.

3. A planning method for formulating a production plan based on the input of planned order information and equipment information, characterized in that: Creating a plan based on the order information scheduled in the plan, the constraints generated based on the equipment information, and the evaluation function; In the case of a violation of the constraint, mitigating the constraint violation, determining an associated constraint associated with the constraint violation, generating a mitigation pattern, extracting similar plans from historical data of the plan for each mitigation pattern, generating a mitigation amount of the constraint in the mitigation pattern, a distribution of evaluation values ​​in the evaluation function of the corresponding plan, and an application frequency of the mitigation amount for the similar plan, selecting a mitigation amount candidate based on a change in the distribution of the evaluation values, and selecting the mitigation amount based on a relationship between the mitigation amount candidate and the evaluation value and the application frequency of the mitigation amount; Based on the relaxation amount generated for each of the above relaxation patterns, a plan is prepared, and the plan is evaluated using the above evaluation function, and a plan with a better evaluation is adopted. A combination of association constraints is created based on the association constraints and the priority, and the frequency of the association constraint combination is calculated for the association constraint combination, and the association constraint combination with a high frequency is used as the relaxation pattern. The first-order differential of the distribution of the evaluation value is calculated to obtain the deceleration, and the relaxation amount for which the deceleration is sharp is taken as the relaxation amount candidate. The distance between the relaxation amount candidate and the application frequency is calculated, and the relaxation amount candidate with the shortest distance is used as the relaxation amount of the relaxation pattern.

4. A planning system comprising a planning device, an order information database having planned order information, and an equipment information database having equipment information, wherein the planning device comprises a processing device, a storage device and a network interface, and formulates a production plan, wherein the planning system is characterized in that: The processing device has: a plan making unit that creates a plan based on the planned order information input from the order information database via the network interface, the constraints generated based on the equipment information input from the equipment information database, and the evaluation function; and The Department of Restriction Mitigation, in the event of a violation of the above-mentioned restrictions, will impose a violation of the restriction mitigation; The constraint mitigation unit determines an associated constraint associated with the constraint violation, generates a mitigation pattern, extracts similar plans from the historical data of the plan generated by the plan formulation unit for each mitigation pattern, generates a mitigation amount of the constraint condition in the mitigation pattern for the similar plan, a distribution of evaluation values ​​in the evaluation function corresponding to the plan, and an application frequency of the mitigation amount, selects a mitigation amount candidate based on a change in the distribution of the evaluation values, and selects the mitigation amount based on a relationship between the mitigation amount candidate and the evaluation value and the application frequency of the mitigation amount; The plan making unit makes a plan based on the generated relaxation amount for each relaxation pattern, evaluates the plan using the evaluation function, and adopts a plan with a better evaluation. The constraint easing unit creates a combination of related constraints based on the related constraints and the priority, calculates the frequency of the combination of related constraints for the combination of related constraints, and uses the combination of related constraints with a high frequency as the easing pattern, The constraint relaxation unit calculates the first-order differential of the distribution of the evaluation value to obtain a deceleration, and uses the relaxation amount for which the deceleration is sharp as the relaxation amount candidate. The constraint relaxation unit calculates a distance between the relaxation amount candidate and the application frequency, and uses the relaxation amount candidate having a shorter distance as the relaxation amount of the relaxation pattern.