Method and system for flour raw material proportioning optimization based on quality index hybrid prediction
By constructing a two-layer structure model based on physical linear baseline and data-driven residual correction, and combining gradient multi-starting point strategy and nonlinear programming, the problem of predicting the ratio of flour raw materials was solved, realizing adaptive optimization and high-precision ratio of flour production process, and improving finished product quality and production efficiency.
Patent Information
- Application Number
- CN202611635963.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-22
- Publication Date
- 2026-11-20
Smart Images

Figure CN123140362A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of grain processing technology, and in particular relates to a method and system for optimizing the proportion of flour raw materials based on mixed prediction of quality indicators. Background Technology
[0002] Flour production involves a series of processes, including wheat blending, milling, base flour ratio, and the addition of auxiliary materials. Wheat blending, base flour ratio, and the addition of auxiliary materials are the key factors that determine the quality of the finished product and the production cost.
[0003] Different varieties and batches of raw materials exhibit variations in quality indicators. A single variety or batch of raw material is insufficient to meet the multidimensional quality requirements of finished flour. Existing verification methods relying on the experience of technical personnel have the following problems: rheological and enzyme activity indicators such as stabilization time and falling value do not follow a linear additive law during mixing; the addition of auxiliary materials introduces additional nonlinear interaction effects. Technical personnel cannot accurately predict the values after mixing and can only select test points based on experience from discrete, finite combinations. They cannot simultaneously search for the optimal base flour ratio and auxiliary material addition scheme that satisfies all quality constraints within a continuous ratio space. To address these issues, mathematical models have been introduced, but many employ preset fixed formulas such as linear weighting and logarithmic mixing rules. Fixed formulas cannot simultaneously characterize the nonlinear behaviors of two different mechanisms: base flour mixing and auxiliary material addition. Furthermore, historical data accumulated by enterprises is not effectively utilized. In addition, once a ratio scheme is determined, it is used for a long time, lacking a feedback correction mechanism that adapts to changes in raw material batches. It also fails to consider the dilution coupling problem of the base flour mixture after the addition of auxiliary materials, making it difficult to directly apply to joint optimization scenarios. Summary of the Invention
[0004] To address at least one of the technical problems mentioned above, this invention provides a method and system for optimizing the proportion of flour raw materials based on quality index mixing prediction.
[0005] To achieve the above objectives, the present invention adopts the following technical solution: The first aspect of the present invention provides a method for optimizing the proportion of flour raw materials based on mixed prediction of quality indicators, comprising the following steps: Read complete data and historical production records of all available raw materials, and obtain the corresponding target according to the process scenario type; Training samples were constructed based on historical production records to train the hybrid prediction model for quality indicators. This hybrid prediction model employs a two-layer structure: a physical linear baseline and data-driven residual correction. Based on the trained quality index hybrid prediction model, a nonlinear programming model is constructed for each process scenario, and a gradient-based multi-starting point strategy is used to solve it to obtain the optimal ratio scheme; if the optimal ratio scheme cannot be found, a diagnosis is performed, and quantitative adjustment suggestions are generated based on the bottleneck type diagnosed. Based on the feedback data after the optimal ratio scheme is executed, it is determined whether the prediction model needs to be updated. If so, the prediction model is updated with minimal computational cost.
[0006] Furthermore, the corresponding targets are obtained based on the type of process scenario, specifically including: In the wheat blending scenario, the target is various quality indicators of a specific wheat variety. The arithmetic mean of the most recent set number of quality inspection records for that variety is retrieved as the target value, denoted as a vector: , This represents the total number of quality indicators. For the quality index vector of the target wheat variety; For the first A vector of quality indicators for each wheat variety; The target for base flour ratio and auxiliary ingredient addition scenarios is the quality standard range of the finished flour, given in the form of intervals: ,in, and The first The lower and upper limits of the standards for each quality indicator.
[0007] Furthermore, the process of constructing training samples includes extracting the proportions of each raw material and the measured values of each indicator from different batches of historical production records; constructing interaction features for each pair of raw material combinations to capture synergistic or antagonistic effects between raw materials; the characteristics of each raw material indicator and the quality inspection indicator values of raw material variety replacement or new varieties.
[0008] Furthermore, when constructing the hybrid prediction model for quality indicators, prediction functions are defined separately for different process scenarios: For the wheat blending scenario, the input variable is the wheat blending ratio vector. , For the first The wheat planting ratio, the prediction function is defined as: , , in, Indicates the physical linear baseline. = , For the first Wheat planting The measured values of the indicators; A revised model for microphone pairing scenarios. These are the parameters to be trained; For scenarios involving base powder ratios and excipient additions, the input variable is the base powder ratio vector. and auxiliary material addition ratio vector At this point, the prediction function is defined as: , The physical linear baseline takes into account the dilution effect of excipients, and its expression is: , in, For the first The ratio of seed base powder; For the first The proportion of each auxiliary material added. Indicates the first First type of auxiliary material The measured values of the indicators A residual correction model for scenarios involving base powder ratios and additive additions.
[0009] Furthermore, for the wheat blending scenario, an optimization model for the wheat blending scenario is constructed. The objective function is constructed by minimizing the weighted index deviation. The constraints include the normalization constraint of the blending ratio, the non-negativity constraint, the inventory constraint, and the lower limit constraint of the process. For scenarios involving base powder ratios and excipient additions, a unified optimization model for base powder ratios and excipient additions is constructed, incorporating both into the same optimization model, with the base powder ratio vector as the decision variable. Combined with the vector of excipient addition ratio Construct an objective function to minimize the overall cost of raw materials, with constraints including: quality compliance constraint, base powder ratio normalization constraint, auxiliary material process upper limit constraint, inventory constraint, and non-negativity constraint.
[0010] Furthermore, the solution using a gradient-based multi-starting-point strategy includes: randomly generating a preset number of initial points that satisfy the constraints; refining each initial point by calling a gradient-based local optimization algorithm; finally, taking the solution with the minimum objective function value as the optimal allocation scheme; if multiple starting points converge to the same solution, then the solution is determined to be a high-confidence global optimal solution.
[0011] Furthermore, when the triggering condition is met, the residual correction model is updated using incremental fine-tuning, the shallow network parameters are frozen, only the preset number of layers close to the output is fine-tuned, and the preset number of training rounds is trained with a learning rate lower than the initial training rate; the training data adopts a weighting strategy of near-heavy and far-light, with higher weights for samples closer to the current time, so that the model prioritizes fitting the characteristics of recent raw materials. When the cumulative number of new samples reaches the preset threshold for full retraining, or when a significant change in the raw material system is detected, full retraining is performed: the entire residual correction model is retrained with all historical data, and the physical linear baseline is updated synchronously with the raw material index data.
[0012] A second aspect of the present invention provides a flour raw material ratio optimization system based on quality index mixing prediction, comprising: The data reading module is used to read complete data and historical production records of all available raw materials, and obtain the corresponding target according to the process scenario type; The prediction model training module is used to construct training samples based on historical production records and train the constructed quality indicator hybrid prediction model. The quality indicator hybrid prediction model employs a two-layer structure of physical linear baseline and data-driven residual correction. The ratio optimization module is used to construct nonlinear programming models for each process scenario based on the trained quality index hybrid prediction model, and solve them using a gradient-based multi-starting-point strategy to obtain the optimal ratio scheme; if the optimal ratio scheme cannot be found, a diagnosis is performed, and quantitative adjustment suggestions are generated based on the bottleneck type diagnosed. The model update module is used to determine whether the prediction model needs to be updated based on the feedback data after the optimal ratio scheme is executed. If so, the prediction model is updated with minimal computational cost.
[0013] A third aspect of the present invention provides a computer-readable storage medium.
[0014] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the flour raw material ratio optimization method based on quality index mixing prediction as described above.
[0015] A fourth aspect of the present invention provides a computer device.
[0016] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps in the flour raw material ratio optimization method based on quality index mixing prediction as described above.
[0017] Compared with the prior art, the beneficial effects of the present invention are: This invention trains a prediction model based on historical proportions and measured data, and adopts a "physical linear baseline + data-driven residual correction" architecture. Conservative indicators such as gluten and ash content are strictly guaranteed by the physical baseline to have a linear weighting law. Nonlinear deviations such as stabilization time, falling value and interaction of auxiliary materials are automatically learned by the residual model from the data. There is no need to manually preset the mixing formula or manually judge which formula is applicable to each indicator. The real mixing law contained in the historical data is fully utilized, which improves the prediction accuracy.
[0018] When existing raw material conditions cannot meet all quality requirements, this invention automatically identifies bottleneck constraints through constraint relaxation analysis and relaxation efficiency index calculation, pinpoints key indicators or key raw materials that restrict feasibility, and generates operational suggestions including specific relaxation amounts, limits on auxiliary material limits, or raw material replenishment amounts. This mechanism transforms the lack of a solution from a negative outcome into quantifiable decision support, solving the dilemma of traditional manual guesswork based on experience.
[0019] This invention establishes a complete closed-loop mechanism encompassing training, use, feedback, correction, reuse, and continuous evolution. After each batch of production is executed, measured data is automatically fed back. The system monitors prediction deviations through a sliding window, and updates the residual correction model incrementally (weighting near-heavy and far-light layers, freezing shallow layers and adjusting only the output layer) when the deviation exceeds limits or accuracy deteriorates. This allows the model to adaptively evolve with changes in raw material characteristics without requiring full retraining every time. Full retraining is only triggered when a large number of new samples have accumulated or the raw material system has changed significantly. Updates are only activated after backtesting verification; if accuracy decreases, the model is automatically rolled back, ensuring a monotonically positive evolutionary process. Compared to the existing technology's fixed and passively adjusted approach, this invention significantly improves prediction accuracy after continuous operation, and the quality compliance rate of the formulation scheme continuously increases with running time.
[0020] Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0021] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.
[0022] Figure 1 This is a flowchart of the flour raw material ratio optimization method based on quality index mixing prediction provided in an embodiment of the present invention; Figure 2 This is a flowchart of the hybrid prediction model construction process provided in this embodiment of the invention; Figure 3 This is a flowchart of the nonlinear programming model construction and multi-starting-point gradient solution provided in the embodiments of the present invention; Figure 4 This is a flowchart of the scheme execution and feedback data collection provided in the embodiments of the present invention; Figure 5 This is a flowchart of model correction and continuous evolution provided in the embodiments of the present invention; Figure 6 This is a flowchart of unsolvable diagnosis and full-chain linkage update provided by an embodiment of the present invention. Detailed Implementation
[0023] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0024] It should be noted that the following detailed description is illustrative and intended to provide further explanation of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0025] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.
[0026] Terminology Explanation Wheat blending: The process of mixing different varieties or batches of wheat in a certain mass ratio to make the various quality indicators of the blended wheat as close as possible to the indicator values of the target wheat variety. The mixing object is always raw wheat grain, and the output is still wheat (blended wheat).
[0027] Base flour: refers to the basic flour produced after different varieties or batches of wheat have been milled in the milling process, but has not been mixed in the blending process. It is the raw material for the blending process. Base flour of different qualities is stored separately in base flour silos and is used according to the formula during blending.
[0028] Base flour blending: The process of mixing base flours of different varieties or batches in a certain mass ratio to ensure that the various quality indicators of the mixed base flour meet the preset requirements. The input for base flour blending is different varieties of base flour, and the output is still base flour (mixed base flour), which has not yet become finished flour that can be delivered to customers.
[0029] Additive addition: After the base powder is formulated, functional additives (such as gluten, starch, etc.) are added to the mixed base powder to fine-tune the indicators, so that the quality indicators of the finished flour ultimately meet the preset quality standards. The inputs for additive addition are mixed base powder and additives, and the output is finished flour.
[0030] Example 1 like Figure 1 As shown, as an embodiment of the present invention, this embodiment provides a method for optimizing the proportion of flour raw materials based on mixed prediction of quality indicators, including the following steps: S1: Read complete data and historical production records of all available raw materials, and obtain the corresponding target according to the process scenario type; As one implementation method, available raw material data includes: Available wheat table: for each type of wheat of Item Index Value Inventory ,unit price ; Available base powder list: each base powder Various quality index values Inventory ,unit price ; Available excipient list: each excipient Key quality indicators Inventory ,unit price Upper limit of process addition ; Historical production record sheet: the proportioning vector and laboratory measured values of various indicators after each proportioning scheme is implemented.
[0031] In this embodiment, we consider the scenarios of wheat blending, base powder ratio, and the addition of auxiliary materials. In the wheat blending scenario, the target is various quality indicators of a specific wheat variety. The arithmetic mean of the most recent set number of quality inspection records for that variety is retrieved as the target value, denoted as a vector: , in, For the quality index vector of the target wheat variety; For the first A vector of quality indicators for each wheat variety This represents the total number of quality indicators; in this embodiment, Take 8, The target value for gluten content (%); The target value for ash content (%); The target value for moisture content (%); The target value for protein content (%); The target value for the landing numerical value (s); The target density value (g / L); The target value for the settling time (min); This is the target value for the overall baking score.
[0032] The target for base flour ratio and auxiliary ingredient addition scenarios is the quality standard range of the finished flour, given in the form of intervals:
[0033] in, and The first The lower and upper limits of the standards for each quality indicator.
[0034] It should be noted that, to distinguish the decision variables under different process scenarios, the raw material ratio vector for the wheat blending scenario is denoted as... The base powder ratio vector for scenarios involving the addition of excipients is denoted as... The ratio of auxiliary materials added is denoted as: The subsequent steps S2 and S3 will also use this symbol definition.
[0035] S2: Based on historical production records, training samples are constructed to train the constructed quality index hybrid prediction model; like Figures 2-3 As shown, the specific steps include the following: S201: Construct a hybrid prediction model for quality indicators, which adopts a two-layer structure of "physical linear baseline and data-driven residual correction"; This embodiment does not pre-define an analytical formula for the mixing pattern, but instead adopts a two-layer structure of "physical linear baseline + data-driven residual correction". This is based on the following: mass concentration indicators such as gluten content, ash content, moisture content, and protein content maintain a constant total mass during mixing, and theoretically strictly follow a linear weighted average law based on mass proportion (although slight deviations may occur in practice due to detection errors and mixing uniformity). This law is a known physical fact and does not require relearning by consuming the model's fitting ability; it is directly given as a fixed baseline. Indicators such as stabilization time and falling value deviate from the linear summation law during mixing, and the addition of excipients introduces nonlinear interactive effects such as threshold, saturation, and dilution. The specific forms of these deviations are difficult to exhaustively enumerate with a fixed analytical formula, and are left to the residual correction model to automatically learn from historical data.
[0036] Therefore, the general prediction function architecture is defined as follows: , To clearly distinguish the input variables under different process scenarios, this embodiment provides the prediction function definitions for each scenario: (1) For the wheat blending scenario, the input variable is the wheat blending ratio vector. , For the first The wheat planting ratio is used, and the prediction function is defined as follows: , Among them, physical linear baseline = , For the first Wheat planting The measured values of the indicators; A revised model for microphone pairing scenarios. These are the parameters to be trained.
[0037] (2) For the scenarios involving base powder ratio and additive addition, the input variable is the base powder ratio vector. and auxiliary material addition ratio vector At this point, the prediction function is defined as: , In this scenario, due to the addition of excipients, there is a dilution effect, affecting the physical linear baseline. The specific expression is elaborated in S203.
[0038] The key properties of the above structure are: for indices that truly follow a linear mixture law, the residuals after training approach zero, and the model automatically degenerates into a purely linear baseline; for indices with nonlinear mixture laws, the residuals after training are non-zero, and the model automatically learns the correction amount for the linear baseline. Whether each indices are linear or nonlinear, and the specific form of nonlinear deviation, is automatically determined by historical data, without the need for manually pre-setting mixture formulas, nor for manual judgment or post-hoc verification to select the model form.
[0039] S202: Construct the training sample dataset; In this embodiment, the process of constructing training samples includes: Extract training samples from historical production records: , in: For the first The batch input ratio vector (in the microphone mixing scenario, the aforementioned vector) In scenarios involving base powder ratios and excipient additions, the base powder ratio is included. Ratio of excipients ), satisfying that the proportion of each component is non-negative and the sum is 1; For the first The measured values of each indicator in the batch; The total number of training samples; This refers to the number of raw material types. This represents the total number of quality indicators.
[0040] In addition to the ratio vector, the input features of the training samples also include pairwise interaction features and raw material index features; Pairwise interaction features: for each pair of raw material combinations ( Constructing interactive features It is used to capture synergistic or antagonistic effects between raw materials, with the interaction feature dimension being... .
[0041] Raw material index characteristics, i.e., the characteristics of each raw material Quality inspection index values.
[0042] In addition, when the raw material varieties are replaced or new varieties are added to the warehouse, the quality inspection index values of the new varieties are input into the model as input features along with the proportion vector; Since the residual correction model learns the mapping law from the characteristics of raw material indicators and the combination to the deviation of indicators, new varieties with similar indicator characteristics to historical varieties can output reasonable prediction residuals without retraining. When there are significant differences between the indicators of new varieties and historical varieties, the new data is absorbed by combining the full retraining mechanism of S5.
[0043] The feature standardization process follows these rules: the ratio vector and the interaction features constructed from it are not standardized (because the sum of each ratio is always 1, standardization would destroy the constraint structure of the component); the raw material index features and the output index are standardized with zero mean and unit variance respectively to accelerate training convergence and improve numerical stability.
[0044] S203: Train the mixed prediction model for quality indicators based on the constructed training sample dataset; In this embodiment, the residual correction model uses a feedforward neural network, where each index shares the underlying feature representation and outputs its own residual correction value: Input layer: Input the ratio vector corresponding to the scene (in the microphone matching scene, the aforementioned vector) In scenarios involving base powder ratios and excipient additions, the base powder ratio is included. Ratio of excipients (and splice together the raw material index characteristics and pairwise interaction characteristics) Constructing an enhanced input vector ; Hidden layers: Fully connected layers with a preset number of layers (preferably 2-3 layers), each layer having a preset number of neurons (preferably 32-64), and ReLU activation function; Output layer: Each output node outputs... Residual correction value of the item indicator .
[0045] It should be noted that the residual correction model can be replaced by a convolutional neural network (arranging the proportions and raw material indicators into a two-dimensional feature map), a recurrent neural network, or a Transformer structure. Alternatively, a separate small network can be trained for each indicator, sacrificing some data sharing efficiency in exchange for the independent adjustability of each indicator model. The appropriate choice can be made based on the specific circumstances of the field.
[0046] During training, the mean squared error between the predicted and measured values is used as the loss function: , in, This is an L2 regularization term used to suppress overfitting. A gradient descent-type optimizer is used to minimize this loss, and training is terminated using early stopping (preferably, termination occurs when the error on the validation set does not decrease after 10 consecutive rounds).
[0047] After training, the model is evaluated on the reserved validation set to assess the root mean square error of prediction for each metric. This serves as a baseline record for the initial accuracy of the model.
[0048] As a further embodiment, the prediction function for the base powder ratio and auxiliary material addition scenario defined in step S201 above is used. Its physical linear baseline The specific expression is as follows: The addition of excipients will dilute the base powder components, and the finished product will contain the first... The actual mass percentage of the seed base powder is , No. The actual mass percentage of the auxiliary materials is The physical baseline should be rewritten accordingly: , in, Indicates the first The first type of auxiliary material The measured values of each quality indicator; Residual Correction Model Using the normalized component proportion vector after dilution correction as input, the nonlinear interaction effects between excipients and base powder are learned on this baseline, including the marginal effect of gluten enhancement, the threshold and saturation effects of enzyme preparations, and the dilution effect of starch.
[0049] S3: Based on the trained quality index hybrid prediction model, nonlinear programming models are constructed for each process scenario, and a gradient-based multi-starting-point strategy is used to solve the problem to obtain the optimal ratio scheme.
[0050] For the microphone pairing scenario optimization model, a microphone pairing scenario optimization model is constructed, with the following decision variables: ,in For the first The mass ratio of wheat varieties in the mixed wheat; Construct the objective function by minimizing the weighted index bias: , in, For the first The weighting coefficients for each indicator are set according to their importance in terms of quality; the default value is 1 for all of them. For the target value, The prediction function is trained by S2.
[0051] The constraints include: Proportion normalization constraint: , Nonnegativity constraint: , Inventory constraints: ,in, This represents the total planned wheat usage for this batch. Indicates the first The stock of wheat; Process lower limit constraints, such as the minimum blending ratio for a certain variety, , Indicates the first The minimum process ratio for wheat cultivation (i.e., the minimum limiting ratio).
[0052] A unified optimization model for base powder ratio and excipient addition is constructed. The key improvement of this model is that it incorporates both base powder ratio and excipient addition into the same optimization model for unified solution, rather than the traditional sequential approach of first mixing base powder and then adding excipients. Base powder ratio solves the problem of homogenization at the base powder level, while excipient addition solves the problem of accurately achieving quality standards at the quality level. The two are coupled and linked within the model.
[0053] Decision variables: for The ratio vector of the seed base powder; for The addition ratio vector of the auxiliary materials (based on the total mass of the mixed base powder).
[0054] The objective function is constructed by minimizing the overall cost of raw materials: , in, For the first Price per unit of seed base powder For the first Unit price of auxiliary materials For the first The ratio vector of seed base powder, Indicates the first Vector of the addition ratio of various auxiliary materials; The constraints specifically include: Quality compliance constraints (non-linear): , in Add a scenario prediction function to the base powder ratio and auxiliary materials obtained from S2 training. , For finished flour The lower and upper limits of the quality standards. It should be noted that... and It is not a simple additive relationship: the addition of excipients will dilute the overall component ratio of the base powder mixture. The input of the prediction function is the normalized component ratio vector after dilution correction, ensuring that the sum of the component ratios is 1.
[0055] Base powder ratio normalization constraint: , Upper limit constraints on auxiliary material processing: , Inventory constraints: , in, This represents the planned total powder production volume for this batch. Indicates the first Inventory levels of auxiliary materials; Nonnegativity constraint: .
[0056] This invention integrates the base powder ratio and the addition of excipients into a single optimization model for unified solution. The two are linked within the model through shared decision variables and coupling constraints. Specifically addressing the coupling challenge of diluting the base powder mixture and altering the total proportion of each component after the addition of excipients, this invention uses the normalized component proportion vector after dilution correction as the input to the prediction model. This ensures that the sum of the proportions of each component in the finished product is strictly 1, establishing the prediction and optimization of the two decision variables—base powder ratio and excipient addition—on a strictly consistent physical basis. The dilution effect, threshold effect, and saturation effect of excipients are automatically characterized by the residual correction model, eliminating the drawbacks of the traditional "base powder first, then excipients" sequential approach where errors accumulate step by step. This minimizes the amount of excipients added while meeting quality standards, reducing excipient costs and mitigating the risk of process fluctuations.
[0057] As a further embodiment, the solution using a gradient-based multi-starting-point strategy specifically includes: Prediction function As a neural network, its gradient with respect to decision variables can be obtained accurately and efficiently through backpropagation (automatic differentiation), without the need for manual derivation of analytical derivatives or reliance on gradient-free search methods.
[0058] To handle the normalization constraint of the proportions With nonnegative constraints Softmax parameterization is used: unconstrained auxiliary variables are introduced. ,make , but Automatically satisfying normalization and non-negativity, optimization is transformed into optimization of unconstrained variables. Solving for the upper limit of inventory and the lower limit of process constraints; handling these constraints through penalty functions or projection.
[0059] Since neural network prediction functions are typically non-convex and have multiple local extrema, this embodiment employs a multi-starting-point strategy: a preset number (preferably 50-100) of initial points satisfying the constraints are randomly generated. For each initial point, a gradient-based local optimization algorithm (such as L-BFGS or sequential quadratic programming) is called to refine the solution. Finally, the solution with the minimum objective function value is selected as the optimal allocation scheme. If multiple starting points converge to the same solution (the difference in objective function values is less than a preset tolerance), then this solution is determined to be a high-confidence globally optimal solution.
[0060] It should be noted that when the non-convexity is strong, differential evolution (DE), particle swarm optimization (PSO), or simulated annealing (SA) can be superimposed on the multi-starting point gradient method for global exploration, and then refined by the gradient method.
[0061] The predictive model and the optimization solver are not two isolated, separate modules: the optimization solver relies on the predictive model to provide nonlinear constraint descriptions and objective function expressions, while the predictive model relies on experimental feedback after the optimization scheme is executed to continuously correct its accuracy. The two are coupled into an adaptive system through a closed loop of execution, detection, feedback, and correction. Compared with the existing technology that simply superimposes the predictive and optimization tools (predictive drift has no feedback, and optimization relies on a fixed model), this invention avoids the cumulative degradation caused by model drift, optimization distortion, and formulation inaccuracies. The accuracy and quality compliance rate of the formulation scheme monotonically improve as the system continues to run.
[0062] S4: Based on the feedback data after the optimal ratio scheme is executed, determine whether the prediction model needs to be updated. If so, complete the model update with minimal computational cost. In this embodiment, the feedback data after the optimal ratio scheme is implemented specifically includes: the optimized scheme is issued for implementation after being confirmed by technical personnel. This step establishes a feedback data path from the production site to the model system, serving as the information source for closed-loop evolution.
[0063] like Figure 4 As shown, the system records complete information for each execution: execution batch number, execution time, and mixing scheme (referred to as the wheat mixing vector in the case of wheat mixing). If it involves the proportion of base powder and the addition of excipients, it is denoted as the base powder proportion vector. (and auxiliary material plan) )), the batch number of the raw materials used and the quality inspection index value upon entry into the warehouse, and the process parameters (grid gap, etc.) during the production process.
[0064] After each batch of finished products is produced, the quality inspection laboratory will inspect all of them according to national standards. The quality indicators were tested, and the measured values were recorded as follows: , The system automatically retrieves the model prediction values corresponding to this batch and calculates the prediction deviations of various indicators by combining them with the measured values. For a microphone setup scenario: Predicted value Prediction bias , For scenarios involving base powder ratios and additive additions: Predicted values Prediction bias , Will This is written as a feedback sample into the historical production record table, allowing the training dataset to be continuously expanded.
[0065] S5: Automatically determines whether the model needs updating based on feedback data, and completes the model update with minimal computational cost, so that the prediction accuracy continues to improve with the accumulation of production practice. Specifically, this includes: like Figure 5 As shown, maintain a preset window size. Sliding window (preferably, (batch), continuously monitoring the most recent Batch prediction bias (i.e., the one calculated in S4) If any of the following conditions are met, the corresponding evolutionary condition will be triggered; Condition A – Systematic bias: a certain indicator moving average deviation Exceeding the allowable error of this indicator The preset ratio (preferably 50%). Tolerance. Preferably take ,in Preset proportional coefficient (preferred) ), For the first The range width of the quality standard; microphone pairing scenario (target is a single value rather than a range). Take the industry repeatability limit for this indicator (e.g., the repeatability limit for the stability time is 0.5 min).
[0066] Condition B – Accuracy Degradation: A certain indicator Sliding root mean square error Exceeding the allowable error of this indicator .
[0067] Condition C – Accumulated Sample Trigger: Since the last correction, the number of newly added feedback samples has reached the preset sample count. (Preferred, Regardless of whether the deviation exceeds the limit, a preventative update is triggered to prevent implicit drift caused by the model not being updated for a long time.
[0068] When the triggering condition is met, the system updates the residual correction model using incremental fine-tuning instead of retraining from scratch. Specifically, for scenarios that trigger the update condition (e.g., microphone-matching scenario update),... Base powder ratio and auxiliary material addition scenario update ): Freeze the shallow parameters of the network, fine-tune only the preset number of layers (preferably 1 to 2 layers) close to the output, and train for a preset number of rounds with a learning rate lower than the initial training rate; the training data adopts a weighting strategy of near-heavy and far-light, with the samples closer to the current time having higher weights, so that the model prioritizes fitting the characteristics of recent raw materials.
[0069] When the accumulated new samples reach the preset full retraining threshold, or when a significant change in the raw material system is detected, the system performs a full retraining: retraining the entire residual correction model using all historical data (weighted by proximity and distance) (also distinguishing between...). The physical linear baseline is updated synchronously with the raw material indicator data. The criteria for judging significant changes in the raw material system include: the new season wheat entering the market, the batch replacement of suppliers, the proportion of new varieties in the procurement volume exceeding the preset proportion (preferably 20%), or the mean of a certain key indicator of the raw materials entering the warehouse deviating from the historical data mean of that variety by more than the preset standard deviation (preferably 2 standard deviations).
[0070] After the model is updated, immediately in the most recent Perform backtesting on batch samples: with the updated model ( Recalculate the predicted values for each batch and verify. Whether it has decreased. If after the update... If the values increase instead (indicating overfitting or data anomalies), the parameters will be rolled back to their previous state, and the feedback samples in this batch will be marked as suspected outliers and excluded from subsequent training.
[0071] The updated model parameters take effect immediately, replacing the original parameters in the next round of optimization for S3. Specifically, after the update, the new parameters... (Including the updated version) The parameters are directly written to the parameter storage area of the prediction model, overwriting the original parameters. No recompilation or system restart is required; when solving the next batch of ratio optimization, S3 automatically calls the updated prediction model (called in the microphone matching scenario). By constructing constraints and objective functions, the effects of the corrections are immediately reflected in the new solution, thus forming a complete closed loop.
[0072] In each iteration, the training dataset expands with the new samples added in S4, the prediction model is refined with the incremental updates in S5, and the optimized scheme gets closer to the true optimum due to the improved prediction accuracy. The system can continuously evolve without human intervention, adapting to batch changes in raw materials and natural quality drift.
[0073] S6: When the optimization model still cannot find a feasible solution that satisfies all constraints under the multi-start point solution strategy, perform a diagnosis and generate quantitative adjustment suggestions based on the bottleneck type diagnosed. like Figure 6 As shown, it specifically includes: Step 1, Constraint Relaxation Analysis: Introducing relaxation variables into the quality compliance constraints. The constraints are rewritten as follows: If it's a microphone setup scenario, the constraints will be rewritten as follows: , If the scenario involves base powder ratio and the addition of excipients, the constraints will be rewritten as follows: , Constructing a relaxation optimization model (taking the base powder ratio and excipient addition scenario as an example): , After solving, the relaxation amount The constraint is called the bottleneck constraint.
[0074] The second step is to calculate the relaxation efficiency index: Calculate the relaxation efficiency index for each bottleneck constraint. , in, The larger the value, the more severely the constraint restricts feasibility. Sort in descending order and output the top 3 key bottlenecks.
[0075] The third step is to generate quantitative adjustment suggestions: Automatically generate action suggestions based on the bottleneck type. If the bottleneck is a constraint of a certain quality indicator ( ): Recommendation No. The standards for this indicator need to be relaxed. Units (i.e. from) Adjusted to ), or look for the first Raw materials with higher indicator values; If the bottleneck is the upper limit of auxiliary material addition: it is recommended to... The upper limit for the addition of certain auxiliary materials needs to be from Upgraded to ,in Determined by sensitivity analysis; If the bottleneck is inventory constraint: it is recommended that the first The inventory of raw materials needs to be replenished at least ton.
[0076] As a further embodiment, when the upstream wheat blending scheme changes due to changes in raw materials, model evolution, or manual adjustments, the entire supply chain is automatically linked: Production line transfer calculation: based on the production line transfer function of the powder making process. (Characterizing the mapping relationship between wheat blending scheme and base flour output, including flour yield and the coefficient of variation of each indicator during the milling process), from the new wheat blending scheme Calculate the expected indicators and quantity of the produced base powder: , Base powder inventory update: Write the indicators and quantities of newly produced base powder into the available base powder table to replace or supplement the original inventory data.
[0077] Downstream solution re-solution: Using the updated base powder inventory data as input, the unified optimization model for base powder ratio and auxiliary material addition in S3 is automatically triggered to re-solution, and a new powder formulation solution is output.
[0078] Consistency verification: Compare the differences between the old and new powder preparation schemes. If the difference exceeds a preset threshold (such as a cost change exceeding 5% or an adjustment of a certain indicator exceeding 20% of the standard range), the system will issue an alert to the technical staff, indicating that the entire chain scheme has undergone significant changes.
[0079] Ultimately, data storage, feedback acquisition, and lightweight incremental fine-tuning modules can be deployed on local edge servers, while full training and global optimization modules can be deployed in the cloud, allowing multiple plants to share a single training and solving engine. The edge and cloud communicate via RESTful APIs or MQTT protocols to achieve unified recipe management and centralized computing power scheduling across multiple sites.
[0080] The following two numerical examples illustrate the specific implementation process of the method of the present invention. The method of the present invention runs on a computer device (such as an enterprise server or industrial control computer) equipped with a processor, memory and data interface, and is deployed in the production management system of a flour processing enterprise. Each step of the method processes physical quantities such as raw material quality inspection indicators, inventory, and production costs. The output proportioning scheme is sent to the wheat and flour blending equipment on-site via the data interface, directly adjusting the actual feeding ratio of each raw material in the next batch and affecting the actual production process.
[0081] Example 2 Step 1: Data acquisition. A flour mill currently has 3 types of available wheat, and the goal is to match the blended wheat indicators to the variety "Jimai 22". The target indicator vector (taking the average of the last three quality inspections): .
[0082] The available wheat data are shown in Table 1 below: Table 1 Available Wheat Data
[0083] There are more than 2,000 ratio-measured data pairs in the historical production record table (electronically accumulated production records of the plant over the past six years).
[0084] Step 2: Model training. Train a residual correction model with the above more than 2,000 pieces of historical data: the inputs are the ratio vector and pairwise interaction features (the 3 types of wheat have a total of 3 interaction features), the network structure is 2 hidden layers with 48 neurons per layer and ReLU activation, and the outputs are the residuals of 8 indicators; the L2 regularization coefficient , the early stopping method terminates when the verification set error does not decrease for 10 consecutive rounds. The verification set accuracy after training is completed: gluten , ash content , stability time min, falling number s. Checking the residual outputs shows that the residual correction amounts of the five items of gluten, ash content, moisture, protein and test weight are all close to zero in the entire ratio domain (the absolute value is less than the detection repeatability limit), and the model automatically degenerates to a physical linear baseline for these five items; the residual correction amounts of stability time and falling number are significantly non-zero. For example, when wheat A and B are mixed at a ratio of 1:1, the residual correction amount of the stability time is min (that is, the measured value is about 0.9 min lower than the linear baseline of 14.75 min), and the model accurately learns this nonlinear deviation.
[0085] Step 3: Optimization and solving. Construct a nonlinear programming model for wheat blending, use softmax parameterization to normalize the constraints and absorb them into variable transformation, randomly generate 80 initial points, and refine each point with L-BFGS. The solution results: , , . Comparison between predicted indicators and targets: gluten 31.8% (deviation -0.2%), stability time 13.7min (deviation -0.3min), falling number 375s (deviation -1.3%), comprehensive weighted deviation .
[0086] Step 4: Execution and feedback. The plan is issued for execution, with the batch number 2026-0312. The measured value of the finished product quality inspection: stability time 13.2min (prediction deviation min), falling number 368s (prediction deviation (s), and the deviations of all other indicators are within the acceptable range. Feedback samples are written to the historical record.
[0087] Step 5: Evolutionary Determination. After continuously monitoring 20 batches ( The moving average deviation of the settling time min, exceeding the allowable error Triggering condition A is achieved when the reproducibility limit is 50% (i.e., 0.25 min). The system performs incremental fine-tuning on the residual correction model: the first hidden layer is frozen, and only the second hidden layer and output layer are fine-tuned. The system is trained for several rounds using the most recent 200 samples with a near-heavy weighting and far-light weighting. Backtesting verification: After fine-tuning, the RMSE (Recovery Time Per Second) for 20 batches stabilized decreased from 0.52 min to 0.34 min, indicating the update was effective. The new parameters are written to the parameter storage area and take effect immediately, participating in the next batch optimization.
[0088] Example 3 Base powder ratio and auxiliary material addition scenarios Step 1: Data Acquisition. Finished Flour Quality Standards: Gluten Ash content stabilization time min, protein , moisture .
[0089] The available base powder and excipient data are shown in Table 2: Table 2 Data on available base powders and excipients
[0090] The historical production record table contains more than 1,000 pairs of base powder ratios and auxiliary material addition ratios and measured data, including gradient records of different amounts of wheat gluten (0-5%).
[0091] Step Two: Model Training. The prediction model was trained using the aforementioned 1,000+ historical data points. The physical baseline was calculated using the dilution correction formula, and the residual correction model learned the interaction effects of auxiliary ingredients. After training, it was observed that the residual correction of the gluten index exhibited a clear diminishing marginal return characteristic—when the base flour mixture strength reached 30%, the gluten increase from each additional 1% of gluten powder (approximately 0.55 percentage points) was lower than the increase when the base flour mixture strength was only 25% (approximately 0.7 percentage points). The model automatically learned the saturation synergistic effect of gluten powder, a phenomenon that is difficult to characterize with any fixed mixing formula.
[0092] Step 3: Unified optimization solution. The base powder ratio... and the ratio of excipients Incorporate them into the same model.
[0093] Considering the dilution effect of the added excipients on the base powder, the objective function is constructed to minimize the overall cost of raw materials: , The multi-starting-point gradient method is used to solve the problem. Solution results: Overall cost Yuan / ton.
[0094] Compared to the traditional series method (preparing the base powder first and then adding the excipients, without considering the marginal effect of gluten powder): the series scheme is as follows: ,cost Yuan / ton. The unified optimization scheme reduces costs by approximately 0.8%, and because the model accurately characterizes the marginal effect of gluten, the amount of gluten used is reduced by 0.7 percentage points, thus reducing the risk of process fluctuations.
[0095] Step 4: Example of an unsolvable diagnosis. If the inventory of base powder 3 is limited to 50 tons (i.e.... The model returned "not feasible". Constraint relaxation analysis was performed: after solving the relaxation optimization model, the relaxation amount of the steady-time constraints was determined. The relaxation efficiency index (i.e., the predicted settling time is only 9.2 min at most, which is 0.8 min away from the standard lower limit of 10 min) is min. The biggest bottleneck is the stabilization time. The system output suggests: "The stabilization time is the key bottleneck. At least 80 tons of high-gluten base powder (stabilization time ≥ 15 min) need to be added, or the inventory constraint of base powder 3 can be relaxed to 130 tons." Example 4 This embodiment provides a flour raw material ratio optimization system based on quality index mixing prediction, including: The data reading module is used to read complete data and historical production records of all available raw materials, and obtain the corresponding target according to the process scenario type; The prediction model training module is used to construct training samples based on historical production records, and to build and train hybrid prediction models for quality indicators for different process scenarios. The hybrid prediction model for quality indicators adopts a two-layer structure of physical linear baseline and data-driven residual correction. The ratio optimization module is used to construct nonlinear programming models for each process scenario based on the trained quality index hybrid prediction model, and solve them using a gradient-based multi-starting-point strategy to obtain the optimal ratio scheme; if the optimal ratio scheme cannot be found, a diagnosis is performed, and quantitative adjustment suggestions are generated based on the bottleneck type diagnosed. The model update module is used to determine whether the prediction model needs to be updated based on the feedback data after the optimal ratio scheme is executed. If so, the prediction model is updated with minimal computational cost.
[0096] It should be noted that the specific implementation of the flour raw material ratio optimization system based on mixed prediction of quality indicators in this embodiment of the invention is similar to the specific implementation of the flour raw material ratio optimization method based on mixed prediction of quality indicators in this embodiment of the invention. For details, please refer to the description in the method section. In order to reduce redundancy, it will not be repeated here.
[0097] Example 5 This embodiment provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps in the flour raw material ratio optimization method based on quality index mixing prediction as described above.
[0098] Example 6 This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps in the flour raw material ratio optimization method based on quality index mixing prediction as described above.
[0099] Example 7 This embodiment provides a program product, which is a computer program product, including a computer program. When the computer program is executed by a processor, it implements the steps in the flour raw material ratio optimization method based on quality index mixing prediction as described above.
[0100] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0101] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0102] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0103] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0104] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0105] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for optimizing flour raw material ratios based on mixed prediction of quality indicators, characterized in that, Includes the following steps: Read complete data and historical production records of all available raw materials, and obtain the corresponding target according to the process scenario type; Training samples were constructed based on historical production records to train a hybrid prediction model for quality indicators. This hybrid prediction model employs a two-layer structure: a physical linear baseline and data-driven residual correction. Based on the trained quality index hybrid prediction model, nonlinear programming models are constructed for each process scenario, and a gradient-based multi-starting-point strategy is used to solve them to obtain the optimal ratio scheme. If the optimal ratio scheme cannot be found, a diagnosis is performed, and quantitative adjustment suggestions are generated based on the bottleneck type diagnosed. Based on the feedback data after the optimal ratio scheme is executed, it is determined whether the prediction model needs to be updated. If so, the prediction model is updated with minimal computational cost.
2. The method for optimizing flour raw material ratios based on mixed prediction of quality indicators as described in claim 1, characterized in that, Obtain the corresponding target based on the type of process scenario, specifically including: In the wheat blending scenario, the target is various quality indicators of a specific wheat variety. The arithmetic mean of the most recent set number of quality inspection records for that variety is retrieved as the target value, denoted as a vector: , This represents the total number of quality indicators. For the quality index vector of the target wheat variety; For the first A vector of quality indicators for each wheat variety; The target for base flour ratio and auxiliary ingredient addition scenarios is the quality standard range of the finished flour, given in the form of intervals: in, and The first The lower and upper limits of the standards for each quality indicator.
3. The method for optimizing flour raw material ratios based on mixed prediction of quality indicators as described in claim 1, characterized in that, The process of constructing training samples includes extracting the proportions of each raw material and the measured values of each indicator from different batches of historical production records; constructing interaction features for each pair of raw material combinations to capture synergistic or antagonistic effects between raw materials; the characteristics of each raw material indicator and the quality inspection indicator values for the replacement or addition of raw material varieties.
4. The method for optimizing flour raw material ratios based on mixed prediction of quality indicators as described in claim 1, characterized in that, When constructing the hybrid prediction model for quality indicators, prediction functions are defined separately for different process scenarios: For the wheat blending scenario, the input variable is the wheat blending ratio vector. , For the first The wheat planting ratio, the prediction function is defined as: , , in, Indicates the physical linear baseline. = , For the first Wheat planting The measured values of the indicators; A revised model for microphone pairing scenarios. These are the parameters to be trained; For scenarios involving base powder ratios and excipient additions, the input variable is the base powder ratio vector. and auxiliary material addition ratio vector At this point, the prediction function is defined as: , The physical linear baseline takes into account the dilution effect of excipients, and its expression is: , in, For the first The ratio of seed base powder; For the first The proportion of each auxiliary material added. Indicates the first First type of auxiliary material The measured values of the indicators A residual correction model for scenarios involving base powder ratios and additive additions.
5. The method for optimizing flour raw material ratios based on mixed prediction of quality indicators as described in claim 1, characterized in that, For the wheat blending scenario, an optimization model for the wheat blending scenario is constructed. The objective function is constructed by minimizing the weighted index deviation. The constraints include the normalization constraint of the blending ratio, the non-negativity constraint, the inventory constraint, and the lower limit constraint of the process. For scenarios involving base powder ratios and excipient additions, a unified optimization model for base powder ratios and excipient additions is constructed, incorporating both into the same optimization model, with the base powder ratio vector as the decision variable. Combined with the vector of excipient addition ratio Construct an objective function to minimize the overall cost of raw materials, with constraints including: quality compliance constraint, base powder ratio normalization constraint, auxiliary material process upper limit constraint, inventory constraint, and non-negativity constraint.
6. The method for optimizing flour raw material ratios based on mixed prediction of quality indicators as described in claim 1, characterized in that, The solution using a gradient-based multi-starting-point strategy includes: randomly generating a preset number of initial points that satisfy the constraints; refining each initial point by calling a gradient-based local optimization algorithm; finally, taking the solution with the minimum objective function value as the optimal allocation scheme; if multiple starting points converge to the same solution, then the solution is determined to be a high-confidence global optimal solution.
7. The method for optimizing flour raw material ratios based on mixed prediction of quality indicators as described in claim 1, characterized in that, When the triggering condition is met, the residual correction model is updated using incremental fine-tuning, the shallow parameters of the network are frozen, only the preset number of layers close to the output is fine-tuned, and the preset number of training rounds is trained with a learning rate lower than the initial training rate. The training data adopts a weighting strategy of "nearer data has higher weight" and "farer data has lower weight", so that the model will prioritize fitting the characteristics of recent raw materials. When the cumulative number of new samples reaches the preset threshold for full retraining, or when a significant change in the raw material system is detected, full retraining is performed: the entire residual correction model is retrained with all historical data, and the physical linear baseline is updated synchronously with the raw material index data.
8. A flour raw material ratio optimization system based on quality index mixing prediction, characterized in that, include: The data reading module is used to read complete data and historical production records of all available raw materials, and obtain the corresponding target according to the process scenario type; The prediction model training module is used to construct training samples based on historical production records and train the constructed quality indicator hybrid prediction model. The quality indicator hybrid prediction model employs a two-layer structure of physical linear baseline and data-driven residual correction. The ratio optimization module is used to construct nonlinear programming models for each process scenario based on the trained quality index hybrid prediction model, and solve them using a gradient-based multi-starting-point strategy to obtain the optimal ratio scheme; if the optimal ratio scheme cannot be found, a diagnosis is performed, and quantitative adjustment suggestions are generated based on the bottleneck type diagnosed. The model update module is used to determine whether the prediction model needs to be updated based on the feedback data after the optimal ratio scheme is executed. If so, the prediction model is updated with minimal computational cost.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps in the flour raw material ratio optimization method based on quality index mixing prediction as described in any one of claims 1-7.
10. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps in the flour raw material ratio optimization method based on quality index mixing prediction as described in any one of claims 1-7.
