CN115455341B - Solving method for raw material blanking layout - Google Patents
Solving method for raw material blanking layout Download PDFInfo
- Publication number
- CN115455341B CN115455341B CN202211346050.6A CN202211346050A CN115455341B CN 115455341 B CN115455341 B CN 115455341B CN 202211346050 A CN202211346050 A CN 202211346050A CN 115455341 B CN115455341 B CN 115455341B
- Authority
- CN
- China
- Prior art keywords
- matrix
- mathematical model
- column
- solution
- initial
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 239000002994 raw material Substances 0.000 title claims abstract description 54
- 238000000034 method Methods 0.000 title claims abstract description 32
- 239000011159 matrix material Substances 0.000 claims abstract description 263
- 238000013178 mathematical model Methods 0.000 claims abstract description 68
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 52
- 238000005520 cutting process Methods 0.000 claims description 137
- 239000013598 vector Substances 0.000 claims description 43
- 230000014509 gene expression Effects 0.000 claims description 8
- 238000012549 training Methods 0.000 claims description 6
- 238000004364 calculation method Methods 0.000 claims description 4
- 239000002131 composite material Substances 0.000 claims description 4
- 102000002274 Matrix Metalloproteinases Human genes 0.000 claims description 3
- 108010000684 Matrix Metalloproteinases Proteins 0.000 claims description 3
- 150000001875 compounds Chemical class 0.000 claims description 3
- 238000005457 optimization Methods 0.000 description 23
- XAGFODPZIPBFFR-UHFFFAOYSA-N aluminium Chemical compound [Al] XAGFODPZIPBFFR-UHFFFAOYSA-N 0.000 description 14
- 229910052782 aluminium Inorganic materials 0.000 description 14
- 238000004519 manufacturing process Methods 0.000 description 10
- 239000000463 material Substances 0.000 description 6
- 238000012360 testing method Methods 0.000 description 6
- 238000006467 substitution reaction Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000011160 research Methods 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 239000002699 waste material Substances 0.000 description 3
- 229910000831 Steel Inorganic materials 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003252 repetitive effect Effects 0.000 description 2
- 239000010959 steel Substances 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 101150096839 Fcmr gene Proteins 0.000 description 1
- 229910052799 carbon Inorganic materials 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000006386 neutralization reaction Methods 0.000 description 1
- 239000003208 petroleum Substances 0.000 description 1
- 239000004033 plastic Substances 0.000 description 1
- 229920003023 plastic Polymers 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 239000002023 wood Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/11—Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
- G06Q10/043—Optimisation of two dimensional placement, e.g. cutting of clothes or wood
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Mathematical Physics (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- Pure & Applied Mathematics (AREA)
- Operations Research (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Optimization (AREA)
- Mathematical Analysis (AREA)
- Computational Mathematics (AREA)
- Economics (AREA)
- Game Theory and Decision Science (AREA)
- General Business, Economics & Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Tourism & Hospitality (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Algebra (AREA)
- Quality & Reliability (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Numerical Control (AREA)
Abstract
A method for solving blanking and stock layout of raw materials comprises the following steps: s1, determining the length of a raw material, the number of each blanking workpiece and the size of each blanking workpiece; s2, establishing an original mathematical model, and performing matrixing on the original mathematical model to obtain a simplified mathematical model; s3, establishing an initial identity matrix, introducing constant parameters, and then performing initial row change on the simplified mathematical model to obtain a new mathematical model; s4, solving the new mathematical model by means of an optimizer to obtain an initial feasible solution; and S5, based on the initial feasible solution, solving the optimal relaxation solution by utilizing a CG algorithm, if the relaxation solution is not a non-negative integer, rounding the optimal relaxation solution to obtain an integer solution, and selecting the best solution in the S4 and the S5 as a raw material blanking layout scheme. The invention provides a CG algorithm improved based on a new mathematical model to solve the blanking problem with low demand, and the solving quality of the CG algorithm can be well improved.
Description
Technical Field
The invention relates to the technical field of raw material blanking, in particular to a solving method for raw material blanking stock layout.
Background
The method for reducing the raw material consumption is one of the necessary means for realizing green manufacturing of enterprises, is concerned with the problems of improving economic benefit and ecological environment of the enterprises, is the most direct and effective method for saving energy and reducing emission, and is an important means for helping the nation to realize the aim of carbon neutralization. Cutting problems directly related to raw material consumption are ubiquitous in practical engineering problems, such as cutting problems are indispensable in production plans of various industries such as paper making, steel, plastics, aluminum and wood. The cutting problem is also called as the blanking problem, and the solving effect of the cutting problem is directly related to the raw material consumption and the production efficiency of manufacturing enterprises. Specifically, a mathematical model of the classical one-dimensional cutting inventory problem (CSP) refers to the cutting of a set of available stock material into various different size specifications of products required by a customer order by optimizing a given objective function (raw material cost minimization). From a mathematical theory level, the cutting problem is a typical NP combination optimization problem. At present, researchers divide the algorithms for solving such problems into two types, one is to minimize the objective function (minimize material cost) by constructing a good (aiming at minimizing material waste) cutting layout mode and repeatedly using the cutting mode as much as possible, so as to meet the demands of customer orders for products with different specifications, and the method is generally called a constructive heuristic optimization algorithm; the other method is to firstly use a column generation precision method to obtain a relaxation solution of the original problem, then apply a rounding technology to the relaxation solution by combining a heuristic algorithm, and simultaneously update a cutting mode to obtain an optimal integer solution of the cutting optimization problem, and the method is generally called a residual heuristic algorithm.
For a method for solving a general problem of one-dimensional cutting blanking, the existing research technology basically tends to be mature, but for solving the problem of low-demand blanking, the existing approximate solution algorithm is almost difficult to obtain a satisfactory optimal solution. Although the optimal relaxation solution can be obtained by the column generation precise algorithm (CG algorithm), the difference between the integer solution after rounding and the ideal optimal integer solution is often large, and the number of different cutting modes (different blanking layout schemes) is large, which causes a lot of raw material waste in enterprise manufacturing and low production efficiency of enterprises.
Disclosure of Invention
The invention provides a method for solving a raw material blanking layout, which aims to solve the technical problem that raw materials are easy to waste due to an optimal solution obtained by the existing algorithm in the prior art.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides a solving method for raw material blanking layout, which comprises the following steps:
s1, determining the length of raw materials, the number of each blanking workpiece and the size of each blanking workpiece;
s2, establishing an original mathematical model according to the length of the raw materials, the number of each blanking workpiece and the size of each blanking workpiece, and performing matrixing on the original mathematical model to obtain a simplified mathematical model;
s3, establishing an initial identity matrix, introducing constant parameters, and performing initial row change on the simplified mathematical model by using the initial identity matrix and the constant parameters to obtain a new mathematical model;
s4, solving the new mathematical model (called VTC model) by means of a Gurobi optimizer to obtain an initial feasible solution of the new mathematical model, wherein the initial feasible solution comprises a blanking layout scheme and decision variables, and the decision variables refer to variables corresponding to different layout schemes, namely the number of raw materials used corresponding to each layout scheme;
s5, continuously solving on the basis of an initial feasible solution by utilizing a CG algorithm to obtain an optimal relaxation solution, wherein the optimal relaxation solution refers to an optimal decision variable, if the optimal relaxation solution is all non-negative integers, the sum value of the optimal decision variable is compared with the sum value of the decision variables in the step S4, the decision variable generated by the party with the minimum sum is selected as a final decision variable, the corresponding blanking layout scheme is a final raw material blanking layout scheme, and if the optimal relaxation solution is not all non-negative integers, the step S6 is entered;
and S6, rounding the optimal relaxation solution obtained in the step S5 by means of a heuristic algorithm to obtain a non-negative integer solution, comparing the sum value of the optimal decision variables with the sum value of the decision variables in the step S4, selecting the decision variable generated by the party with the minimum sum as a final decision variable, and taking the corresponding blanking layout scheme as the final raw material blanking layout scheme.
In this embodiment, the original mathematical model in step S2 is:
wherein,representing a decision variable, in particular representing the quantity of raw material used in the j cutting mode;the number of ith products to be blanked in the jth cutting mode is represented;the total number of workpieces to be blanked is represented;the dimension of the required ith workpiece to be blanked is represented; l represents the length of the raw material;representing a non-negative integer.
Preferably, the simplified mathematical model in step S2 is specifically:
wherein,a matrix with 1 row and n columns is represented; solution vector matrixThe representation is a matrix of n rows and 1 column, the elements of which are decision variables whose values are constrained to be greater than or equal to zero and to be integers; a represents a matrix of the layout scheme (cutting pattern), and is a matrix of m rows and n columns () When all the cutting modes are solved, all the columns in the matrix A are formed by the generated cutting modes, each column represents one cutting mode, and before iteration starts, the cutting modes are an identity matrix with m rows and m columns;a column vector demand matrix representing m rows and 1 column, wherein the element values of the matrix represent the required number of workpieces with different sizes, and m represents that the number of the required workpiece types is equal to m;a matrix representing m rows and 1 columns, which is a column variable vector matrix, in which the values of the elements are non-negative integers,representing a cutting pattern currently to be solved byAsThe index of (a) is determined,represents all possible cutting pattern sets, such as:representing a cutting pattern that the current iteration needs to be solved forIn which the elementsIs shown in cutting modeThe number of the i-th workpieces,;represents a 1 row and m columnsThe elements of the matrix represent the sizes of m different workpieces; such asSize of the ith workpiece;Is shown in cutting modeWherein the sum of the product of the size of the different workpieces multiplied by the number of the respective corresponding different workpieces is less than or equal to the length of the raw material;In (1)0A column vector matrix representing m rows and 1 columns of all 0 elements, wherein the matrixAll the variable values are constrained to be greater than or equal to zero and must be less than or equal to the required number corresponding to each type of workpiece, the values of which,Representing a non-negative integer.
Preferably, the step S3 specifically includes the following steps:
step S310, establishing an initial identity matrix, and introducing a constant parameterIn each iteration, column k (c)Unknown column) is fixed as a constant parameter, and the constant parameter is equal to the value of the decision variable corresponding to the kth column obtained by the previous iteration solution; at the beginning of the iteration, take,Representing a column vector demand matrixd The value of the 1 st element in (c), corresponding to the required number of first workpieces,represents the decision variables corresponding to the 1 st column in the layout scheme matrix A and also represents the decision variables corresponding to the first cutting modeA decision variable of (c);
and step S320, carrying out primary variation on the simplified mathematical model by using the constant parameters to obtain a new mathematical model.
Preferably, the new mathematical model in step S320 is specifically:
assuming that the number of decision variables is m and the number of different workpiece types is m, each iteration generates a new column, which also represents a new cutting patternWhen iterative solution is carried out, the kth cutting mode is generatedIts objective function and constraint conditions can be written as follows:
in the formula (3), the compound represented by the formula (I),representing a cutting pattern currently to be solved byAsThe index of (a) is determined,a set of all possible cutting patterns is represented,a matrix representing m rows and 1 columns, which is a column variable vector matrix, such as:representing the cutting pattern currently required to be solvedIn which the elementsIs shown in cutting modeThe number of the i-th workpieces,(ii) a Wherein,indicating that in the current iteration, the cutting mode is to be usedFixing a decision variable corresponding to a kth column (in a corresponding matrix A) as a constant parameter, wherein the constant parameter is equal to a value of the decision variable corresponding to the kth column obtained by previous iteration solution;representing solution to cutting patterns(corresponding to the k-th column in matrix A), by matrix-encoding the column vectorThe kth element of (a) is forced to be 0; in the same way, the method for preparing the composite material,representing solution to cutting patternsBy fitting a matrixThe k-th row of the matrix A is obtained by forcing the elements of the k-th row to be 0 elements, the function of the matrix A is to replace the matrix A, repeated and complicated matrix change of the matrix A can be avoided, and only the previous iteration solution needs to be providedAndthen the process is carried out;representing a column vector variable matrixParticipating in a matrix expression after the initial change of the matrix; to restrainThe decision variable corresponding to the k column in the decision variable matrix is represented as a fixed valueBesides, all the other decision variables are constrained to be greater than or equal to zero; in the constraintIn (1),representing a 1-row-m-column matrix of row vectors, the elements of which represent the dimensions of m different workpieces, e.g.Size of the ith workpiece;Is shown in cutting modeWherein the sum of the product of the size of the different workpieces multiplied by the number of the respective corresponding different workpieces is less than or equal to the length of the raw material;Variable matrix representing unknown column vectorsAfter the participation matrix A is subjected to the initial row change, the expression of the k row and k column elements in the matrix A has the value equal to 1, whereinIs a matrix with 1 row and m columns,is obtained by combining a matrixLine vector constructed by the k-th line of (1)A matrix; 0 is less than or equal toa p ≤d Representing a column vector variable matrixAll the variable values are constrained to be greater than or equal to zero and must be less than or equal to the required number corresponding to each type of workpiece, the values of which,Represents a non-negative integer; objective functionInIs a 1-row m-column matrix with all 1 elements;
note that: when the iteration number k is more than or equal to m +1, each cutting mode is generatedReplace an old column, the specific replacement rule: m +1 cutting modeSubstitution of the 1 st column, m +2 th cutting pattern in matrix ASubstitute column 2 in matrix A, and so on, 2m cutting patternsReplace the mth column in matrix a; note also that after matrix a is subjected to the change of the initial rows of the matrix, each column in a is not a cutting pattern, and only after the solution of all cutting patterns is completed, the cutting patterns are combined into each column in matrix a, where each column in a represents one cutting pattern.
Preferably, the step S4 specifically includes the following steps:
step S410, solving the new mathematical model by using a Gurobi optimizer;
step S420, passing,Andupdating a third objective function and a third constraint in the new mathematical model, wherein,Andcan pass through the initial identity matrixObtaining; solved by means of Gurobi optimizer to obtainAndat this time, the first cutting modeIs solved and usedAndupdating the first column of the matrix A, performing the initial row change on the updated matrix A, and simultaneously performing the initial unit matrixSum matrixMaking the same initial row change as the matrix A to obtain an updated matrixThe latter matrixThen according to the matrixTo obtain a matrixWhile obtaining the updated matrixThe latter matrixAccording to a matrixTo obtain a matrix(ii) a In the same way, use,AndupdatingAfter 1 iteration, the third objective function and the third constraint condition corresponding to the new mathematical model are determined, and at this time,unknown, needs to be solved, whereinBy passingObtaining;
step S430, performing k iterations, k =2.. K, on the new mathematical model by means of a Gurobi optimizer, calculatingAnd: will be provided withAndas the kth column of matrix a, where,can pass through the matrixObtaining, and then performing an initial row change on the matrix A, and simultaneously performing the matrix change on the matrix ASum matrixMaking the same initial row change as the matrix A to obtain the matrixThen according to the matrixObtaining a matrixWhile obtaining the updated matrixThe latter matrixThen according to the matrixObtaining a matrixIn combination with each other,Andand updating a third objective function and a third constraint condition corresponding to the new mathematical model after the iteration is performed for k times, wherein at the moment,unknown, needs to be solved, whereinIs obtained by combining a matrixA row vector matrix constructed by the elements of the (k + 1) th row;
step S440, the step S430 is circulated until the iteration times k = beta m, the value of m is equal to the number of different workpiece types to be blanked, beta represents the coefficient of iteration, and beta =1or2; and after the iteration is carried out for k times, a feasible solution of a new mathematical model formed by a third constraint condition and a third objective function is obtained.
Preferably, the initial identity matrix in step S420The matrix a before the iteration starts is specifically:
preferably, the k iterations of the calculation in step S430 are solved by using a Gurobi optimizer.
Preferably, the step S5 specifically includes the following steps:
step S510, an initial feasible solution is that each column in a matrix A is formed by m cutting modes generated by the solution, a decision variable corresponding to each column (each cutting mode) in the matrix A is established according to the matrix A, and an initial iteration base matrix B of a CG algorithm is established;
step S520, a new mathematical model (VTC model) is provided, iterative training is carried out on the VTC model by means of a Gurobi optimizer until the iterative times reach a set value, an initial feasible solution is obtained, and an initial iteration base matrix B is constructed;
and S530, based on the initial iteration base matrix B, carrying out iteration training on the initial iteration base matrix B by utilizing a CG algorithm until the value of the second objective function is not reduced any more, obtaining an optimal relaxation solution, comparing the value of the sum of the optimal decision variables with the value of the sum of the decision variables in the step S4, selecting the decision variable generated by the party with the minimum sum as a final decision variable, wherein the corresponding blanking layout scheme is the final raw material blanking layout scheme, and if the optimal relaxation solution is not completely a non-negative integer, entering the step S6.
The invention has the beneficial effects that:
the method comprises two different stages which are respectively a first stage and a second stage, wherein the first stage is a VTC algorithm solving stage in a step S4, the second stage is a CG algorithm solving stage in a step S5, a VTCCG algorithm is formed by a CG algorithm improved based on a VTC new model, the number of cutting and layout schemes obtained through the VTCCG algorithm is small, the cutting and layout schemes are superior to the existing similar solving algorithm, and the solving quality of a column generation accurate algorithm can be well improved when the blanking problem with small specification and low requirement is solved; meanwhile, the solving result of the method has the advantages of saving more materials, saving cost and reducing the number of cutting modes.
Drawings
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a layout plan for solving example 1 according to the present invention;
figure 3 is a layout plan for the creative door and window blanking software solution example 1.
Detailed Description
The invention is further described in detail below with reference to the drawings and specific embodiments.
Referring to fig. 1, an embodiment of the present application provides a method for solving a raw material blanking layout, including the following steps:
s1, determining the length of raw materials, the number of each blanking workpiece and the size of each blanking workpiece;
s2, establishing an original mathematical model according to the length of the raw materials, the number of each blanking workpiece and the size of each blanking workpiece, and performing matrixing on the original mathematical model to obtain a simplified mathematical model;
s3, establishing an initial identity matrix, introducing constant parameters, and performing initial row change on the simplified mathematical model by using the initial identity matrix and the constant parameters to obtain a new mathematical model;
s4, solving the new mathematical model (called VTC model) by means of a Gurobi optimizer to obtain an initial feasible solution of the new mathematical model, wherein the initial feasible solution comprises a blanking layout scheme and decision variables, and the decision variables refer to variables corresponding to different layout schemes, namely the number of raw materials used corresponding to each layout scheme;
s5, continuously solving on the basis of an initial feasible solution by utilizing a CG algorithm to obtain an optimal relaxation solution, wherein the optimal relaxation solution refers to an optimal decision variable, if the optimal relaxation solution is all non-negative integers, the sum value of the optimal decision variable is compared with the sum value of the decision variables in the step S4, the decision variable generated by the party with the minimum sum is selected as a final decision variable, the corresponding blanking layout scheme is a final raw material blanking layout scheme, and if the optimal relaxation solution is not all non-negative integers, the step S6 is entered;
and S6, rounding the optimal relaxation solution obtained in the step S5 by means of a heuristic algorithm to obtain a non-negative integer solution, comparing the sum value of the optimal decision variables with the sum value of the decision variables in the step S4, selecting the decision variable generated by the party with the minimum sum as a final decision variable, and taking the corresponding blanking layout scheme as the final raw material blanking layout scheme.
In this embodiment, the original mathematical model in step S2 is:
wherein,representing a decision variable, in particular representing the quantity of raw material used in the j cutting mode;the number of ith products to be blanked in the jth cutting mode is represented;the total quantity of the i type workpieces to be blanked is represented;the dimension of the required ith workpiece to be blanked is represented; l represents the length of the raw material;representing a non-negative integer.
In this embodiment, the simplified mathematical model in step S2 is specifically:
wherein,a matrix with 1 row and n columns is represented; solution vector matrixThe representation is a matrix of n rows and 1 column, the elements of which are decision variables whose values are constrained to be greater than or equal to zero and to be integers; a represents a matrix of the layout scheme (cutting pattern), and is a matrix of m rows and n columns () When all the cutting modes are solved, all the columns in the matrix A are formed by the generated cutting modes, each column represents one cutting mode, and before iteration starts, the cutting modes are an identity matrix with m rows and m columns;a column vector demand matrix representing m rows and 1 column, the elements of the matrix representing the required number of workpieces of different sizes, mThe number of workpiece types required is equal to m;a matrix representing m rows and 1 columns, which is a column variable vector matrix, in which the values of the elements are non-negative integers,representing a cutting pattern currently to be solved byAsThe index of (a) is determined,represents all possible cutting pattern sets, such as:a cutting pattern representing the current iteration needs to be solvedIn which the elementsIs shown in cutting modeThe number of the i-th workpieces,;representing a row vector matrix of 1 row and m columns, the elements of which represent the dimensions of m different workpieces, e.g.Size of the ith workpiece;Is shown in cutting modeWherein the sum of the product of the size of the different workpieces multiplied by the number of the respective corresponding different workpieces is less than or equal to the length of the raw material;In (1)0A column vector matrix representing m rows and 1 columns of all 0 elements, wherein the matrixAll the variable values are constrained to be greater than or equal to zero and must be less than or equal to the required quantity and value corresponding to each type of workpiece,Representing a non-negative integer.
In this embodiment, the step S3 specifically includes the following steps:
step S310, establishing an initial identity matrix, and introducing a constant parameterIn each iteration process, fixing a decision variable corresponding to a kth column (unknown column) as a constant parameter, wherein the constant parameter is equal to a value of the decision variable corresponding to the kth column obtained by the previous iteration solution; at iterationAt the beginning, get,Representing a column vector demand matrixd The value of the 1 st element in (c), corresponding to the required number of first workpieces,the decision variables corresponding to the 1 st column in the layout scheme matrix A are also represented corresponding to the first cutting modeA decision variable of (c);
and step S320, carrying out primary variation on the simplified mathematical model by using the constant parameters to obtain a new mathematical model.
In this embodiment, the new mathematical model in step S320 is specifically:
assuming that the number of decision variables is m and the number of different workpiece types is m, each iteration generates a new column, which also represents a new cutting patternWhen iterative solution is carried out, the kth cutting mode is generatedIts objective function and constraint conditions can be written as follows:
in the formula (3), the compound represented by the formula (I),representing a cutting pattern currently to be solved byAsThe index of (a) is determined,a set of all possible cutting patterns is represented,a matrix representing m rows and 1 columns, which is a column variable vector matrix, such as:representing cutting patterns currently required to be solvedIn which the elementsIs shown in cutting modeThe number of the (i) th workpieces,(ii) a Wherein,indicating that in the current iteration, the cutting mode is to be usedFixing a decision variable corresponding to a kth column (in a corresponding matrix A) as a constant parameter, wherein the constant parameter is equal to a value of the decision variable corresponding to the kth column obtained by previous iteration solution;representing solution to cutting patterns(corresponding to the k-th column in matrix A), byMatrix the column vectorThe kth element of (a) is forced to be 0; in the same way, the method for preparing the composite material,representing solution to cutting patternsBy combining the matricesThe k-th row of the matrix A is obtained by forcing the elements of the k-th row to be 0 elements, the function of the matrix A is to replace the matrix A, repeated and complicated matrix change of the matrix A can be avoided, and only the previous iteration solution needs to be providedAndthen the process is carried out;representing a column vector variable matrixParticipating in a matrix expression after the initial change of the matrix; to restrainThe decision variable corresponding to the k column in the decision variable matrix is represented as a fixed valueBesides, all the other decision variables are constrained to be larger than or equal to zero; in the constraintIn (1),representing a row vector matrix of 1 row and m columns, the elements of which represent the dimensions of m different workpieces, e.g.Size of the ith workpiece;Is shown in cutting modeWherein the sum of the product of the size of the different workpieces multiplied by the number of the respective corresponding different workpieces is less than or equal to the length of the raw material;Variable matrix representing unknown column vectorsAfter the participation matrix A is subjected to the initial row change, the expression of the k-th row and k-th column element in the matrix A has the value equal to 1, whereinIs a matrix with 1 row and m columns,is obtained by combining a matrixThe row vector matrix constructed by the k line of (1), wherein 0 is less than or equal toa p ≤d Representing a column vector variable matrixAll the variable values are constrained to be greater than or equal to zero and must be less than or equal to the required number corresponding to each type of workpiece, the values of which,Represents a non-negative integer; objective functionInIs a 1-row m-column matrix with all 1 elements;
note that: when the iteration number k is more than or equal to m +1, each cutting mode is generatedReplace an old column, the specific replacement rule: m +1 cutting modeSubstitution of the 1 st column, m +2 th cutting pattern in matrix ASubstitute column 2 in matrix A, and so on, 2m cutting patternsReplace the mth column in matrix a; note also that after the matrix a is subjected to the matrix elementary row change, each column in a cannot cut the pattern, and only after the solution of all the cutting patterns is completed, the cutting patterns are combined into each column in the matrix a, where each column in a represents one cutting pattern.
In this embodiment, the step S4 specifically includes the following steps:
step S410, solving the new mathematical model by using a Gurobi optimizer;
step S420, passing,Andupdating a third objective function and a third constraint in the new mathematical model, wherein,Andcan pass through the initial identity matrixObtaining; solved by means of a Gurobi optimizerAndat this time, the first cutting modeIs solved and usedAndupdating the first column of the matrix A, performing the initial row change on the updated matrix A, and simultaneously performing the initial unit matrixSum matrixMaking the same initial row change as the matrix A to obtain an updated matrixThe latter matrixThen according to the matrixTo obtain a matrixWhile obtaining the updated matrixThe latter matrixAccording to a matrixTo obtain a matrix(ii) a In the same way, use,Andand updating a third objective function and a third constraint condition corresponding to the new mathematical model after 1 iteration, wherein at the moment,unknown, needs to be solved, whereinBy passingObtaining;
step S430, performing k iterations, k =2.. K, on the new mathematical model by means of a Gurobi optimizer, calculatingAnd: will be provided withAndas the kth column of matrix a, where,can pass through the matrixObtaining, and then performing an initial row change on the matrix A, and simultaneously performing the matrix change on the matrix ASum matrixMaking the same initial row change as the matrix A to obtain the matrixThen according to the matrixObtaining a matrixWhile obtaining the updated matrixThe latter matrixThen obtaining the matrix according to the matrixIn combination with each other,Andand updating a third objective function and a third constraint condition corresponding to the new mathematical model after the iteration is performed for k times, wherein at the moment,unknown, needs to be solved, whereinBy passingObtaining;
step 440, the step 430 is circulated until the iteration times k = beta m, the value of m is equal to the number of different workpiece types to be blanked, beta represents the iteration coefficient, and beta =1or2; and after the iteration is carried out for k times, a feasible solution of a new mathematical model formed by a third constraint condition and a third objective function is obtained.
In this embodiment, the initial identity matrix in step S420The matrix a before the iteration starts is specifically:
in this embodiment, the k iterations of the calculation in step S430 are solved by using a Gurobi optimizer.
The steps S410 to S440 are the solving phase of the VTC new model, which is illustrated by a simple example below.
Assuming that the order requires the blanking of 4 different types of workpieces, the original material lengthL =300,Column vector demand matrix(ii) a The size of 4 workpieces is required,Is a row vector matrix.Is a column vector variable matrix that represents a cutting pattern being solved for. Is provided witht= (1,1,1,1) is a matrix with row 1 and column 4. Before the iteration starts, the following two matrices are initialized:
establishing a matrix type new mathematical model:
constraint conditions are as follows:
at this point, we can obtain:
start of 1 st iteration (1 st cutting pattern generation):
according to equation (3), we obtain the objective optimization problem as follows:
constraint conditions are as follows:
to simplify the repetitive tedious first row change of the matrix, we will change the matrixThe first column in (a) is expressed as follows:
by the formula (7)We can obtainBy passingTo obtainThus, equations (18) through (20) can be converted into:
we now substitute equations (18) through (20) into equation (12), so that the objective optimization problem can be written as:
we can now convert equations (24) to (27) into the following matrix form:
solving the above optimization problem with the Gurobi optimizer we can get:
therefore, we can obtain the 1 st column in the cutting mode update matrix A obtained by solvingThe following were used:
start of iteration 2 (generation of cutting pattern 2):
also, according to equation (31), we obtain the objective optimization problem as follows:
constraint conditions are as follows:
now, we perform the matrix elementary row change on equation (33), and at the same time, the matrix in equation (7)Making the same matrix elementary line change as formula (33) to obtainThe following expressions (37) and (38), respectively:
in the same way, byOrder toBy the formula (37), letThus, the equations (39) to (41) can be written in the form of a matrix as follows:
therefore, the above objective optimization problem can be updated to the form:
constraint conditions are as follows:
the constraints (45) to (48) can be written in the form of a matrix as follows:
will matrixRow 2 of (a) constructs a row vector matrixThus, the equation constraint (49) can be written as follows:
solving the above optimization problem with the Gurobi optimizer we can get:
therefore, the 2 nd cutting pattern is solved and the 2 nd column in the matrix A is updated with the cutting pattern to obtainAs follows:
start of 3 rd iteration (3 rd cutting pattern generation):
at iteration 3, the objective optimization problem is updated as follows:
constraint conditions are as follows:
in this case, although equation (56) is changed to equation (60) by performing an initial row change, we can choose to perform an initial row change directly on column 2 in equation (37) in order to simplify the repetitive complicated matrix change and reduce the calculation time of the matrix change, and this column can be passed throughAndobtained because of the 2 nd cutting modeHas been solved by iteration 2. Thus, in particular, we are directed toAndcarrying out the primary variation to obtainIs updated toThe following expressions (60) and (61) are used:
in the same way, byCan obtain,Can be obtained by the formula (60), and then byCan obtainTherefore, equations (62) to (64) can be written as:
for this iteration, the objective function can be written as follows:
constraints (68) through (71) can be written as follows:
will matrixLine 3 in (a) is converted into a row vector matrixThus, the equation constraint (72) can be written as:
the above optimization problem is solved by means of a Gurobi optimizer, so that we obtain the result of the 3 rd iteration as follows:
note that: result of iteration 2With the result of iteration 3Are identical to each other, andandare identical to each otherTherefore, the temperature of the molten steel is controlled,as follows:
the 4 th iteration starts (4 th cutting pattern generation):
the objective optimization problem for the 4 th iteration is updated as follows:
constraint conditions are as follows:
likewise, as in iteration 3, directly onAndmaking an initial change while obtainingIs updated toIt is made as follows:
observation of (83) formulaAnd in (84) formulaThe following equation holds true for the relationship of (1):
therefore, variables will be decidedIs fixed toThereafter, the remaining decision variables and column variablesThe relationship between them is as follows:
by means of a matrixCan obtainBy the same tokenCan obtainThus, equations (86) through (88) are written as:
thus, the objective optimization problem can be written as:
constraint conditions are as follows:
at this time, the constraints (92) to (95) can be written in the form of a matrix as follows:
will matrixLine 4 in (a) is converted into a row vector matrixThus, the equation constraint (96) can be written as follows:
solving the above optimization problem with the Gurobi optimizer, the result of the 4 th iteration (4 th cutting mode) can be obtained as follows:
finally, we write the solution result in the form of a matrix as follows:
This case shows the specific steps of solving the new mathematical model established by the present invention, since the 4 th iteration has reached the optimal integer solution (the optimal relaxed solution can be obtained by the column generation exact algorithm to be 5.9, so the lower bound of the optimal integer solution is 6), and the decision variable value has no decimal, so there is no need to round the decision variable. The above case only shows the solving step of the iteration number k = β m (β = 1), and when the iteration number k = β m (β = 1), the solving step is the same, and only the cutting pattern generated by the m +1 th iteration is required to replace the 1 st column in the matrix a, and so on until the iteration number k =2 m.
In each iteration process, the decision variable corresponding to the current solution column (cutting mode) is set as a constant, and the value of the constant is equal to the value of the decision variable corresponding to the column after the previous iteration. Therefore, all the other decision variables and the unknown column vector variable matrix needing to be solved currently(cutting mode)) A distinct linear relationship is established.
In this embodiment, the step S5 specifically includes the following steps:
step S510, an initial feasible solution is that each column in a matrix A is formed by m cutting modes generated by the solution, a decision variable corresponding to each column (each cutting mode) in the matrix A is established according to the matrix A, and an initial iteration base matrix B of a CG algorithm is established;
step S520, a new mathematical model (VTC model) is provided, iterative training is carried out on the VTC model by means of a Gurobi optimizer until the iterative times reach a set value, an initial feasible solution is obtained, and an initial iteration base matrix B is constructed;
and S530, performing iterative training on the initial iteration base matrix B by using a CG algorithm based on the initial iteration base matrix B until the value of the second objective function is not reduced any more to obtain an optimal relaxation solution, comparing the value of the sum of the optimal decision variables with the value of the sum of the decision variables in the step S4, selecting the decision variable generated by the party with the minimum sum as a final decision variable, wherein the corresponding blanking layout scheme is the final raw material blanking layout scheme, and if the optimal relaxation solution is not a non-negative integer, entering the step S6.
The algorithm provided by the invention is tested and applied in a certain company in Hunan, aiming at the test of a certain batch of zero single engineering data (the length L =6000cm of the aluminum material as a raw material, and the rest data are shown in Table 4), different algorithms and professional commercial software are adopted for solving, and the results are shown in the following table 1:
introduction of related solution algorithms and commercial software:
creating a door and window blanking software: the creative door and window blanking software is developed by a certain limited company in China, which is a well-known professional door and window design and management software developer in China.
Gurobi software: gurobi is a new generation of large-scale optimizer developed by the United states. The method is widely applied to multiple fields of finance, logistics, manufacturing, aviation, petroleum and petrochemical industry, commercial service and the like, provides a solid foundation for intelligent decision making, and becomes a core optimization engine of thousands of mature application systems.
CG: classical column generation exact algorithms, proposed by Gilmore P, gorory RE in 1961, which until now have been used as core algorithms by almost all relevant optimization optimizers or professional commercial software.
FFD and Greedy are two mainstream heuristic approximate solution algorithms at present, particularly the Greedy algorithm is the most advanced approximate solution algorithm for calculating the cutting optimization problem at present.
According to literature investigations: most of other related solving algorithms round the relaxation solution generated based on CG to obtain an integer solution of an optimization problem, and belong to research on a strategy level. Therefore, the invention provides the VTCCG algorithm for improving CG, which has theoretical significance and practical application value.
Table 1 test results of field data
From the results shown in table 1, it can be seen that: compared with two mainstream heuristic algorithms and professional well-known commercial software-creation, the number of different stock layout schemes generated by the algorithm (VTCCG) provided by the invention is reduced obviously on the premise of ensuring the optimal objective function value Obj (the total amount of raw material consumption is minimum). From the aspect of practical engineering application, the number of different stock layout schemes is directly related to the cutting efficiency. Since the position coordinates of the workpiece to be cut, i.e. the position of the cutting tool, must be readjusted each time a different cutting pattern is changed, the number of different patterns is directly related to the time cost of the cutting process of the enterprise product.
To further verify the validity of the algorithm proposed by the present invention, a common data set generated by an authoritative random data generator was used for testing, and the parameters were consistent except for the different length parameters of the raw material (raw material parameter L =1500 in tables 2 and 3), i.e. the data characteristics were consistent with the common data set (same as the parameters shown in the literature). For space reasons, only the data of the 1 st and 13 th categories in the public data set are tested (see the literature: cerqueira, G., aguiar, S.S., marques, M. (2021). Modified greedy theoretical for the one-dimensional viewing storage protocol, journal of composite Optimization, 1-18.), and the solution results of the first 13 cases are shown in Table 2 and Table 3:
table 2 partial simulation test results for common data set
TABLE 3 partial simulation test results for common data set
As can be seen from the results shown in tables 2 and 3: the algorithm provided by the invention obtains a relatively ideal integer solution, and the generated different layout schemes are least in quantity and are greatly less than the column generation algorithm and the other two famous heuristic algorithms, thereby being beneficial to simplifying the cutting process and improving the production efficiency of enterprises.
The invention is explained by selecting a common casement window in the market at present, the specific blanking data is shown in table 4 in detail, table 4 comprises 20 examples, the blanking data of the examples in table 1 is from table 4, and the blanking data of the examples in tables 2 and 3 is from a common data set-simulation test data (see literature).
Table 4, blanking data:
in order to complete the processing of door and window products, enterprises need to cut parts with different sizes and different quantities from standard lengths of 6000cm of raw materials so as to complete the manufacture of door and window products. However, the number of different cutting patterns is directly related to the station coordinate setting of the workpiece to be cut, and the more the number of patterns, the more the number of times the station coordinate setting. The study of the literature reveals that: on the mathematical theory level, for solving an integer solution of the one-dimensional cutting problem, the minimization of the total amount of raw material consumption and the number of times of setting the station coordinates (the number of different stock layout schemes) are a pair of conflicting indexes, that is, when the primary target and the auxiliary target are simultaneously used as the target optimization (the dual-target optimization problem), the smaller the number of different stock layout schemes is, the more the total amount of raw material consumption is. For the research of a single-target optimization problem (the optimization problem researched by the invention), most of the existing solving algorithms are difficult to obtain satisfactory stock layout schemes (the smaller the number of different stock layout schemes is, the better the number is) under the condition of ensuring the optimal target. Compared with other existing classical algorithms, the algorithm provided by the invention can better solve the problem.
Case comparison effect display: in table 1, the layout of example 1 was solved using the algorithm of the present invention and the creative commercial door and window blanking software as shown in figures 2 and 3, respectively, below:
in fig. 2, for scenario 1: the total cutting length is 5828cm, and 4 aluminum tubes need to be cut; for scheme 2: the total cutting length is 5949cm, and 8 aluminum tubes need to be cut; for scheme 3: the total cutting length is 5896cm, and 4 aluminum tubes need to be cut; for scheme 4: the total cutting length is 5976cm, and 4 aluminum tubes need to be cut; the cutting is carried out according to the 4 different stock layout schemes, and the required quantity of different parts in example 1 can be met.
In fig. 3, for scenario 1: the total cutting length is 5965cm, and 4 aluminum pipes need to be cut; for scheme 2: the total cutting length is 5658cm, and 1 aluminum tube needs to be cut; for scheme 3: the total cutting length is 5975cm, and 6 aluminum tubes need to be cut; for scheme 4: the total cutting length is 5965cm, and 3 aluminum pipes need to be cut; for scheme 5: the total cutting length is 5973cm, and 3 aluminum tubes need to be cut; for scheme 6: the total cutting length is 5343cm, and 1 aluminum tube needs to be cut; for scheme 7: the total cutting length is 5964cm, and 1 aluminum pipe needs to be cut; for scheme 8: the total cutting length is 5949cm, and 1 aluminum pipe needs to be cut; the cutting is carried out according to the above 8 different stock layout schemes, so that the required quantity of different parts in example 1 can be met.
According to the display effect of fig. 2 and 3, it can be seen that: compared with domestic famous professional door and window blanking software (creative), the algorithm (VTCCG) provided by the invention has the advantages that the types of generated stock layout schemes are fewer, namely the number of different blanking stock layout schemes is reduced by 50%, and the total number of raw materials consumed by the two is 20. This is equivalent to cutting station coordinate setting number of times reduces half, can save the adjustment time of station coordinate greatly, is favorable to promoting the production efficiency of enterprise.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present invention, and all such changes or substitutions are included in the scope of the present invention. Moreover, the technical solutions in the embodiments of the present invention may be combined with each other, but it is necessary to be able to be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent, and is not within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (6)
1. A method for solving blanking and stock layout of raw materials is characterized by comprising the following steps: the method comprises the following steps:
s1, determining the length of raw materials, the number of each blanking workpiece and the size of each blanking workpiece;
s2, establishing an original mathematical model according to the length of the raw materials, the number of each blanking workpiece and the size of each blanking workpiece, and performing matrixing on the original mathematical model to obtain a simplified mathematical model;
s3, establishing an initial identity matrix, introducing constant parameters, and performing initial row change on the simplified mathematical model by using the initial identity matrix and the constant parameters to obtain a new mathematical model;
s4, solving the new mathematical model by means of a Gurobi optimizer to obtain an initial feasible solution of the new mathematical model, wherein the initial feasible solution comprises blanking layout schemes and decision variables, and the decision variables refer to variables corresponding to different layout schemes, namely the number of raw materials used corresponding to each layout scheme;
s5, continuously solving on the basis of an initial feasible solution by utilizing a CG algorithm to obtain an optimal relaxation solution, wherein the optimal relaxation solution refers to an optimal decision variable, if the optimal relaxation solution is all non-negative integers, the sum value of the optimal decision variable is compared with the sum value of the decision variables in the step S4, the decision variable generated by the party with the minimum sum is selected as a final decision variable, the corresponding blanking layout scheme is a final raw material blanking layout scheme, and if the optimal relaxation solution is not all non-negative integers, the step S6 is entered;
s6, rounding the optimal relaxation solution obtained in the step S5 by means of a heuristic algorithm to obtain a non-negative integer solution, comparing the sum value of the optimal decision variables with the sum value of the decision variables in the step S4, selecting the decision variable generated by the party with the minimum sum as a final decision variable, and setting the corresponding blanking layout scheme as a final raw material blanking layout scheme;
the original mathematical model in step S2 is:
wherein,representing a decision variable, in particular representing the quantity of raw material used in the j cutting mode;the number of ith products to be blanked in the jth cutting mode is represented;the total number of workpieces to be blanked is represented;the size of the required ith workpiece to be blanked is largeSmall; l represents the length of the raw material;represents a non-negative integer;
the simplified mathematical model in the step S2 is specifically:
wherein,a matrix with 1 row and n columns is represented; solution vector matrixThe representation is a matrix of n rows and 1 column, the elements of which are decision variables whose values are constrained to be greater than or equal to zero and to be integers; a represents a matrix of the layout scheme, is a matrix of m rows and n columns,when all the cutting modes are solved, all the columns in the matrix A are formed by the generated cutting modes, each column represents one cutting mode, and before iteration starts, the cutting modes are an identity matrix with m rows and m columns;a column vector demand matrix representing m rows and 1 column, wherein the element values of the matrix represent the required quantity of workpieces with different sizes, and m represents the quantity of the required workpiece types;a matrix representing m rows and 1 columns, which is a column matrix of column vector variables, in which the values of the elements are non-negative integers,representing a cutting pattern currently to be solved byAsThe index of (a) is determined,a set of all possible cutting patterns is represented,a cut representing the current iteration needs to be solvedMode(s)In which the elementsIs shown in cutting modeThe number of the i-th workpieces,;a row vector matrix of 1 row and m columns is represented, and elements of the matrix represent the sizes of m different workpieces;is shown in cutting modeWherein the sum of the product of the size of the different workpieces multiplied by the number of the respective corresponding different workpieces is less than or equal to the length of the raw material;In (1)0A column vector matrix representing m rows and 1 columns of all 0 elements, wherein the matrixAll the variable values are constrained to be greater than or equal to zero and must be less than or equal to the required number corresponding to each type of workpiece, the values of which;
The new mathematical model in step S3 is specifically:
assuming that the number of decision variables is m and the number of different workpiece types is m, each iteration generates a new column, which also represents a new cutting patternWhen iterative solution is carried out, the kth cutting mode is generatedThen, the corresponding third objective function and third constraint may be written as follows:
in the formula (3), the compound represented by the formula (I),indicating that in the current iteration, the cutting mode is to be usedFixing the corresponding decision variable as a constant parameter, wherein the constant parameter is equal to the value of the corresponding decision variable of the kth column obtained by the previous iteration solution;representing solution to cutting patternsBy matrixing the column vectorsThe kth element of (a) is forced to be 0; in the same way, the method for preparing the composite material,representing solution to cutting patternsBy combining the matricesThe element of the kth line of (1) is forced to be 0 element;representing a column vector variable matrixParticipating in a matrix expression after the initial change of the matrix;the decision variable corresponding to the k column in the decision variable matrix is represented as a fixed valueBesides, all the other decision variables are constrained to be larger than or equal to zero;variable matrix representing unknown column vectorsAfter the participation matrix A is subjected to the initial row change, the expression of the k row and k column elements in the matrix A has the value equal to 1, whereinIs a matrix with 1 row and m columns,by combining matricesA row vector matrix constructed in the k-th row of (a); objective functionInIs a 1 row m column matrix with all 1 elements.
2. The method according to claim 1, wherein the step S3 specifically includes the steps of:
step S310, establishing an initial identity matrix, and introducing a constant parameterIn each iteration process, fixing the decision variable corresponding to the kth column as a constant parameter, wherein the constant parameter is equal to the value of the decision variable corresponding to the kth column obtained by the previous iteration solution; at the beginning of the iteration, take,Representing a column vector demand matrixd The value of the 1 st element in (c), corresponding to the required number of first workpieces,the decision variables corresponding to the 1 st column in the layout scheme matrix A are also represented corresponding to the first cutting modeA decision variable of (c);
and step S320, carrying out primary variation on the simplified mathematical model by using the constant parameters to obtain a new mathematical model.
3. The method according to claim 1, wherein the step S4 specifically includes the steps of:
step S410, solving the new mathematical model by using a Gurobi optimizer;
step S420, passing、Andupdating a third objective function and a third constraint in the new mathematical model, wherein,Andcan pass through the initial identity matrixObtaining; solved by means of Gurobi optimizer to obtainAndat this time, the first cutting modeIs solved and usedAndupdating the first column of the matrix A, performing the initial row change on the updated matrix A, and simultaneously performing the initial unit matrixSum matrixMaking the same initial row change as the matrix A to obtain an updated matrixThe latter matrixThen according to the matrixTo obtain a matrixWhile obtaining the updated matrixThe latter matrixAccording to a matrixTo obtain a matrix(ii) a In the same way, use,Andand updating a third objective function and a third constraint condition corresponding to the new mathematical model after 1 iteration, wherein at the moment,is unknown, whereinBy passingObtaining;
step S430, performing k iterations, k =2.. K, on the new mathematical model by means of a Gurobi optimizer, calculatingAnd: will be provided withAndas the kth column of matrix a, where,can pass through the matrixObtaining, and then performing an initial row change on the matrix A, and simultaneously performing the matrix change on the matrix ASum matrixMaking the same initial row change as the matrix A to obtain the matrixThen according to the matrixObtaining a matrixWhile obtaining the updated matrixThe latter matrixThen according to the matrixObtaining a matrixIn combination with each other、Andupdating a third objective function and a third constraint condition corresponding to the new mathematical model after iteration for k times;
step S440, the step S430 is circulated until the iteration times k = beta m, the value of m is equal to the number of different workpiece types to be blanked, beta represents the coefficient of iteration, and beta =1or2; and after the iteration is carried out for k times, a feasible solution of a new mathematical model formed by a third constraint condition and a third objective function is obtained.
5. the solution method according to claim 3, wherein the k iterations of the calculation in step S430 are solved by using a Gurobi optimizer.
6. The method according to claim 3, wherein the step S5 specifically comprises the steps of:
step S510, forming each row in a matrix A by the initial feasible solution, namely m cutting modes generated by the solution, establishing an initial iteration base matrix B of the CG algorithm according to the decision variables corresponding to each row in the matrix A;
step S520, a new mathematical model is provided, iterative training is carried out on the new mathematical model by means of a Gurobi optimizer until the number of iterations reaches a set value, an initial feasible solution is obtained, and an initial iteration base matrix B is constructed according to the initial feasible solution;
and S530, based on the initial iteration base matrix B, carrying out iteration training on the initial iteration base matrix B by utilizing a CG algorithm until the value of the second objective function is not reduced any more, obtaining an optimal relaxation solution, comparing the value of the sum of the optimal decision variables with the value of the sum of the decision variables in the step S4, selecting the decision variable generated by the party with the minimum sum as a final decision variable, wherein the corresponding blanking layout scheme is the final raw material blanking layout scheme, and if the optimal relaxation solution is not completely a non-negative integer, entering the step S6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211346050.6A CN115455341B (en) | 2022-10-31 | 2022-10-31 | Solving method for raw material blanking layout |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211346050.6A CN115455341B (en) | 2022-10-31 | 2022-10-31 | Solving method for raw material blanking layout |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115455341A CN115455341A (en) | 2022-12-09 |
CN115455341B true CN115455341B (en) | 2023-02-07 |
Family
ID=84310903
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211346050.6A Active CN115455341B (en) | 2022-10-31 | 2022-10-31 | Solving method for raw material blanking layout |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115455341B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116307047B (en) * | 2022-12-16 | 2023-10-17 | 中建八局第二建设有限公司 | Multi-raw-material one-dimensional blanking optimization method based on tabu search and half tensor product |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115034670A (en) * | 2022-06-30 | 2022-09-09 | 上海电力大学 | Micro-grid capacity optimization configuration method based on fuzzy scene clustering |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7376472B2 (en) * | 2002-09-11 | 2008-05-20 | Fisher-Rosemount Systems, Inc. | Integrated model predictive control and optimization within a process control system |
US7856052B2 (en) * | 2004-10-06 | 2010-12-21 | Broadcom Corp. | Method and system for low complexity conjugate gradient based equalization in a wireless system |
WO2017145086A1 (en) * | 2016-02-23 | 2017-08-31 | 1Qb Information Technologies Inc. | Method and system for solving the lagrangian dual of a binary polynomially constrained polynomial programming problem using a binary optimizer |
CN111008723B (en) * | 2019-09-24 | 2023-12-22 | 华北电力大学 | Optimization method for design of distributed energy PEV charging station |
CN112719632A (en) * | 2020-12-21 | 2021-04-30 | 北京航星机器制造有限公司 | Positioning cutting method and device and cutting equipment |
CN115018197B (en) * | 2022-07-01 | 2023-04-07 | 广东工业大学 | Secondary trepanning optimization method and system considering excess material utilization |
-
2022
- 2022-10-31 CN CN202211346050.6A patent/CN115455341B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115034670A (en) * | 2022-06-30 | 2022-09-09 | 上海电力大学 | Micro-grid capacity optimization configuration method based on fuzzy scene clustering |
Also Published As
Publication number | Publication date |
---|---|
CN115455341A (en) | 2022-12-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106599519B (en) | The cut deal motherboard and slab collaborative design method and system of facing to manufacture order combination optimization | |
Morrison et al. | Short-run labor productivity in a dynamic model | |
Jiang et al. | Energy-efficient scheduling of flexible job shops with complex processes: A case study for the aerospace industry complex components in China | |
CN113159383B (en) | Manufacturing resource reconstruction scheduling method and system for multi-machine cooperation processing workshop | |
Madani et al. | Computationally efficient MIP formulation and algorithms for European day-ahead electricity market auctions | |
CN109446185B (en) | Collaborative filtering missing data processing method based on user clustering | |
CN115455341B (en) | Solving method for raw material blanking layout | |
Allahverdi et al. | Two-stage assembly scheduling problem for minimizing total tardiness with setup times | |
Xiao et al. | China’s industrial structure upgrade in the “New Normal”: Empirical test and determinants | |
Huang | A mean field capital accumulation game with HARA utility | |
Wang et al. | Optimized skill configuration for the seru production system under an uncertain demand | |
CN114841106B (en) | Integrated circuit optimization method and system based on rule-guided genetic algorithm | |
CN115809810A (en) | Equipment transformation model selection method based on low-carbon economy and terminal | |
Xue et al. | A multi-objective discrete differential evolution algorithm for energy-efficient two-stage flow shop scheduling under time-of-use electricity tariffs | |
Jiang et al. | Future growth pattern projections under shared socioeconomic pathways: A municipal city bottom-up aggregated study based on a localised scenario and population projections for China | |
Kim et al. | Scheduling 3D printers with multiple printing alternatives | |
CN111429979A (en) | Steel mechanical property prediction method based on support vector machine quantile regression | |
CN108805463B (en) | Production scheduling method supporting peak clipping type power demand response | |
CN113743806B (en) | Searching method for non-convex double-target optimal power flow global solution of power system | |
Wang et al. | Task package division method for the integrated scheduling framework of mixed model car-sequencing problem | |
CN112861371B (en) | Steel industry cloud production scheduling method based on edge computing | |
Wu et al. | Compound Grey‐Logistic Model and Its Application | |
CN104021437B (en) | A kind of hybrid differential evolution algorithm based on digraph Fitness analysis | |
CN108153254B (en) | A kind of part based on glowworm swarm algorithm is clustered to process route optimization method | |
Shi | Efficiency Bounds for Two‐Stage Production Systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |