A method, device and equipment for optimizing industrial resource allocation in a dynamic environment
By constructing an optimization model and using a commercial solver, combined with fuzzy sets and support sets, and transformed into a linear programming model, the problem of high transportation and inventory costs in the Salt Lake chemical industry was solved, and efficient optimization and dynamic adaptation of resource allocation were achieved.
Patent Information
- Application Number
- CN202311123180.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-31
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2043-08-31
AI Technical Summary
Due to long transportation distances and insufficient transportation capacity in the Salt Lake chemical industry, transportation and inventory costs are high, and it is difficult to effectively optimize resource allocation and dispatch with existing technology.
Adopting an industrial resource allocation optimization method oriented to a dynamic environment, by building an optimization model, obtaining historical orders, determining the objective function, and using a commercial solver to solve the strong dual, the minimum value of operating costs and decision variables are obtained. Combined with fuzzy sets and support sets, use Linear decision rules associate decision variables with dynamic information and transform them into linear programming models.
It improves the efficiency of salt lake resource transportation and inventory, reduces transportation and inventory costs, can dynamically meet order demands, adapt to uncertain environments, and provides a scientific basis for decision-making.
Smart Images

Figure CN117151402B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of resource scheduling, and in particular to a method, device and equipment for optimizing industrial resource allocation in a dynamic environment. Background Art
[0002] Salt lakes are lakes containing a large amount of salt substances, and are mostly located in high altitude areas or inland arid areas. Salt lakes contain rich mineral resources, such as potassium, magnesium, lithium, sodium, boron, etc. These resources are of great strategic significance to the country's agriculture, industry, military and other fields, and have an important impact on the development of the national economy. Salt lake resources are rich and widely distributed, providing an important material basis for my country's economic and social development.
[0003] Salt lake resources are mainly used in the production of potash fertilizers, an essential fertilizer that helps plants resist diseases and pests, prolong shelf life, and produce tastier and more attractive agricultural products without excess chlorides that can harm crops. Therefore, a continuous supply of potash fertilizers plays a vital role in stabilizing agricultural product production. Most of my country's natural potassium-rich mineral resources are distributed in the northwest region, namely the Xinjiang Uygur Autonomous Region and Qinghai Province. The mineral resources in the region have promoted the agglomeration of potash fertilizer producers and formed a corresponding chemical industry cluster. Potash fertilizer products produced by this industrial cluster reportedly meet most of the domestic demand. From the customer's perspective, potash fertilizers can only work best when applied at the right time throughout the growth cycle of the plant, so the timeliness of transportation is an important factor in customer satisfaction. However, as mentioned above, industries related to potassium-rich mineral resources are resource-intensive industries with customers all over the country. The long distance between suppliers and customers, coupled with frequent customer needs, leads to high transportation costs for products. The salt lake chemical industry needs to cross a large geographical distance from the place of production to the place of sale. Due to the large geographical distance between the production and sales locations, transportation capacity has become an important factor to be considered in the production and sales process. At present, the transportation of salt lake chemical products mainly relies on railways and trucks. However, due to insufficient transportation capacity, it may lead to failure to deliver goods on time. Summary of the invention
[0004] In view of this, the present application provides an industrial resource allocation optimization method, device and equipment for a dynamic environment to improve the utilization efficiency of transportation resources in the salt lake chemical industry and reduce transportation and inventory costs.
[0005] One aspect of the present application provides an industrial resource allocation optimization method for a dynamic environment, comprising:
[0006] Construct an optimization model for industrial resource allocation;
[0007] Determining an objective function constructed according to operating costs according to the optimization model;
[0008] Obtain historical orders, and constrain the first fuzzy set according to the historical orders to obtain a first support set; the target orders are distributed in the first fuzzy set;
[0009] obtaining a strong dual of the objective function;
[0010] The strong duality is solved on the first support set using a commercial solver to obtain the minimum value of the operating cost and the corresponding decision variables.
[0011] Optionally, the construction of an optimization model for industrial resource allocation includes:
[0012] The optimization model is constructed based on multiple production plants, multiple transfer stations, multiple receiving locations, multiple sales locations, and multiple orders.
[0013] Optionally, the method further comprises:
[0014] Update the first fuzzy set according to the auxiliary variable to obtain a second fuzzy set;
[0015] Constraining the second fuzzy set according to the historical orders to obtain a second support set;
[0016] The using a commercial solver to solve the strong duality on the first support set includes:
[0017] The strong duality is solved on the second support set using a commercial solver.
[0018] Optionally, before solving the strong duality on the second support set using a commercial solver, the method further comprises:
[0019] Using a linear decision rule to approximate the piecewise linear function in the second support set to obtain a third support set;
[0020] Solving the strong duality on the second support set using a commercial solver includes:
[0021] The strong duality is solved on the third support set using a commercial solver.
[0022] Optionally, obtaining the strong dual of the objective function includes:
[0023] Converting the distributed robust optimization problem corresponding to the objective function into a robust optimization problem;
[0024] solving a first dual problem of the robust optimization problem;
[0025] Determine a constraint in the first dual problem and its corresponding problem using cone duality theory;
[0026] The corresponding problem constraint is expressed as a second-order cone constraint, and a second dual problem corresponding to the second-order cone constraint is obtained, and the one constraint and its corresponding problem and the second dual problem are used as the strong duality.
[0027] Optionally, the commercial solver adopts gurobi;
[0028] The using of a commercial solver to solve the strong duality in the first support set to obtain the minimum value of the operating cost and the corresponding decision variables includes:
[0029] Gurobi is used to solve the strong duality in the first support set to obtain the minimum value of the operating cost and the corresponding decision variables.
[0030] Optionally, using gurobi to solve the strong duality in the first support set to obtain the minimum value of the operating cost and the corresponding decision variables includes:
[0031] Obtaining the actual values corresponding to the variables in the optimization model, and using gurobi to solve the strong duality in the first support set to obtain the minimum value of the operating cost and the corresponding decision variables;
[0032] The minimum value of the operating cost is the sum of the transfer station consumption fee and the transportation fee;
[0033] The decision variables include the quantity of goods transported from each production plant to each transfer station within a set period of time, the quantity of goods transported from each transfer station to each receiving place within a set period of time, and the quantity of goods transported directly from each production plant to each sales place within a set period of time.
[0034] Another aspect of the present application further provides an industrial resource configuration optimization device for a dynamic environment, comprising:
[0035] Unit 1 is used to build an optimization model for industrial resource allocation;
[0036] A second unit is used to determine an objective function constructed according to the operating cost according to the optimization model;
[0037] The third unit is used to obtain historical orders, and constrain the first fuzzy set according to the historical orders to obtain a first support set; the target orders are distributed in the first fuzzy set;
[0038] A fourth unit is used to obtain a strong dual of the objective function;
[0039] The fifth unit is used to solve the strong duality in the first support set by using a commercial solver to obtain the minimum value of the operating cost and the corresponding decision variables.
[0040] Another aspect of the present application also provides an electronic device, including a processor and a memory;
[0041] The memory is used to store programs;
[0042] The processor executes the program to implement the method described.
[0043] Another aspect of the present application further provides a computer-readable storage medium, wherein the storage medium stores a program, and the program is executed by a processor to implement the method described.
[0044] The present application also discloses a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the above method.
[0045] The present application obtains historical orders and constrains the first fuzzy set distributed by the target orders according to the historical orders to obtain a first support set; then, based on the strong duality of the objective function, a commercial solver is used to solve the strong duality in the first support set to obtain the minimum operating cost and the corresponding decision variables; the present application proposes a fuzzy set based on historical orders, uses linear decision rules to link decision variables with dynamic information, so that orders can be dynamically satisfied, and converts the difficult-to-solve infinite programming model into a linear programming model solvable in python, thereby improving the efficiency of resource scheduling and reducing transportation and inventory costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0047] Figure 1 A flowchart of an industrial resource configuration optimization method for a dynamic environment provided in an embodiment of the present application;
[0048] Figure 2 A schematic diagram of a three-level network of a production plant, a transfer station, and a destination provided in an embodiment of the present application;
[0049] Figure 3 A structural block diagram of an industrial resource configuration optimization device for a dynamic environment provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0051] It should be noted that although the functional modules are divided in the device schematic and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart.
[0052] The terms "first", "second", etc. in the specification and claims and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. Moreover, the terms "comprises", "comprising", or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device that includes a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article, or device. In the absence of further limitations, an element limited by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device that includes the element.
[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0054] In order to facilitate understanding of the embodiments of the present application, the following keywords may be used in the embodiments of the present application:
[0055] Optimization Model: A mathematical model that aims to find the best solution by maximizing or minimizing an objective function. Under certain constraints, the values of decision variables are adjusted to maximize or minimize the objective function. Optimization models can be used to solve a variety of problems, including resource allocation, production planning, logistics optimization, etc. The model usually includes an objective function, a set of decision variables, and a series of constraints.
[0056] Linear Programming: A mathematical optimization method that aims to solve the extreme value problem of a linear objective function under linear constraints. By establishing a mathematical model, determining the range of decision variables, and considering constraints, linear programming seeks the optimal solution to maximize or minimize the objective function. It is widely used in logistics, production planning, resource allocation and other fields, providing decision makers with a scientific planning basis. Linear programming is mathematically rigorous and efficient, can handle large-scale problems, and provide feasible and quantifiable optimal solutions. By making rational use of limited resources, linear programming helps optimize efficiency, reduce costs, and provide optimization solutions for decision-making effects. In short, linear programming is a powerful mathematical optimization technique that provides a theoretical and methodological basis for solving practical problems, and plays an important role in maximizing resource utilization and optimizing decision-making effects.
[0057] Stochastic Programming: A mathematical programming method used to solve decision-making problems with uncertain factors. Unlike traditional deterministic programming, stochastic programming takes into account the influence of random variables to find the best decision-making solution under different possible circumstances. By introducing probability distribution and related constraints, stochastic programming can more comprehensively consider future uncertainties and provide robust decision-making strategies. The modeling and solution of stochastic programming are relatively complex, usually with the help of probability theory and mathematical statistics tools. It is widely used in financial investment, resource optimization, supply chain management and other fields. Stochastic programming can help decision makers make more reliable decision plans, reduce risks, and adapt to the challenges of uncertain environments. By considering randomness, stochastic programming provides a more comprehensive and robust decision analysis method, which helps to optimize resource allocation and decision-making effects. In summary, stochastic programming provides decision makers with an effective decision support tool when facing uncertainty, which can seek the optimal solution under different possible circumstances and improve the robustness and effectiveness of decision-making.
[0058] Distributionally Robust Optimization: An optimization method used to deal with uncertainty and randomness. In traditional optimization models, it is often assumed that uncertain parameters follow a specific probability distribution. However, due to the lack of accurate probability distribution information or insufficient data, this assumption may lead to instability and low robustness of the optimization results. Distributionally Robust Optimization treats uncertainty more cautiously. It does not require explicit probability distribution assumptions, but instead treats uncertain parameters as taking values from a reasonable parameter set. This parameter set is designed to cover all possible parameter values and still guarantee the minimum value of the optimization objective in the worst case. The goal of distributionally robust optimization is to find a solution with optimal performance under various parameter values to improve the robustness and adaptability of the system.
[0059] Fuzzy Set: A set used to represent parameter uncertainty. It is a tool to describe the range of possible values of a parameter, where the specific value is unknown or uncertain. By defining fuzzy sets, robust optimization can take into account the impact of uncertainty on the optimization problem. A fuzzy set can be a subset of a parameter space or a parameter range, and its selection is usually based on prior knowledge of parameter uncertainty or statistical analysis.
[0060] Support Set: Support set is a concept in fuzzy set theory. In fuzzy sets, support set refers to the set of all elements whose membership is greater than zero. Support set represents the specific elements in the fuzzy set, that is, those elements that belong to the fuzzy set to a certain extent. It contains the specific and determined parts of the fuzzy set and is related to the membership function. Support set plays an important role in the operation and reasoning of fuzzy sets. By processing and analyzing the support set, decision makers can better understand and apply the concept of fuzzy sets, thereby improving their ability to handle uncertainty and fuzzy information.
[0061] Linear Decision Rule: It is a decision-making method, usually used for approximate problems. It is based on the concept of linear function. Through a series of coefficients to be solved, historical data is linked to decision variables and expressed as linear functions, so that the decision variables are transformed from static and unchanging to dynamic and instantly adjusted. Although this method will lose a certain degree of accuracy, it greatly reduces the difficulty of solving and improves the solvability of the problem.
[0062] Second-Order Cone Programming (SOCP): is a form of convex optimization problem in which the objective function is linear and the constraints are second-order cone constraints. Second-order cone constraints consist of a series of quadratic inequalities that describe the relationship between vector norms and real numbers. Second-Order Cone Programming is widely used in problems in the fields of linear programming, geometric programming, signal processing, and machine learning. It is able to handle problems with quadratic constraints, such as elliptic constraints and cone constraints, and provides an efficient and feasible optimization framework. It has a wide range of applications in various fields and can be solved by interior point methods or first-order methods, providing powerful tools and methods for dealing with problems with quadratic constraints.
[0063] Duality Theory: A mathematical theory used to transform an optimization problem into its dual problem, so as to obtain the optimal solution to the original problem. Duality theory is based on the Lagrange multiplier method, which transforms the original problem into a dual problem so as to analyze and solve the problem from different perspectives. In the optimization problem, the original problem is a problem of minimizing or maximizing the objective function under a set of constraints. In order to obtain the dual problem, a variable called the Lagrange multiplier is introduced, and a function called the Lagrange function is constructed. The Lagrange function is a linear combination of the objective function of the original problem and the constraints, where each constraint corresponds to a Lagrange multiplier. By minimizing or maximizing the Lagrange function, the dual problem can be obtained. The goal of the dual problem is to find the minimum or maximum value that satisfies certain conditions, which come from the constraints of the original problem. Duality theory not only provides the relationship between the original problem and the dual problem, but also provides some important conclusions and properties. For example, the weak duality theorem shows that the solution to the dual problem is a lower bound of the solution to the primal problem; the strong duality theorem shows that under certain conditions, the primal problem and the dual problem have the same optimal solution. These conclusions help to understand and analyze optimization problems and provide a basis for optimization algorithm design and theoretical analysis.
[0064] This application can be used to improve the optimization of salt lake resource transportation and inventory utilization efficiency, consider the impact of dynamic environmental information, and obtain the best salt lake product transportation solution with the lowest storage and transportation costs. Specifically, this application establishes a distributionally robust optimization model, constructs fuzzy sets and support sets based on historical salt lake transportation data, uses linear decision rules to associate dynamic information with decision variables, and uses second-order cone optimization and duality theory to transform the original distributionally robust optimization problem (infinite programming is difficult to solve) into linear programming (easy to solve), and finally obtains a solution that can improve transportation and inventory efficiency in the short term even if orders are uncertain, providing an effective basis for scientific decision-making in salt lake industry construction and related departments, and providing a powerful weapon to ensure my country's grain production and harvest.
[0065] In recent years, with the development of optimization theory and reinforcement learning, various transportation optimization methods have been applied to the problem of industrial product transportation, such as typical linear programming models, reinforcement learning, and stochastic programming models, etc. They have the following disadvantages:
[0066] 1. Complexity: Some optimization methods may face complexity challenges when dealing with large-scale transportation problems. Solving linear programming models may become difficult in high-dimensional spaces, and reinforcement learning methods may require a lot of training and computing resources when dealing with complex state and action spaces.
[0067] 2. Modeling assumptions: Different optimization methods are often based on specific modeling assumptions. Linear programming models usually assume linear relationships and deterministic factors, but in actual transportation, many factors have nonlinear relationships and uncertainties. Reinforcement learning methods usually assume Markov decision processes, but there may be other factors and constraints in the actual environment.
[0068] 3. Data requirements: Some optimization methods have high requirements for input data. Linear programming models require accurate data and parameters, while reinforcement learning methods may require a large amount of training data and accurate modeling of the environment. In practical applications, obtaining and processing this data may face difficulties and costs.
[0069] 4. Real-time and dynamic: Some optimization methods may not meet the needs of real-time and dynamic. Linear programming models are usually static and difficult to adapt to real-time changes in the transportation environment. Reinforcement learning methods may require a lot of training time and update cycles and cannot quickly adapt to changing conditions.
[0070] Based on this, the present application provides an industrial resource allocation optimization method, device and equipment for a dynamic environment, which is used to solve problems such as salt lake resource transportation routes, resource transportation quantities, transfer station inventory quantities, rental duration, and rental volume. It is of great significance to improve the utilization efficiency of transportation resources and reduce transportation and inventory costs in the salt lake chemical industry.
[0071] Reference Figure 1 The embodiment of the present application provides an industrial resource configuration optimization method for a dynamic environment, including steps S100 to S140, which are as follows:
[0072] S100: Build an optimization model for industrial resource allocation.
[0073] Furthermore, S100 may include:
[0074] The optimization model is constructed based on multiple production plants, multiple transfer stations, multiple receiving locations, multiple sales locations, and multiple orders.
[0075] S110: Determine an objective function constructed according to the operating cost according to the optimization model.
[0076] S120: Obtain historical orders, and constrain a first fuzzy set according to the historical orders to obtain a first support set; target orders are distributed in the first fuzzy set.
[0077] Specifically, the target order may refer to a currently existing order or an order that may appear in the future.
[0078] In order to improve computational efficiency, the embodiment of the present application may further include: updating the first fuzzy set according to auxiliary variables to obtain a second fuzzy set; constraining the second fuzzy set according to the historical orders to obtain a second support set.
[0079] Therefore, S120 may further include:
[0080] The strong duality is solved on the second support set using a commercial solver.
[0081] Furthermore, in order to improve the solution accuracy and solution speed, before using the commercial solver to solve the strong duality on the second support set, the embodiment of the present application may further include:
[0082] Using a linear decision rule to approximate the piecewise linear function in the second support set to obtain a third support set;
[0083] Further, solving the strong duality on the second support set using a commercial solver includes:
[0084] The strong duality is solved on the third support set using a commercial solver.
[0085] S130: Obtain the strong duality of the objective function.
[0086] Further, S130 may include:
[0087] Converting the distributed robust optimization problem corresponding to the objective function into a robust optimization problem;
[0088] solving a first dual problem of the robust optimization problem;
[0089] Determine a constraint in the first dual problem and its corresponding problem using cone duality theory;
[0090] The corresponding problem constraint is expressed as a second-order cone constraint, and a second dual problem corresponding to the second-order cone constraint is obtained, and the one constraint and its corresponding problem and the second dual problem are used as the strong duality.
[0091] S140: Using a commercial solver to solve the strong duality in the first support set, to obtain the minimum value of the operating cost and the corresponding decision variables.
[0092] Optionally, the commercial solver of the embodiment of the present application may adopt gurobi;
[0093] The using of a commercial solver to solve the strong duality in the first support set to obtain the minimum value of the operating cost and the corresponding decision variables includes:
[0094] Gurobi is used to solve the strong duality in the first support set to obtain the minimum value of the operating cost and the corresponding decision variables.
[0095] Furthermore, the use of gurobi to solve the strong duality in the first support set to obtain the minimum value of the operating cost and the corresponding decision variables includes:
[0096] Obtaining the actual values corresponding to the variables in the optimization model, and using gurobi to solve the strong duality in the first support set to obtain the minimum value of the operating cost and the corresponding decision variables;
[0097] The minimum value of the operating cost is the sum of the transfer station consumption fee and the transportation fee;
[0098] The decision variables include the quantity of goods transported from each production plant to each transfer station within a set period of time, the quantity of goods transported from each transfer station to each receiving place within a set period of time, and the quantity of goods transported directly from each production plant to each sales place within a set period of time.
[0099] Next, the application process of this application will be described with specific examples.
[0100] First, the variables involved in the embodiments of the present application are described:
[0101]
[0102]
[0103] In order to solve the current resource scheduling and configuration problem of salt lake chemical enterprises, the transfer station is modeled, and the three-level network consisting of production plant-transfer station-receiving place is established with the goal of minimizing the storage cost and transportation cost (Q) of the transfer station. Figure 2 As shown, the resource allocation structure is adjusted by optimizing resource transportation routes.
[0104] The following is the optimization model established in the embodiment of the present application:
[0105] minQ (1)
[0106]
[0107]
[0108]
[0109]
[0110]
[0111]
[0112] Considering the uncertainty of orders, it is assumed that the demand distribution is located in a fuzzy set. The fuzzy set is constrained by observing the historical order data so that the uncertain demand is within a certain range.
[0113]
[0114] Formula (8) is the fuzzy set where the uncertain order is located, is the mean information, is the variance information, is the cross moment information. The above formula uses the second-order cone constraint to limit the fluctuation range of uncertain orders, and the problem can be solved by a commercial solver. The support set corresponding to this fuzzy set is as follows:
[0115]
[0116] In order to simplify the calculation, auxiliary variables are introduced to update the fuzzy set as:
[0117]
[0118] The support set corresponding to the above fuzzy set is:
[0119]
[0120] By using the current fuzzy set for calculation, the corresponding solution and transportation scheduling plan can be obtained in theory. However, the constraints of commercial solvers grow exponentially when solving second-order cone constraints. Even if the uncertainty is limited in the fuzzy set, in fact, the possible values of this uncertain order are still infinite. Therefore, in order to improve the solution accuracy and solution speed, the embodiment of the present application can optionally introduce linear decision rules to approximate the piecewise linear function.
[0121]
[0122]
[0123]
[0124]
[0125] This uncertainty problem can be solved by the solver, and the formula is as follows (13)~(1-21) All variables are associated with the support set information.
[0126]
[0127] The objective function of the embodiment of the present application may be composed of two parts. The first part is the transit station consumption cost, and the second part is the transportation cost. The sum of these two parts is the cost required by the supplier during the entire planning cycle.
[0128]
[0129] Formula (14) indicates that the total amount of goods shipped from production plant (supply warehouse) i at time t is less than the production plant capacity (goods storage) e i The total amount of goods shipped is the sum of the amount transported from production plant (supply warehouse) i to transfer station j at time t and the amount transported directly from production plant (supply warehouse) i to order delivery location k.
[0130]
[0131]
[0132] Formula (15) indicates that the total amount of goods transported to the order receiving location must be less than or equal to the order quantity at that location. The total amount of goods transported to the order receiving location is the sum of the amount of goods directly transported from production plant (supply warehouse) i to order receiving location k and the amount of goods transported from transfer station j to order receiving location l:
[0133]
[0134] Formula (16) represents the real-time inventory of the transfer station at time t, that is, the inventory of the transfer station is equal to the total amount of goods transported in minus the total amount of goods transported out at time t.
[0135]
[0136] Formula (17) shows that the real-time inventory of the transfer station cannot exceed the capacity rented by the transfer station.
[0137]
[0138] Formula (18) limits the amount of goods shipped from the transfer station to be less than the real-time inventory of the transfer station.
[0139]
[0140]
[0141]
[0142]
[0143] Formulas (19) to (22) limit the decision variables and state variables in the transfer station model to be greater than 0. Considering the internal optimization problem of the objective function (13), the distribution robust optimization problem is transformed into a robust optimization problem:
[0144]
[0145] st
[0146]
[0147]
[0148]
[0149]
[0150] By solving the dual problem of this problem, the problem can be transformed into the following form:
[0151]
[0152] st
[0153]
[0154]
[0155]
[0156]
[0157]
[0158] when Strong duality holds, α, β, ρ, θ are the dual variables corresponding to the problem, and the conversion from the robust optimization problem to the classical robust optimization problem has been completed. Next, the process of converting the classical robust optimization problem into a linear optimization problem is carried out. In order to simplify the problem, the embodiment of the present application can use the cone duality theory to solve the dual problem of a constraint in the model in detail.
[0159] constraint:
[0160]
[0161] Corresponding questions:
[0162]
[0163]
[0164]
[0165]
[0166] Formulate the problem constraints as second-order cone constraints:
[0167]
[0168]
[0169]
[0170]
[0171] The dual problem of the above problem is:
[0172]
[0173]
[0174]
[0175]
[0176]
[0177]
[0178]
[0179]
[0180]
[0181]
[0182]
[0183]
[0184]
[0185] Now, we only need to transform each constraint (13)-(22) through the process (26)-(28). The present embodiment can be solved using Gurobi and substituted into real data for solution. The substituted data is all the constant data in the variable table shown at the beginning of the present embodiment, for example These data are obtained from actual operation statistics, and the etc. are based on historical orders The calculated hyperparameters. Substituting the data into the solution, we can get the objective function: the minimum operating cost Q and the corresponding decision variables: According to the cost Q, we can intuitively compare the pros and cons of different decision plans. According to the obtained decision variables, we can complete the transportation scheduling of goods. The value of the decision variable is Figure 2 Transport routes and transport volumes for each line in the network.
[0186] The embodiment of the present application proposes a fuzzy set based on historical data, and uses linear decision rules to link decision variables with dynamic information, so that orders can be dynamically satisfied, and converts the difficult-to-solve infinite programming model into a linear programming model that can be solvable in Python.
[0187] The embodiment of the present application provides a method for transporting and managing the inventory of potash fertilizer products based on distributed blue bar optimization. The embodiment of the present application can utilize the distributed blue bar optimization method to optimize the transportation plan of potash fertilizer products and the inventory utilization efficiency of the transfer station by considering the uncertainty of customer demand and dynamic environmental information. In the case of frequent changes in customer demand, market demand can be met in a timely and efficient manner to improve the profits and competitiveness of suppliers. In turn, operating costs can be reduced, the efficiency of supply chain management can be improved, and customer needs can be met.
[0188] The embodiment of the present application brings a number of beneficial effects by optimizing the transportation plan of salt lake resources and the inventory utilization efficiency of the transfer station. First, by using the distributed blue bar optimization method, the products are stored in advance in the transfer station near the customer area, the inventory utilization efficiency of the transfer station is optimized, the transportation time and cost are reduced, the uncertainty of customer demand in the potash fertilizer industry is handled, reliable decisions are made, and the efficiency and flexibility of supply chain management are improved. In addition, the embodiment of the present application has the value of promotion and application, and can provide a reference for other supply chain management fields. In an experimental environment, the method of the embodiment of the present application is compared with other methods, and its operating cost is reduced by 20.6% compared with the traditional linear programming method, and reduced by 8.6% compared with the random programming method. This shows that the method of the embodiment of the present application can effectively optimize the transportation plan and inventory utilization efficiency of potash fertilizer products in the actual supply chain environment, and achieve significant cost reduction. Therefore, the embodiment of the present application can help suppliers increase profits and meet customer needs, while promoting the sustainable development and resource utilization efficiency of the supply chain. The method of the embodiment of the present application has the potential for practical application and provides an effective decision support tool for decision makers in related fields.
[0189] Reference Figure 3 The embodiment of the present application provides an industrial resource configuration optimization device for a dynamic environment, including:
[0190] Unit 1 is used to build an optimization model for industrial resource allocation;
[0191] A second unit is used to determine an objective function constructed according to the operating cost according to the optimization model;
[0192] The third unit is used to obtain historical orders, and constrain the first fuzzy set according to the historical orders to obtain a first support set; the target orders are distributed in the first fuzzy set;
[0193] A fourth unit is used to obtain a strong dual of the objective function;
[0194] The fifth unit is used to solve the strong duality in the first support set by using a commercial solver to obtain the minimum value of the operating cost and the corresponding decision variables.
[0195] The specific implementation of the optimization device is basically the same as the specific implementation of the above-mentioned optimization method, and will not be repeated here.
[0196] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above optimization method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0197] Specifically, the electronic device may be a user terminal or a server.
[0198] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, and the computer program implements the above-mentioned optimization method when executed by a processor.
[0199] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0200] The present application also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the electronic device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction so that the electronic device executes Figure 1 The method shown.
[0201] In some optional embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the application is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Optional embodiments are expected, wherein the order of various operations is changed and the sub-operation described as a part of a larger operation is performed independently.
[0202] In addition, although the present application is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features described may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present application. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present application set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present application, which is determined by the full scope of the attached claims and their equivalents.
[0203] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for enabling an electronic device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0204] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0205] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0206] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0207] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0208] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.
[0209] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the described embodiments. Technical personnel familiar with the field may make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A method for optimizing industrial resource allocation in a dynamic environment, characterized in that: include: Construct an optimization model for industrial resource allocation; Determining an objective function constructed according to operating costs according to the optimization model; Obtaining historical orders, and constraining the first fuzzy set according to the historical orders to obtain a first support set; The target orders are distributed in the first fuzzy set; Update the first fuzzy set according to the auxiliary variable to obtain a second fuzzy set; Constraining the second fuzzy set according to the historical orders to obtain a second support set; Using a linear decision rule to approximate the piecewise linear function in the second support set to obtain a third support set; obtaining a strong dual of the objective function; The obtaining of the strong duality of the objective function comprises: Converting the distributed robust optimization problem corresponding to the objective function into a robust optimization problem; solving a first dual problem of the robust optimization problem; Determine a constraint in the first dual problem and its corresponding problem using cone duality theory; Expressing the corresponding problem constraint as a second-order cone constraint, and obtaining a second dual problem corresponding to the second-order cone constraint, wherein the one constraint and its corresponding problem and the second dual problem serve as the strong duality; Solving the strong duality in the third support set using a commercial solver to obtain the minimum value of the operating cost and the corresponding decision variables; The expression of the optimization model includes: The expression of the first fuzzy set includes: (8) The expression of the first support set includes: (9) The expressions of the second fuzzy set include: (10) The expressions of the second support set include: (11) Wherein, Q is the operating cost; I is the upper limit of the number of production plants i; J is the upper limit of the number of transfer stations j; T is the upper limit of the number of planning months t; K is the upper limit of the number of orders k; is the upper limit of the leasing space of the jth transfer station; is the quantity of goods transported from production plant i to the jth transfer station in month t; is the quantity of goods transported from transit station j to the kth destination in month t; is the quantity of goods directly transported from the i-th production plant to the k-th sales location in the t-th month; is the upper limit of the production capacity of the ith production plant in month t; is the order demand quantity shipped from the production plant to the kth destination in month t; The unit freight cost from production plant i to sales location j in month t; The unit freight cost for transporting from the j-th transfer station to the k-th order delivery location in the t-th month; The unit freight cost for transporting from production plant i to the destination of the kth order in month t; is the real-time inventory quantity of transfer station j at time t; For orders The mean of For orders The variance of For orders The cross entropy of .
2. The method for optimizing industrial resource allocation in a dynamic environment according to claim 1, characterized in that: The construction of the optimization model for industrial resource allocation includes: The optimization model is constructed based on multiple production plants, multiple transfer stations, multiple receiving locations, multiple sales locations, and multiple orders.
3. The method for optimizing industrial resource allocation in a dynamic environment according to claim 2, characterized in that: The commercial solver adopts gurobi; The method of using a commercial solver to solve the strong duality in the third support set to obtain the minimum value of the operating cost and the corresponding decision variables includes: Gurobi is used to solve the strong duality in the third support set to obtain the minimum value of the operating cost and the corresponding decision variables.
4. The method for optimizing industrial resource allocation in a dynamic environment according to claim 3, characterized in that: The method of using gurobi to solve the strong duality in the third support set to obtain the minimum value of the operating cost and the corresponding decision variables includes: Obtaining the actual values corresponding to the variables in the optimization model, and using gurobi to solve the strong duality in the third support set to obtain the minimum value of the operating cost and the corresponding decision variables; The minimum value of the operating cost is the sum of the transfer station consumption fee and the transportation fee; The decision variables include the quantity of goods transported from each production plant to each transfer station within a set period of time, the quantity of goods transported from each transfer station to each receiving place within a set period of time, and the quantity of goods transported directly from each production plant to each sales place within a set period of time.
5. An industrial resource allocation optimization device for a dynamic environment, characterized in that: include: Unit 1 is used to build an optimization model for industrial resource allocation; A second unit is used to determine an objective function constructed according to the operating cost according to the optimization model; The third unit is used to obtain historical orders, and constrain the first fuzzy set according to the historical orders to obtain a first support set; The target orders are distributed in the first fuzzy set; Update the first fuzzy set according to the auxiliary variable to obtain a second fuzzy set; Constraining the second fuzzy set according to the historical orders to obtain a second support set; Using a linear decision rule to approximate the piecewise linear function in the second support set to obtain a third support set; A fourth unit is used to obtain a strong dual of the objective function; The obtaining of the strong duality of the objective function comprises: Converting the distributed robust optimization problem corresponding to the objective function into a robust optimization problem; solving a first dual problem of the robust optimization problem; Determine a constraint in the first dual problem and its corresponding problem using cone duality theory; Expressing the corresponding problem constraint as a second-order cone constraint, and obtaining a second dual problem corresponding to the second-order cone constraint, wherein the one constraint and its corresponding problem and the second dual problem serve as the strong duality; A fifth unit is used to solve the strong duality in the third support set using a commercial solver to obtain a minimum value of the operating cost and a corresponding decision variable; The expression of the optimization model includes: The expression of the first fuzzy set includes: (8) The expression of the first support set includes: (9) The expressions of the second fuzzy set include: (10) The expressions of the second support set include: (11) Wherein, Q is the operating cost; I is the upper limit of the number of production plants i; J is the upper limit of the number of transfer stations j; T is the upper limit of the number of planning months t; K is the upper limit of the number of orders k; is the upper limit of the leasing space of the jth transfer station; is the quantity of goods transported from production plant i to the jth transfer station in month t; is the quantity of goods transported from transit station j to the kth destination in month t; is the quantity of goods directly transported from the i-th production plant to the k-th sales location in the t-th month; is the upper limit of the production capacity of the ith production plant in month t; is the order demand quantity shipped from the production plant to the kth destination in month t; The unit freight cost from production plant i to sales location j in month t; The unit freight cost for transporting from the j-th transfer station to the k-th order delivery location in the t-th month; The unit freight cost for transporting from production plant i to the destination of the kth order in month t; is the real-time inventory quantity of transfer station j at time t; For orders The mean of For orders The variance of For orders The cross entropy of .
6. An electronic device, characterized in that: including a processor and a memory; The memory is used to store programs; The processor executes the program to implement the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: The storage medium stores a program, and the program is executed by a processor to implement the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Active power distribution network distribution robustness optimization scheduling method and system
CN111668877A
Island microgrid opportunity constraint energy scheduling method based on distributed robust optimization
CN111697625A
Goods inventory allocation and adjustment method and device, electronic equipment and program product
CN114943445A
Balanced scheduling model of water-wind-light energy system based on distributed robust optimization
CN115293442A
Virtual power plant distribution robust unit combination optimization method based on data driving
CN116090650A
