CN115455341A - Solving method for raw material blanking layout - Google Patents
Solving method for raw material blanking layout Download PDFInfo
- Publication number
- CN115455341A CN115455341A CN202211346050.6A CN202211346050A CN115455341A CN 115455341 A CN115455341 A CN 115455341A CN 202211346050 A CN202211346050 A CN 202211346050A CN 115455341 A CN115455341 A CN 115455341A
- Authority
- CN
- China
- Prior art keywords
- matrix
- mathematical model
- solution
- column
- 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.)
- Granted
Links
- 239000002994 raw material Substances 0.000 title claims abstract description 54
- 238000000034 method Methods 0.000 title claims abstract description 35
- 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 138
- 239000013598 vector Substances 0.000 claims description 44
- 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
- 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
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003252 repetitive effect Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 239000002699 waste material 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
- 229910000831 Steel Inorganic materials 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
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 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
- 239000010959 steel 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)
- Theoretical Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Mathematical Physics (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Pure & Applied Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Operations Research (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Development Economics (AREA)
- Databases & Information Systems (AREA)
- Game Theory and Decision Science (AREA)
- Algebra (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (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
Reducing raw material consumption is one of the necessary means for realizing green manufacturing of enterprises, is about 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 a blanking problem, and the solving effect of the cutting problem is directly related to the raw material consumption and the production efficiency of a manufacturing enterprise. 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 blanking and stock layout of raw materials, which aims to solve the technical problem that the raw materials are easily wasted due to the 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 of raw material blanking stock 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 stock layout scheme and decision variables, and the decision variables refer to variables corresponding to different stock layout schemes, namely the number of raw materials used corresponding to each stock 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 of 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 layout patterns (cutting patterns), which 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 mode is an m-row and m-column unit matrix;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 stored in the database,means all ofSet of possible cutting patterns, such as:representing a cutting pattern that the current iteration needs to be solved forWherein 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; 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;In0Watch (A)A column vector matrix of m rows and 1 columns with 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 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 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.
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 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), 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 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 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 matrixA row vector matrix constructed in the k-th row of (1); 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, generating a cutting modeReplace 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,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 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 iterating for k times, wherein at the moment,unknown, needs to be solved for, 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 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 according to the initial feasible solution;
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 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 present invention will be described in further detail with reference to the accompanying 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 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, and setting the corresponding blanking layout scheme as a 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 size 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 mode is an m-row and m-column unit matrix;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 stored in the database,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,;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 number corresponding to each type of workpiece, the values of which,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 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.
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 solving 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 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 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 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 on the new mathematical model by means of a Gurobi optimizer, wherein k =2And: will be provided withAndas the kth column of matrix a, where,can pass through the matrixObtaining, then making an initial row change to the matrix A, and simultaneously making matrix change to 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 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.
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.
Step S410 to step S440, i.e. the solving phase of the VTC new model, a simple example is used hereinafter to illustrate the solving phase of the VTC new model.
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:
the 1 st iteration starts (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) toThus, 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 the same as, andandthe same, therefore,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 with iteration 3, directly onAndmaking an initial change while obtainingIs updated toIt is made as follows:
observation of (83) formulaAnd in (84)Can obtain the relationship ofThe following equation holds true:
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 obtainLikewise, byCan 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. In the above case, only the solving step of the iteration number k = β m (β = 1) is shown, and when the iteration number k = β m (β = 1), the solving step is the same, and only the 1 st column in the matrix a needs to be replaced by the cutting pattern generated by the m +1 th iteration, 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. Thus, all remaining decision variables are compared to the currentUnknown column vector variable matrix to be solved(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, 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 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 company Limited in China, and the company is a domestic famous professional door and window design and management software developer.
Gurobi software: gurobi is a new generation 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 a satisfactory stock layout scheme (the smaller the number of different stock layout schemes is, the better the number of different stock layout schemes 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 the domestic famous professional door and window blanking software (innovation), the algorithm (VTCCG) provided by the invention has the advantages that the types of the generated stock layout schemes are less, namely the number of different blanking stock layout schemes is reduced by 50%, and the total number of the 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.
While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the scope of the invention as defined in the appended claims. 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 (9)
1. A solution method for raw material blanking layout is characterized in that: 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 stock layout schemes and decision variables, and the decision variables refer to variables corresponding to different stock layout schemes, namely the number of raw materials used corresponding to each stock 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.
2. The solution method according to claim 1, wherein 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.
3. The method according to claim 2, wherein 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, 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 cutting pattern representing the current iteration needs to be solvedWherein the elementsIs shown in cutting modeThe number of the i-th workpieces,;a row vector matrix which is 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。
4. The method according to claim 3, wherein the step S3 specifically comprises 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.
5. The solution method according to claim 4, wherein 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 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 solving 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 from the k-th row of (1), an objective functionInIs a 1 row m column matrix with all 1 elements.
6. The method according to claim 5, wherein the step S4 specifically comprises 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 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 identity 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 thereinBy 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 update matrixRear 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.
8. the solution method according to claim 6, wherein the k iterations of the calculation in step S430 are solved by using a Gurobi optimizer.
9. The solution method according to claim 6, wherein the step S5 specifically includes 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 true CN115455341A (en) | 2022-12-09 |
CN115455341B 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116307047A (en) * | 2022-12-16 | 2023-06-23 | 中建八局第二建设有限公司 | Multi-raw-material one-dimensional blanking optimization method based on tabu search and half tensor product |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1975611A (en) * | 2002-09-11 | 2007-06-06 | 费舍-柔斯芒特系统股份有限公司 | Constraint and limit feasibility handling in a process control system optimizer |
US20080130732A1 (en) * | 2004-10-06 | 2008-06-05 | Mark Kent | Method and system for low complexity conjugate gradient based equalization in a wireless system |
EP3420466A1 (en) * | 2016-02-23 | 2019-01-02 | 1QB Information Technologies Inc. | Method and system for solving the lagrangian dual of a binary polynomially constrained polynomial programming problem using a binary optimizer |
CN111008723A (en) * | 2019-09-24 | 2020-04-14 | 华北电力大学 | 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 |
CN115018197A (en) * | 2022-07-01 | 2022-09-06 | 广东工业大学 | Secondary trepanning optimization method and system considering excess material utilization |
CN115034670A (en) * | 2022-06-30 | 2022-09-09 | 上海电力大学 | Micro-grid capacity optimization configuration method based on fuzzy scene clustering |
-
2022
- 2022-10-31 CN CN202211346050.6A patent/CN115455341B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1975611A (en) * | 2002-09-11 | 2007-06-06 | 费舍-柔斯芒特系统股份有限公司 | Constraint and limit feasibility handling in a process control system optimizer |
US20080130732A1 (en) * | 2004-10-06 | 2008-06-05 | Mark Kent | Method and system for low complexity conjugate gradient based equalization in a wireless system |
EP3420466A1 (en) * | 2016-02-23 | 2019-01-02 | 1QB Information Technologies Inc. | Method and system for solving the lagrangian dual of a binary polynomially constrained polynomial programming problem using a binary optimizer |
CN111008723A (en) * | 2019-09-24 | 2020-04-14 | 华北电力大学 | 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 |
CN115034670A (en) * | 2022-06-30 | 2022-09-09 | 上海电力大学 | Micro-grid capacity optimization configuration method based on fuzzy scene clustering |
CN115018197A (en) * | 2022-07-01 | 2022-09-06 | 广东工业大学 | Secondary trepanning optimization method and system considering excess material utilization |
Non-Patent Citations (2)
Title |
---|
肖海华等: "矩形件下料问题的创新线性规划布局方法研究与应用", 《中国知网》 * |
陈燕等: "考虑可用余料的下料问题解法研究", 《中国知网》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116307047A (en) * | 2022-12-16 | 2023-06-23 | 中建八局第二建设有限公司 | Multi-raw-material one-dimensional blanking optimization method based on tabu search and half tensor product |
CN116307047B (en) * | 2022-12-16 | 2023-10-17 | 中建八局第二建设有限公司 | Multi-raw-material one-dimensional blanking optimization method based on tabu search and half tensor product |
Also Published As
Publication number | Publication date |
---|---|
CN115455341B (en) | 2023-02-07 |
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 | |
Madani et al. | Computationally efficient MIP formulation and algorithms for European day-ahead electricity market auctions | |
Jiang et al. | Energy-efficient scheduling of flexible job shops with complex processes: A case study for the aerospace industry complex components in China | |
CN109446185B (en) | Collaborative filtering missing data processing method based on user clustering | |
CN115455341B (en) | Solving method for raw material blanking layout | |
CN110991755A (en) | Optimized blanking algorithm for multi-size plate rectangular piece considering machinability | |
Wallenius et al. | An approach to solving multiple criteria macroeconomic policy problems and an application | |
Huang | A mean field capital accumulation game with HARA utility | |
Liu et al. | A principal component analysis dominance mechanism based many-objective scheduling optimization | |
Los | Identification of strategic industries: a dynamic perspective | |
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 | |
Wickramasuriya | Properties of point forecast reconciliation approaches | |
Kim et al. | Scheduling 3D printers with multiple printing alternatives | |
CN108805463B (en) | Production scheduling method supporting peak clipping type power demand response | |
Miranda-Pinto et al. | Comparing dynamic multisector models | |
CN111429979A (en) | Steel mechanical property prediction method based on support vector machine quantile regression | |
Wang et al. | Efficient Data Reduction Strategies for Big Data and High-Dimensional LASSO Regressions | |
Wang et al. | Task package division method for the integrated scheduling framework of mixed model car-sequencing problem | |
Wu et al. | Compound Grey‐Logistic Model and Its Application | |
Cockshott | How feasible are Jack Ma's proposals for computerized planning? | |
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 | |
Kuzmanovic et al. | Construction of efficient conjoint experimental designs using MCON procedure | |
Sengupta et al. | Recent rural growth in China: the performance of the rural small-scale enterprises, 1980–86 |
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 |