A material allocation optimization system
Through the material deployment optimization system, BOM tables and optimization algorithms are used to solve the problem of low material demand prediction and deployment efficiency, achieve accurate prediction and efficient deployment, and improve production efficiency and cost-effectiveness.
Patent Information
- Application Number
- CN202410924071.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-11
AI Technical Summary
Existing material allocation optimization technology is difficult to accurately predict market material demand and efficiently allocate raw materials, leading to inventory backlogs, material shortages, transportation delays and other problems, affecting production efficiency and costs.
Provide a material allocation optimization system that uses technical means such as configuring BOM tables and material allocation optimization, uses order information, standard parameter libraries and configured material files for matching, extracts allocation demand parameters, and uses simulated annealing algorithms and ant colony algorithms to find Optimize and generate optimized material allocation plan.
It has improved the accuracy of material demand forecasting and production efficiency, ensured efficient utilization of materials and rapid response, and reduced inventory costs and production costs.
Smart Images

Figure CN118469460B
Abstract
Description
Technical Field
[0001] The present application relates to data processing technology-related fields, and specifically to a material allocation optimization system. Background Art
[0002] In today's globalized and highly automated manufacturing environment, material allocation optimization has become a key factor in improving production efficiency, reducing costs, and ensuring supply chain stability. With the intensification of market competition and the diversification of customer needs, manufacturing companies are facing increasingly complex production challenges. Early material allocation mainly relied on manual experience and paper records. This method has obvious limitations in information processing, decision-making speed, and accuracy. However, with the expansion of production scale and the increase in supply chain complexity, companies are faced with many problems such as inventory backlogs, material shortages, and transportation delays. These problems not only affect the company's production efficiency, but also lead to increased production costs and waste of resources.
[0003] Therefore, in the current technologies related to material allocation optimization, there are technical problems that make it difficult to accurately predict market material demand and efficiently allocate raw materials. Summary of the Invention
[0004] This application provides a material allocation optimization system that adopts technical means such as configuring BOM tables and material allocation optimization to solve the technical problems of existing material allocation optimization, such as the difficulty in accurately predicting market material demand and efficiently allocating raw materials, thereby realizing efficient utilization and rapid response of materials, and achieving the technical effect of improving material demand forecasting accuracy and production efficiency.
[0005] The present application provides a material allocation optimization system, which includes: an order information acquisition module, which is used to connect to a customer relationship management system to obtain order information; an order configuration sheet acquisition module, which is used to parse the order content according to the order information and obtain an order configuration sheet, wherein the order configuration sheet includes fixed materials and configured materials; a configuration BOM table acquisition module, which is used to obtain a standard parameter library, a configuration material file, and a configuration BOM table; an allocation requirement parameter acquisition module, which is used to use the order configuration sheet, the standard parameter library, the configuration material file, and the configuration BOM table. The order BOM table generation module is used to input the deployment requirement parameters and the material matching relationship into the optimization module, take the deployment requirement parameters as the optimization variables, optimize with the material matching relationship and the maximum material deployment result target of the order, obtain the optimization result of the deployment requirement parameters, and generate the order BOM table.
[0006] In a possible implementation, the configuration BOM table acquisition module also performs the following processing: obtaining material information from the material library; setting parameter coding, parameter name, Chinese name, parameter value coding, parameter value, and parameter value Chinese name for the material information to build the standard parameter library; performing correlation based on the material information to determine the hierarchical relationship of materials and build the configuration BOM table; obtaining configurable material information and building the configuration material file, wherein, after the order BOM table is generated, the configuration material file is updated based on the order BOM table.
[0007] In a possible implementation, the allocation requirement parameter acquisition module also performs the following processing: when there are multiple material relationships in the material matching relationship, extract the information of each matching material; identify the allocation differences based on the information of each matching material to obtain the difference allocation parameters; determine the allocation requirement parameters according to the number and overlapping status of the difference allocation parameters.
[0008] In a possible implementation, the allocation requirement parameter acquisition module also performs the following processing: when the difference allocation parameter is unique, the difference allocation parameter is used as the allocation requirement parameter; when the number of the difference allocation parameters of each matching material information is not unique and the same parameters exist, overlapping difference allocation parameters are required, and the overlapping difference allocation parameters are used as the allocation requirement parameter; when the number of the difference allocation parameters of each matching material information is not unique and different from each other, the allocation requirement parameter is selected according to the preset requirement parameter priority to obtain the allocation requirement parameter.
[0009] In a possible implementation, the order BOM table generation module also performs the following processing: constructing a front optimization space based on a simulated annealing algorithm; constructing a back optimization space based on an ant colony algorithm to obtain the output result of the front optimization space, the output result being the optimal solution for each iteration, and configuring the pheromone concentration of the optimal solution; using the optimal solution and its pheromone concentration as the input of the back optimization space, establishing a connection between the front optimization space and the back optimization space, and constructing the optimization module.
[0010] In a possible implementation, the order BOM table generation module also performs the following processing: obtaining the material allocation target of the order, the material allocation target includes the lowest cost, the highest constraint matching degree, and the shortest completion time; based on the material allocation target, setting the initial temperature, the end temperature, and the cooling rate; randomly generating an initial allocation plan according to the allocation requirement parameters and the material matching relationship; taking the initial allocation plan as the current solution, when the initial temperature is greater than the end temperature, adjusting the allocation requirement parameters to generate a new perturbation solution; using the fitness function to evaluate the current solution and the new perturbation solution, when the fitness of the new perturbation solution is greater than the current solution, taking the new perturbation solution as the current solution, and updating the temperature according to the cooling rate. , iterative optimization, output the current solution of each iterative optimization as the optimal solution, wherein the fitness function is obtained by fitting the material matching relationship based on the allocation requirement parameters as variables and the material allocation result as the target value; the pheromone value of each material item is set based on the allocation requirement parameters, and the pheromone concentration of the optimal solution is calculated according to the pheromone value of each material item; a solution space is constructed based on the optimal solution, and the pheromone concentration of the optimal solution is used to update the pheromone to obtain an updated current solution; the fitness of the updated current solution is evaluated, and the fitness is compared with the corresponding optimal solution, and the one with the larger fitness is determined as the current optimal solution, and the optimization process is repeated until the iterative target is reached, and the optimization result of the allocation requirement parameters is output.
[0011] In a possible implementation, the order BOM table generation module further performs the following processing: setting an evaporation rate; obtaining the amount of pheromone deposited on the path based on the optimal solution; calculating the residual pheromone concentration after evaporation of the pheromone concentration of the optimal solution using the evaporation rate to obtain the residual pheromone concentration; and updating the pheromone on the path based on the amount of pheromone deposited on the path and the residual pheromone concentration.
[0012] In a possible implementation, the order BOM table generation module also performs the following processing: setting an initial evaporation rate, the initial evaporation rate is 0.1-0.2; obtaining the update frequency of the current optimal solution; when the update deviation is less than a preset threshold, increasing the initial evaporation rate, and iteratively increasing it until the update frequency reaches the preset threshold; when the update frequency exceeds the preset threshold and reaches the iteration time length, lowering the initial evaporation rate.
[0013] The material allocation optimization system proposed in this application is connected to the customer relationship management system to obtain order information; the order content is parsed based on the order information to obtain the order configuration sheet; the standard parameter library, configuration material file, and configuration BOM are obtained; the order configuration sheet is used for matching to obtain the material matching relationship, and the allocation requirement parameters are extracted based on the material matching relationship to obtain the allocation requirement parameters; the allocation requirement parameters are used as the optimization variable, and the material matching relationship is used to optimize the order material allocation result target to obtain the optimization result of the allocation requirement parameters, and the order BOM is generated. This solves the technical problem of the existing material allocation optimization that it is difficult to accurately predict market material demand and efficiently allocate raw materials, realizes efficient use of materials and rapid response, and achieves the technical effect of improving the accuracy of material demand prediction and production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] To more clearly illustrate the technical solutions of the embodiments of the present disclosure, the accompanying drawings of the embodiments of the present disclosure are briefly introduced below. Flowcharts are used in this application to illustrate the operations performed by the systems according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed in precise order. Instead, various steps may be processed in reverse order or simultaneously as needed. Furthermore, other operations may be added to these processes, or one or more operations may be removed from these processes.
[0015] Figure 1 A schematic diagram of the structure of a material allocation optimization system provided in an embodiment of the present application;
[0016] Figure 2 A schematic diagram of the execution process of a material allocation requirement parameter acquisition module in a material allocation optimization system provided in an embodiment of the present application.
[0017] Description of the accompanying drawings: order information obtaining module 10, order configuration sheet obtaining module 20, configuration BOM table obtaining module 30, deployment requirement parameter obtaining module 40, order BOM table generating module 50. DETAILED DESCRIPTION
[0018] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below.
[0019] In order to make the purpose, technical solutions and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0020] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict, and the terms “first\second” involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. The terms “including” and “having” and any variations are intended to cover non-exclusive inclusions. For example, a process, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, products, or devices. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs. The terms used herein are for the purpose of describing the embodiments of this application only.
[0021] The present application embodiment provides a material allocation optimization system, such as Figure 1 As shown, the system includes:
[0022] BOM refers to the bill of materials of a product, also known as the product structure table or product structure tree. It is a descriptive file of the product structure. It lists in detail all the parts, components, sub-assemblies, raw materials, ingredients and related quantities, specifications and other information required for the product. The composition of BOM usually includes material number, material name, quantity of each material, unit of measurement of the material, detailed specifications of the material, unit price of the material and supplier of the material, etc., to facilitate procurement and production management.
[0023] Order information acquisition module 10 is used to connect to a customer relationship management system (CRM) to obtain order information. Connecting to a CRM to obtain order information specifically refers to integrating or connecting the CRM with other internal enterprise systems (such as an order management system and e-commerce platform) to achieve automatic synchronization and acquisition of customer order data. Specifically, during the connection process, the CRM can communicate with the order management system via an API (application programming interface) or other technical means to obtain real-time order information, including order number, customer information, order date, delivery date, order status, etc.
[0024] The order configuration sheet obtaining module 20 is used to parse the order content according to the order information to obtain the order configuration sheet, which includes fixed materials and configured materials. The order content is parsed based on the order information. Based on the product model, specifications, customization requirements, and other information in the order, the quantity and type of various materials (including fixed materials and configured materials) required are automatically calculated, and a corresponding configuration sheet is generated, i.e., the order configuration sheet is obtained. The order configuration sheet lists in detail all the material information required for the order, including fixed materials and configured materials. Specifically, fixed materials refer to materials that must be used in a fixed quantity for each order during the production process. Fixed materials are usually the basic components of the product and do not change with changes in customer customization requirements or order configuration. For example, if a computer is produced, the computer's core components such as the motherboard, CPU, and memory are fixed materials because they are required and the quantity is fixed for each computer. Configured materials refer to materials whose required quantity or type varies according to customer customization requirements or order configuration. Configured materials are optional, replaceable, or customized according to special customer needs. For example, in computer production, the computer's hard drive, graphics card, display, etc. are configured materials. Different customers may choose different hard drive capacities, graphics card types, or display screen sizes. The demand for configured materials will vary with different order configurations.
[0025] The configuration BOM table acquisition module 30 is used to obtain a standard parameter library, configure material files, and configure BOM tables. Obtaining a standard parameter library, configuring material files, and configuring BOM tables are three key steps in manufacturing and supply chain management to ensure the accuracy and production efficiency of product production. Specifically, the standard parameter library is a database that centrally stores and manages various standard parameter names and corresponding parameter values required in the production process, such as product design specifications, production process parameters, quality control standards, etc. The standard parameter library provides clear guidance and reference for production personnel to ensure that products are produced in accordance with predetermined standards and specifications, thereby ensuring product consistency and quality; the configuration material file is a document or database that records detailed information on materials required for product configuration, agreeing on which materials can be configured (agreeing on some basic information of materials, order BOM M can be automatically generated after the construction is completed), usually including the material name, model, specification, quantity, supplier and other information. The configuration material file provides accurate material demand information to ensure that the required materials can be obtained in time during the production process to avoid production interruptions and delays; the configuration BOM table is a special bill of materials that stipulates the hierarchical relationship of configuration materials and describes the bill of materials required for products with multiple configuration options in different configurations. It usually includes the basic bill of materials of the product (that is, the materials required for all configurations) and the additional materials required for each configuration option. The configuration BOM table provides detailed configuration information, which can quickly and accurately generate corresponding orders and material requirement plans according to customer needs, thereby reducing production costs.
[0026] The deployment requirement parameter acquisition module 40 is used to use the order configuration sheet to match with the standard parameter library, configuration material file, and configuration BOM table to obtain the material matching relationship, and extract the deployment requirement parameters based on the material matching relationship to obtain the deployment requirement parameters, wherein the deployment requirement parameters of the fixed material include inventory, cost, and time window, and the deployment requirement parameters of the configuration material include multivariate constraint parameters and conditional variables. In manufacturing and supply chain management, the order configuration sheet is matched with the standard parameter library, configuration material file, and configuration BOM table to obtain material matching relationships, determine the precise information of the materials required to produce the order, and extract the allocation requirement parameters based on this information. Specifically, the order configuration sheet is matched with the standard parameter library to ensure that the product configuration of the order meets the parameter requirements of the standard parameter library, that is, to verify whether the order configuration sheet meets the product design specifications, production process parameters, quality control standards, etc.; the order configuration sheet is matched with the configuration material file, which refers to comparing the configuration material requirements listed in the order configuration sheet with the configuration material file to determine the specific information of each configuration material (such as model, specification, quantity, etc.), ensure that the correct material is used in the production process, and accurately calculate the required material quantity; the order configuration sheet is matched with the configuration BOM table, which refers to using the configuration BOM table to determine all materials required for the entire production process (including fixed materials and configuration materials) according to the product configuration in the order, obtain the corresponding material matching relationships, and then extract the allocation requirement parameters based on the matching relationships to obtain the allocation requirement parameters. Among them, the allocation requirement parameters for fixed materials include inventory, cost, time, etc. Specifically, inventory refers to the current quantity of fixed materials in inventory, which is used to determine whether more materials need to be purchased or produced to meet order requirements. Cost includes the purchase and production costs of fixed materials and is used to evaluate the economic feasibility of material allocation. The time window refers to the time range required for material allocation, including the time requirements of each link such as material procurement, production, and transportation, to ensure that materials are allocated to the production site within the required time. The allocation requirement parameters of configured materials include multivariate constraint parameters and conditional variables. Specifically, multivariate constraint parameters describe various constraints that may be encountered during the allocation process of configured materials, such as the stability of material supply, transportation capacity, and production line capacity. These constraints need to be comprehensively considered during the allocation process to ensure the feasibility and efficiency of material allocation. For example, if the configuration quantity of the material with configuration code 1 in the multivariate constraint parameter is 1 and the quantity of the material with configuration code 2 is 4, then the constraint ratio of configured material 1 to configured material 2 is 1:4. Conditional variables refer to the conditional factors that affect the allocation decision of configured materials, such as market demand changes, customer order changes, and raw material price fluctuations. Conditional constraints can be equal to or not equal to.By extracting allocation demand parameters, a more accurate and effective material allocation plan can be formulated to ensure the smooth progress of the production process, while reducing inventory costs and improving production efficiency.
[0027] The order BOM table generation module 50 is used to input the allocation requirement parameters and material matching relationship into the optimization module, use the allocation requirement parameters as the optimization variable, optimize based on the material matching relationship with the maximum target of the material allocation result of the order, obtain the optimization result of the allocation requirement parameters, and generate the order BOM table. In manufacturing and supply chain management, the allocation requirement parameters and material matching relationship are input into the optimization module, aiming to optimize the material allocation process of the order, ensuring that specific goals are achieved while meeting production needs, such as maximizing material allocation efficiency, reducing costs or shortening time windows. Specifically, the allocation requirement parameters and material matching relationship are input into the optimization module, and the optimization module uses the allocation requirement parameters as the optimization variable, based on the material matching relationship, and optimizes with the goal of maximizing the material allocation result of the order. This means finding an allocation plan that satisfies all constraints (such as inventory limits, cost budgets, time windows, etc.) so that one or more indicators (such as production efficiency, customer satisfaction) are achieved. The optimization module is an algorithm module that uses mathematical optimization methods (linear programming, genetic algorithm, etc.) to determine the best material allocation plan based on the input allocation demand parameters and material matching relationship. The output of the optimization module is the optimization result of the allocation demand parameters, that is, the best material allocation plan, which clearly specifies the quantity, time, source and other detailed information of each material to be allocated to ensure the smooth progress of the production process. Finally, the order BOM table is generated according to the best material allocation plan, which lists in detail all materials required for the order (including fixed materials and configured materials), as well as the quantity, specifications, supplier and other information of each material, to ensure the accuracy and efficiency of material allocation.
[0028] A material allocation optimization system according to an embodiment of the present invention is designed to address the technical challenges of existing material allocation optimization systems, such as the difficulty in accurately forecasting market material demand and efficiently allocating raw materials. This system achieves efficient material utilization and rapid response, improving the accuracy of material demand forecasts and production efficiency. The system includes an order information acquisition module 10, an order configuration sheet acquisition module 20, a configuration BOM acquisition module 30, an allocation requirement parameter acquisition module 40, and an order BOM generation module 50.
[0029] The specific configuration of the configuration BOM table acquisition module 30 will be described in detail below. The configuration BOM table acquisition module 30 may further include: obtaining material information of the material library. Retrieve, collect or extract various data and information related to materials in the material library from the enterprise's material management system, such as basic material information (material number, name, classification, etc.), material attributes (weight, size, shape, specification, model), inventory information (current inventory, inventory location, status), alternative material information, etc. It also includes setting parameter encoding, parameter name, Chinese name, parameter value encoding, parameter value, and parameter value Chinese name of the material information to construct the standard parameter library. It also includes performing correlation based on the material information, determining the hierarchical relationship of materials, and constructing the configuration BOM table. Based on the material information, the assembly relationship and functional relationship of the materials in the product are analyzed to determine the association between the materials. For example, the association can be direct (e.g., parts are directly assembled into the product) or indirect (e.g., raw materials are processed into parts and then assembled into the product). Based on the association between the materials, a hierarchical relationship of the materials is defined. Typically, the product is at the top level, the parts that directly constitute the product are at the second level, and the components and raw materials of the parts are at the third and fourth levels, respectively. The hierarchical relationship reflects the subordinate and dependent relationships between the materials. The configuration BOM is a tree structure. The configuration BOM is constructed with the product as the root node and gradually expands downward to display all the materials that constitute the product, as well as information such as quantity and specifications. The configuration BOM can be adjusted according to different configurations or variants of the product to meet different customer needs. The process also includes obtaining configurable material information and constructing the configuration material file. After the order BOM is generated, the configuration material file is updated based on the order BOM. Based on the material information, obtain the configurable material information and build a configuration material file. Specifically, the configuration material file is a collection of data and information related to the configuration material, recording the configurable material and its configuration items, including configurable parameters. The material file can be configured according to parameters (size, color, performance, etc.); current inventory quantity (the current inventory level of the configured material), inventory location (the specific warehouse or location where the material is stored), etc.
[0030] The specific configuration of the deployment demand parameter acquisition module 40 will be described in detail below. Figure 2As shown, the allocation requirement parameter acquisition module 40 may further include: when the material matching relationship includes multiple material relationships, extracting information about each matching material. When multiple material matching relationships exist, extracting information about each matching material means filtering out material information that matches the current demand or query criteria from multiple possible material relationships and extracting detailed data about these materials. Specifically, during order processing or product manufacturing, a product may be composed of multiple different materials or components, and these materials may have complex relationships. For example, an order may require multiple different materials, each of which may have its own substitute materials or specific matching ratios with other materials. The module may also include identifying allocation differences based on the information about each matching material to obtain differential allocation parameters. During the material allocation process, actual material information is compared and analyzed with expected or standard material information to identify differences between the two. Based on these differences, allocation parameters that require adjustment are determined, such as material procurement quantity, allocation time, supplier selection, and use of substitute materials. The module may also include determining the allocation requirement parameters based on the number and overlap of the differential allocation parameters. Determine the total number of differential allocation parameters, as well as the specific value or range of each parameter, and check whether there is overlap or mutual influence between different differential allocation parameters. For example, increasing the purchase volume of a certain material may affect the inventory status or allocation time of other materials. Based on the number and overlapping status of differential allocation parameters, formulate specific allocation demand parameters, which may include the allocation quantity or ratio of each material, the allocation time window or deadline, the use conditions of alternative materials, feedback requirements for the allocation process, etc.
[0031] The specific configuration of the allocation requirement parameter acquisition module 40 will be described in detail below. The allocation requirement parameter acquisition module 40 may further include: when the difference allocation parameter is unique, the difference allocation parameter is used as the allocation requirement parameter. When the difference allocation parameter is unique, the difference allocation parameter is directly used as the allocation requirement parameter, which means that in the material allocation process, there is only one clear and specific adjustment plan for the difference caused by some reason (such as material shortage, specification non-compliance, etc.), and this adjustment plan (i.e., the difference allocation parameter) is the direct guidance for meeting the allocation requirements and obtaining the allocation requirement parameter. It also includes, when the number of the difference allocation parameters of each matching material information is not unique and there are the same parameters, the overlapping difference allocation parameters are calculated, and the overlapping difference allocation parameters are used as the allocation requirement parameters. In multiple material allocation plans, common or overlapping adjustment requirements exist. These overlapping adjustment requirements are common to the multiple material allocation plans and are considered key allocation requirement parameters, requiring priority processing. Specifically, for each matching material information, the differential allocation parameters are collected and analyzed, and these differential allocation parameters are compared to identify identical or similar parameters, i.e., overlapping differential allocation parameters, which are then used as allocation requirement parameters. For example, if the differential parameters of multiple materials all have costs, the cost is used as the allocation requirement parameter. Furthermore, when the number of differential allocation parameters for each matching material information is not unique and differs from each other, the allocation requirement parameters are selected according to a preset requirement parameter priority to obtain the adjustment requirement parameters. If there are multiple differential allocation parameters that differ from each other, such as differences between material inventory and material cost, the adjustment requirement parameters are selected according to a preset requirement parameter priority to obtain the adjustment requirement parameters, wherein the preset requirement parameter priority is set based on historical experience or customer order status.
[0032] The specific configuration of the order BOM generation module 50 will be described in detail below. The order BOM generation module 50 may further include: constructing a pre-optimization space based on a simulated annealing algorithm; constructing a post-optimization space based on an ant colony algorithm; obtaining the output of the pre-optimization space, which is the optimal solution for each iteration, and configuring the pheromone concentration of the optimal solution; using the optimal solution and its pheromone concentration as input to the post-optimization space, establishing a connection between the pre-optimization space and the post-optimization space, and constructing the optimization module. In each iteration of the simulated annealing algorithm, when a superior solution is found, the pheromone concentration is updated based on the characteristics of this solution. For example, a pheromone value can be assigned to each component of the solution (such as each material item in a material allocation plan). The quality of the solution in the simulated annealing algorithm is mapped to pheromone concentration, with superior solutions having higher pheromone concentrations and inferior solutions having lower pheromone concentrations. Pheromone transfer is similar to the pheromone transfer process in the ant colony algorithm, where ants leave pheromones as they move across a graph. By simulating this process, after finding a superior solution through simulated annealing, the characteristics of these solutions can be transferred as pheromones to the ant colony algorithm for optimization. The annealing temperature mechanism facilitates extensive exploration in the early stages of the algorithm, while the pheromone update mechanism of the ant colony facilitates detailed development in the later stages. By combining the global search capabilities of the simulated annealing algorithm with the local search capabilities of the ant colony algorithm, connecting the pre-optimization space and the post-optimization space, and configuring appropriate pheromone concentrations, a complete optimization module is constructed that can quickly and accurately find the optimal solution or a near-optimal solution in a given search space, improving the efficiency and accuracy of the entire optimization module.
[0033] The specific configuration of the order BOM generation module 50 will be described in detail below. The order BOM generation module 50 may further include obtaining material allocation objectives for the order, including minimum cost, maximum constraint matching, and shortest completion time. Minimum cost refers to minimizing all material-related costs throughout the material allocation process, including procurement, transportation, storage, and labor costs. This requires the material allocation plan to find the most cost-effective path and method while meeting order requirements. Maximum constraint matching refers to the various constraints that must be adhered to during the material allocation process, such as supplier capacity limitations, transportation availability, and inventory capacity limitations. This requires the material allocation plan to match these constraints as perfectly as possible. Minimum completion time refers to minimizing the time required from the start of material allocation to full order fulfillment. This requires the material allocation plan to meet order requirements in the shortest possible time, effectively arranging material procurement, transportation, storage, and distribution to avoid unnecessary delays and waiting time, ensuring that customers receive the required materials promptly. This also includes setting the initial temperature, end temperature, and cooling rate based on the material allocation objectives. The initial temperature, end temperature, and cooling rate are set based on the material allocation objectives (e.g., lowest cost, highest constraint matching, shortest completion time). If the material allocation objective is to minimize cost, the initial temperature can be set based on a certain percentage of the cost, and the end temperature can be set lower, such as 1%-5%, to allow for a more refined search. The cooling rate is typically between 0 and 1, depending on scale and complexity. This also includes randomly generating an initial allocation plan based on the allocation requirement parameters and material matching relationships. This can be achieved through various methods, such as randomly selecting suppliers or randomly allocating material quantities, to randomly generate one or more initial allocation plans based on the allocation requirement parameters and material matching relationships. This also includes using the initial allocation plan as the current solution and, when the initial temperature is greater than the end temperature, adjusting the allocation requirement parameters to generate a new perturbed solution. When the initial temperature is greater than the termination temperature, the current solution (i.e., the initial allocation plan) is adjusted to generate a new solution. This process, commonly referred to as perturbation, aims to introduce changes to the current solution to explore other possible solutions in the solution space. For example, random adjustments can be made to allocation requirement parameters (such as cost, constraint matching, and completion time). This process also includes evaluating the current solution and the perturbed new solution using a fitness function. When the fitness of the perturbed new solution is greater than that of the current solution, the perturbed new solution is used as the current solution. The temperature is updated according to the cooling rate, and an iterative optimization is performed. The current solution resulting from each iteration is output as the preferred solution. The fitness function is obtained by fitting the material matching relationship using the allocation requirement parameters as variables and the material allocation result as the target value.The fitness function uses allocation requirement parameters (such as cost, constraint matching, and completion time) as variables and material allocation results (such as total cost, total matching, and total completion time) as targets. Fitting is performed based on material matching relationships, taking into account factors such as the degree of matching between materials and order requirements, material costs, and transportation time. The function then calculates the quality of the allocation solution based on these factors. This function is a quantitative measure of the quality of the allocation solution. The process also includes setting a pheromone value for each material item based on the allocation requirement parameters and calculating the pheromone concentration of the optimal solution based on the pheromone value of each material item. Pheromones are used to guide ants (or agents in the algorithm) toward more promising areas during the search process. An initial pheromone value is set for each material item based on the allocation requirement parameters. For a given optimal solution (i.e., a material allocation solution), its pheromone concentration is calculated. A higher pheromone concentration indicates a higher quality solution in the search space and a higher likelihood of being selected or strengthened in subsequent search processes. The process also includes constructing a solution space based on the optimal solution and performing a pheromone update using the pheromone concentration of the optimal solution to obtain an updated current solution. The solution space contains all possible material allocation plans. When a preferred solution is found, the pheromone concentration of this solution is calculated. Based on the pheromone concentration, the pheromone distribution in the solution space is updated. Specifically, the pheromone values of the material items used in the preferred solution are increased. After the pheromone values are updated, the updated pheromone distribution is used to guide the construction (or search) of a new solution to obtain an updated current solution. The process also includes evaluating the fitness of the updated current solution and comparing it with the corresponding preferred solution. The solution with the greater fitness is determined as the current preferred solution. The optimization process is repeated until the iteration target is reached, and the optimization result for the allocation requirement parameters is output.
[0034] The specific configuration of the order BOM generation module 50 will be described in detail below. The order BOM generation module 50 may further include setting an evaporation rate. The evaporation rate is typically between 0 and 0.5, indicating that in each iteration, the pheromone on the path will be reduced (i.e., evaporated) by a certain percentage. A higher evaporation rate means that the pheromone dissipates faster, helping the algorithm to explore new paths more quickly; a lower evaporation rate makes the algorithm more inclined to utilize known, excellent paths. The module also includes obtaining the amount of pheromone deposited on the path based on the preferred solution. Whenever the ant colony finds a preferred solution (i.e., a high-quality material allocation plan), the amount of pheromone deposited on the path represented by this solution is calculated. The increase in pheromone amount is generally proportional to the quality of the solution; that is, the higher the quality of the solution, the more pheromone is deposited on the path. The module also includes calculating the residual pheromone concentration after evaporation of the pheromone concentration of the preferred solution using the evaporation rate to obtain the residual pheromone concentration. At the beginning of each iteration, the pheromone concentration on all paths is reduced according to the set evaporation rate. By subtracting the evaporated portion from the current pheromone concentration, the residual pheromone concentration = current pheromone concentration × (1 - evaporation rate). The process also includes updating the pheromone content on the path based on the amount of pheromone deposited and the remaining pheromone concentration on the path. After the ants select a path and find the optimal solution, the pheromone content on these paths is updated based on the amount of pheromone deposited and the remaining pheromone concentration on the path of the solution. This way, the pheromone concentration on paths selected by more ants (i.e., paths that find the optimal solution multiple times) gradually increases, thereby increasing the probability of these paths being selected in subsequent iterations.
[0035] The specific configuration of the order BOM generation module 50 will be described in detail below. The order BOM generation module 50 may further include: setting an initial evaporation rate of 0.1-0.2. Initially, the evaporation rate is set low to avoid missing optimal solutions. It also includes obtaining the update frequency of the current optimal solution. The frequency of finding optimal solutions (i.e., high-quality solutions) in each iteration is recorded, reflecting the algorithm's ability to find excellent solutions under the current evaporation rate setting. It also includes increasing the initial evaporation rate when the update deviation is less than a preset threshold, and iteratively increasing the rate until the update frequency reaches the preset threshold. If the frequency of finding optimal solutions is low over several consecutive iterations (i.e., the update deviation is less than the preset threshold), it indicates that the algorithm is stuck in a local optimal solution or a certain area in the search space. To encourage the algorithm to explore new search areas, it is necessary to increase the pheromone volatilization rate, i.e., increase the evaporation rate. By iteratively increasing the evaporation rate, the algorithm gradually increases the exploration of new paths until the update frequency reaches the preset threshold. It also includes decreasing the initial evaporation rate when the update frequency exceeds the preset threshold and reaches the iteration time limit. If the algorithm can find optimal solutions at a high frequency within a period of time (i.e., reaching the iteration time), it means that the algorithm can effectively find excellent solutions under the current evaporation rate setting. However, an excessively high evaporation rate may cause the algorithm to over-explore and ignore known excellent solutions. It is necessary to appropriately lower the evaporation rate to balance the algorithm's exploration and utilization capabilities. By lowering the evaporation rate, the algorithm will focus more on utilizing known excellent solutions rather than over-exploring new search spaces, thereby improving the convergence speed and solution quality.
[0036] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules may be used and run on the user terminal and / or server, and the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other and are not used to limit the scope of protection of the present invention.
[0037] The above specific embodiments do not constitute a limitation on the scope of protection of this application. Those skilled in the art should understand that various modifications, combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application shall be included within the scope of protection of this application.
Claims
1. A material allocation optimization system, characterized in that: The system comprises: An order information acquisition module, which is used to connect to a customer relationship management system to obtain order information; An order configuration sheet acquisition module, the order configuration sheet acquisition module is used to parse the order content according to the order information to obtain an order configuration sheet, the order configuration sheet includes fixed materials and configured materials; A configuration BOM table acquisition module, wherein the configuration BOM table acquisition module is used to obtain a standard parameter library, a configuration material file and a configuration BOM table; A deployment requirement parameter acquisition module, the deployment requirement parameter acquisition module is used to use the order configuration sheet to match the standard parameter library, the configuration material file and the configuration BOM table to obtain a material matching relationship, and extract the deployment requirement parameters based on the material matching relationship to obtain the deployment requirement parameters, wherein the deployment requirement parameters of the fixed material include inventory, cost and time window, and the deployment requirement parameters of the configuration material include multivariate constraint parameters and conditional variables; An order BOM table generation module, wherein the order BOM table generation module is used to input the deployment requirement parameters and the material matching relationship into the optimization module, take the deployment requirement parameters as optimization variables, perform optimization based on the material matching relationship with the maximum material deployment result target of the order, obtain the optimization result of the deployment requirement parameters, and generate the order BOM table; The order BOM table generation module further includes the following steps: Construct the pre-optimization space based on the simulated annealing algorithm; Construct post-optimization space based on ant colony algorithm; Obtaining an output result of the pre-optimization space, the output result being an optimal solution for each iteration, and configuring a pheromone concentration of the optimal solution; Taking the optimal solution and its pheromone concentration as input of the post-optimization space, establishing a connection between the pre-optimization space and the post-optimization space, and constructing the optimization module; Obtaining material allocation targets for the order, wherein the material allocation targets include lowest cost, highest constraint matching degree, and shortest completion time; Based on the material allocation target, set the initial temperature, end temperature and cooling rate; Randomly generate an initial deployment plan according to the deployment demand parameters and material matching relationship; Taking the initial allocation scheme as the current solution, when the initial temperature is greater than the termination temperature, adjusting the allocation demand parameters to generate a new perturbation solution; The current solution and the new perturbation solution are evaluated by using a fitness function. When the fitness of the new perturbation solution is greater than that of the current solution, the new perturbation solution is used as the current solution. The temperature is updated according to the cooling rate, and the optimization is iterated. The current solution of each iterative optimization is output as the preferred solution, wherein the fitness function is obtained by fitting based on the material matching relationship with the deployment requirement parameter as a variable and the material deployment result as a target value; The pheromone value of each material item is set based on the deployment demand parameter, and the pheromone concentration of the optimal solution is calculated according to the pheromone value of each material item; Constructing a solution space based on the optimal solution, and updating the pheromone using the pheromone concentration of the optimal solution to obtain an updated current solution; Perform fitness evaluation on the updated current solution and compare the fitness with the corresponding optimal solution, determine the one with greater fitness as the current optimal solution, repeat the optimization process until the iteration target is reached, and output the optimization result of the allocation demand parameter; Set the evaporation rate; Based on the optimal solution, obtaining the amount of pheromone deposited on the path; Utilizing the evaporation rate to calculate the residual pheromone concentration after evaporation of the pheromone concentration of the preferred solution, to obtain the residual pheromone concentration; The pheromones on the path are updated according to the amount of pheromones deposited on the path and the concentration of remaining pheromones.
2. A material allocation optimization system as claimed in claim 1, characterized in that: The steps of configuring the BOM table acquisition module include: Get material information from the material library; Setting parameter codes, parameter names, Chinese names, parameter value codes, parameter values and Chinese names of parameter values for the material information to construct the standard parameter library; Associating the material information, determining the hierarchical relationship of the materials, and constructing the configuration BOM table; The configurable material information is obtained and the configuration material file is constructed, wherein the configuration material file is updated based on the order BOM table after the order BOM table is generated.
3. A material allocation optimization system as claimed in claim 1, characterized in that: The steps performed by the deployment demand parameter acquisition module include: When there are multiple material relationships in the material matching relationship, extract the information of each matching material; Based on the information of each matched material, the mixing difference is identified to obtain the difference mixing parameters; The deployment requirement parameter is determined according to the quantity and overlapping status of the different deployment parameters.
4. A material allocation optimization system as claimed in claim 3, characterized in that: The steps performed by the deployment demand parameter acquisition module include: When the difference allocation parameter is unique, the difference allocation parameter is used as the allocation requirement parameter; When the number of the difference allocation parameters of each matching material information is not unique and there are the same parameters, the overlapping difference allocation parameters are calculated, and the overlapping difference allocation parameters are used as the allocation requirement parameters; When the number of the difference allocation parameters of each matching material information is not unique and different from each other, selection is performed according to the preset demand parameter priority to obtain the allocation demand parameters.
5. A material allocation optimization system as claimed in claim 1, characterized in that: The order BOM table generation module performs the following steps: Setting an initial evaporation rate, wherein the initial evaporation rate ranges from 0.1 to 0.2; Get the update frequency of the current optimal solution; When the update frequency is less than a preset threshold, the initial evaporation rate is increased, and the update frequency is iteratively increased until the update frequency reaches the preset threshold; When the update frequency exceeds a preset threshold and reaches the iteration time length, the initial evaporation is reduced.
