This application claims priority to Chinese Patent Application No. 202210017717.1, filed with the Chinese Patent Office on Jan. 7, 2022 and entitled “Method and Device for Cross-Process Use of Cold/Hot-Rolled Excess Material, Medium, and Program Product”, which is incorporated herein by reference in its entirety.
This disclosure relates to the field of metallurgical automation technologies, and in particular, to a method and device for cross-process use of cold/hot-rolled excess material, medium and program product.
At present, non-commissioned materials that do not belong to any contract are generated in different processes of a steel production procedure. This kind of non-commissioned materials can be called contract excess materials. The contract excess materials are not materials with quality problems, but materials generated because of production organization. So, the contract excess materials can be reused. The contract excess materials can be classified into hot-rolled excess materials, cold-rolled excess materials, and slab excess materials according to different material forms. Cold-rolled excess materials can also be classified into multiple types, such as acid washing coil, hard rolling coil, and hot-dip galvanizing coil according to different cold rolling processes.
In order to reduce cost and increase efficiency, the contract excess materials may be matched to futures contracts to reuse the contract excess materials in iron and steel enterprises. This process can be called the use of excess materials. On the one hand, by doing so, the excess materials can be reduced. On the other hand, the production cycle of the futures contracts can be shortened, improving customer's satisfaction.
During the process of the use of excess materials, a cross-process use may be involved. What's more, a coupling relationship between a front and a back process may exist. A change of rules for use is frequent, and types of materials are diversified. Therefore, implementation of the use of excess materials is difficult. At present, the use of cold/hot-rolled excess materials is implemented based on artificial experience in iron and steel enterprises. This method may cause following problems: work efficiency is low, mistakes are made easily, global optimization is difficult to achieve.
Embodiments of this disclosure provide a method and device for cross-process use of cold/hot-rolled excess material, medium, and program product, so as to resolve a problem in the prior art that it is difficult to automatically implement the cross-process use of the cold/hot-rolled excess materials.
In a first aspect, an embodiment of this disclosure provides a method for cross-process use of cold/hot-rolled excess material, applied to an electronic device, comprising:
In a possible implementation of the first aspect, forming at least one matching pair consisting of a futures contract and a cold/hot-rolled excess material by taking the multiple futures contracts and the multiple cold/hot-rolled excess materials as nodes in a weighted binary graph, comprises:
That is to say, in this implementation, the matching degree between futures contracts and cold/hot-rolled excess materials can be verified by the preset rule of use, which can be adjusted flexibly according to the actual situation. In addition, changes in matching degree can also be timely responded, so as to be able to make a use solution most in line with the current demand for matching, to avoid making invalid use solution.
In a possible implementation of the first aspect, determining a matching weight of each matching pair in the at least one matching pair, comprises:
In this implementation, matching weights of futures contracts and the cold/hot-rolled excess materials can be determined based on preset matching priority information, which can be adjusted flexibly according to the actual situation. The preset matching priority information can be adjusted in time according to the personalized use requirement to improve the flexibility and application range of cold/hot-rolled excess materials.
In a possible implementation of the first aspect, determining a matching weight for each matching pair in the at least one matching pair according to preset matching priority information, comprises:
In a possible implementation of the first aspect, the rule of use includes at least one of the following: rule of a specification type, rule of a surface type, rule of a performance and process type, rule of a management type, and rule of a component type.
In a possible implementation of the first aspect, the matching priority information includes priority content and priority level, and includes at least one of the following: contract priority information, material priority information, and adaptation priority information.
In a possible implementation of the first aspect, computing the matching relationship graph based on a binary graph maximum weight matching algorithm, to obtain a use solution between the multiple futures contract and the multiple cold/hot-rolled excess materials, comprises: computing the matching relationship graph based on a binary graph maximum weight matching algorithm based on preset constraint conditions, to obtain a use solution between the multiple futures contract and the multiple cold/hot-rolled excess materials.
In this implementation, the constraint conditions are set for computing the matching relationship graph, to make the use solution meet the user's expectation. For example, if the user wants there is no excess material generated after use of cold/hot-rolled excess materials, the contract process deficiency weight constraints can be set.
In a possible implementation of the first aspect, computing the matching relationship graph based on a binary graph maximum weight matching algorithm based on preset constraint conditions, comprises:
In this implementation, the binary graph maximum weight matching algorithm is used to compute matching relationship graph iteratively. Because the algorithm can only produce one-to-one corresponding solution of a futures contract and a cold/hot-rolled excess material at one time, in order to obtain multiple sets of solutions for a futures contract and several cold/hot-rolled excess materials, the matched cold/hot-rolled excess materials are removed from the graph after a set of solution is obtained, and then the new graph can be computed. Thus, a complete solution can be obtained to avoid missing the possible solution.
In a possible implementation of the first aspect, after removing the at least one matching group and each cold/hot-rolled excess material in the at least one matching group from the matching relationship graph, the method further comprises:
In this implementation, after the matched cold/hot-rolled excess materials are removed from the graph, matching degree between remained cold/hot-rolled excess materials and futures contracts is checked again. The deletion of the matched cold/hot-rolled excess materials may make the originally matched futures contracts and cold/hot-rolled excess materials remain unmatched, so there is a need to check again, avoiding an incorrect solution because of incorrect match in the matching relationship graph.
In a possible implementation of the first aspect, the constraint conditions include at least one of the following: a matching quantity constraint, a contract process deficiency weight constraint, a use rule constraint, and a decision variable value constraint.
In this method, multiple futures contracts and multiple cold/hot-rolled excess materials with same steel grade are obtained. These futures contracts and cold/hot-rolled excess materials can be used as nodes in a weighted binary graph, to form at least one matching pair, constructing a matching relationship graph, where the at least one matching pair consists of a futures contract and a cold/hot-rolled excess material. In addition, a matching weight of each matching pair is determined. Then, the weighted binary graph is computed based on a (binary graph) maximum weight matching algorithm to obtain the final use solution. By doing so, the automation and scale of cross-process use of cold/hot-rolled excess materials can be implemented, the use efficiency of cold/hot-rolled excess materials and futures contract can be improved, and the optimal use of excess materials can be achieved. In addition, the method can also have better adaptability and more lasting vitality to the dynamic optimization tendency and demand in steel production, effectively reduce the enterprise inventory, shorten the delivery time of futures contracts, and reduce steelmaking applications and spot goods.
In a second aspect, an embodiment of this disclosure provides an apparatus for cross-process use of cold/hot-rolled excess materials, comprising:
In a possible implementation of the second aspect, the matching relationship graph determining unit comprises:
In a possible implementation of the second aspect, in the matching relationship graph determining unit, determining a matching weight of each matching pair in the at least one matching pair, comprises:
In a possible implementation of the second aspect, in the matching relationship graph determining unit, determining a matching weight for each matching pair in the at least one matching pair according to preset matching priority information, comprises:
In a possible implementation of the second aspect, in the matching relationship graph determining unit, the rule of use includes at least one of the following: rule of a specification type, rule of a surface type, rule of a performance and process type, rule of a management type, and rule of a component type.
In a possible implementation of the second aspect, in the matching relationship graph determining unit, the matching priority information includes priority content and priority level, and includes at least one of the following: contract priority information, material priority information, and adaptation priority information.
In a possible implementation of the second aspect, in the use solution generating unit, computing the matching relationship graph based on a binary graph maximum weight matching algorithm, to obtain a use solution between the multiple futures contract and the multiple cold/hot-rolled excess materials, comprises:
In a possible implementation of the second aspect, in the use solution generating unit, computing the matching relationship graph based on a binary graph maximum weight matching algorithm based on preset constraint conditions, comprises:
In a possible implementation of the second aspect, the apparatus further comprises:
In a possible implementation of the second aspect, in the use solution generating unit, the constraint conditions include at least one of the following: a matching quantity constraint, a contract process deficiency weight constraint, a use rule constraint, and a decision variable value constraint.
In a third aspect, an embodiment of this disclosure provides a non-transitory computer-readable storage medium storing instructions, wherein when the instructions are executed on a computer, the instructions cause the computer to execute the method mentioned in the first aspect. For beneficial effects that can be achieved in the third aspect, reference may be made to beneficial effects of the method provided in any implementation of the first aspect, and details are not described herein again.
In a fourth aspect, an embodiment of this disclosure provides an electronic device, comprising:
In a fifth aspect, an embodiment of this disclosure provides a computer program product comprising computer programs/instructions, wherein the computer programs/instructions are executed by a processor to implement the method mentioned in the first aspect. For beneficial effects that can be achieved in the fifth aspect, reference may be made to the beneficial effects of the method provided in any implementation of the first aspect, and details are not described herein again.
Embodiments of this disclosure will be described in detail with reference to the drawings.
Steel production is a typical long-term industry. Main production processes include iron-making, steel-making, hot rolling, and cold rolling. The cold rolling process is a finished process in steel production. Hot-rolled coils produced in the hot rolling process may be processed into cold-rolled coils after the cold-rolling process, such as acid washing, cold rolling mill, continuous annealing, and hot-dip galvanizing. The cold-rolled coils are high-value-added products, which are mainly used to produce high-end products such as automotive boards, electrical steels, and household electrical boards.
In hot rolling and cold rolling processes of a steel production, a plurality of excess materials that don't belong to contracts may be generated, such as hot rolling process excess materials, acid washing process excess materials, hard rolling process excess materials, hot-dip galvanizing process excess materials, and annealing process excess materials. To reduce excess materials, the excess materials may be matched to futures contracts to make use of the contract excess materials in iron and steel enterprises.
In futures contracts, there are requirements for multiple excess materials. For example, requirements for slabs, hot-rolled coils, acid washing coils, cold-rolled coils, and annealing coils are included in a futures contract A. Requirements for slabs, hot-rolled coils, acid washing coils, cold-rolled coils, and hot-dip galvanizing coils are included in a futures contract B. Therefore, proper excess materials may be matched to corresponding processes in futures contracts. Because there are requirements for the same excess material in multiple futures contracts, how to match excess materials to futures contracts may be considered. For example, a requirement for acid washing coils exists in both futures contract A and futures contract B. Therefore, there is a need to determine matching acid washing excess materials to futures contract A or futures contract B. Because there are multiple possibilities for matching the excess materials to the futures contracts, improper matching methods may affect material requirements required in a front process of the futures contracts, cause regenerated materials, and also affect logistics balance of a back process of futures contracts.
In the prior art, cold/hot-rolled excess materials and futures contracts are matched in an artificial experience-based manner. So the working efficiency is low and error-prone, and global optimization is difficult to be achieved. The artificial experience manner may be performed according to historical data of the matching between cold/hot-rolled excess materials and futures contracts, as well as subjective judgment.
Therefore, as shown in
In this disclosure, the terms “first”, “second”, and the like are used only to distinguish descriptions, and are not understood to indicate or imply relative importance.
Referring to
The electronic device 400 may include one or more processors 401 coupled to the controller hub 403. For at least one embodiment, the controller hub 403 communicates with the processor 401 by using a multi-branch bus such as a Front Side Bus (FSB), a point-to-point interface such as a Quick Path Interconnect (QPI), or similar connections. The processor 401 executes an instruction for controlling a data processing operation of a general type. In an embodiment, the controller hub 403 includes, but is not limited to, a Graphics & Memory Controller Hub (GMCH) (not shown) and an Input Output Hub (IOH) (which may be on separate chips) (not shown), where the GMCH includes a memory and a graphics controller, and is coupled to the IOH.
The electronic device 400 may further include a coprocessor 402 and a memory 404 coupled to the controller hub 403. Alternatively, one or both of the memory and the GMCH may be integrated into a processor (as described in this disclosure). The memory 404 and the coprocessor 402 are directly coupled to the processor 401 and the controller hub 403, and the controller hub 403 and the IOH are in a single chip.
The memory 404 may be, for example, a Dynamic Random Access Memory (DRAM), a Phase Change Memory (PCM), or a combination thereof. The memory 404 may include one or more tangible, non-temporary computer readable media for storing data and/or instructions.
The computer readable storage medium stores an instruction. Specifically, a temporary and permanent copy of the instruction is stored. The instruction may include: an instruction, when the instruction is executed by at least one of the processors, the instruction may cause the electronic device 400 to implement a method of cross-process use of cold/hot-rolled excess materials according to this disclosure. When the instruction runs on a computer, the computer performs the foregoing method of cross-process use of cold/hot-rolled excess materials according to this disclosure.
In an embodiment, the coprocessor 402 can be a dedicated processor, such as a high throughput Many Integrated Core (MIC) processor, a network or communication processor, a compression engine, a graphics processor, a general-purpose computing on graphics processing units (GPGPU), or an embedded processor. The optional nature of the coprocessor 402 is represented by a dashed line in
In an embodiment, the electronic device 400 may further include a Network Interface Controller (NIC) 406. The NIC 406 may include a transceiver configured to provide a radio interface for the electronic device 400 to communicate with any other suitable device (e.g., front-end module, antenna, etc.). In various embodiments, the NIC 406 may be integrated with other components of the electronic device 400. The NIC 406 may implement a function of the communications unit in the foregoing embodiment.
The electronic device 400 may further include an Input/Output (I/O) device 405. The I/O device 405 may include a user interface, which is designed to enable the user to interact with the electronic device 400; a peripheral component interface, which is designed to enable the peripheral component to interact with the electronic device 400; and/or a sensor, which is designed to determine environmental conditions and/or location information related to the electronic device 400.
It should be noted that
As shown in
In some embodiments, futures contracts and cold/hot-rolled excess materials have corresponding steel grades. According to the technical knowledge related to steel production, steel with different steel grades has different chemical composition and mechanical indexes. Therefore, futures contracts and cold/hot-rolled excess materials with different steel grades cannot be matched. Only cold/hot-rolled excess materials whose steel grade is the same with that of futures contracts can be used in futures contracts.
In some embodiments of this disclosure, futures contracts and cold/hot-rolled excess materials may be grouped according to steel grades. In each group, futures contracts and cold/hot-rolled excess materials have same steel grade. There may be multiple futures contracts and multiple cold/hot-rolled excess materials in each group, and the cold/hot-rolled excess materials in the group may be used in futures contracts in the group. After all futures contracts and cold/hot-rolled excess materials are divided into multiple groups, multiple futures contracts and multiple cold/hot-rolled excess materials in each group can be matched.
The futures contracts may include steel requirements of multiple processes. For example, futures contract A includes five processes: steelmaking, hot rolling, acid washing, cold rolling, and annealing, and each process has a corresponding steel deficiency weight. The cold/hot-rolled excess materials are the superfluous steel materials corresponding to one process. For example, cold/hot-rolled excess material a is superfluous steel material corresponding to the acid washing process. The cold/hot-rolled excess materials are used as deficient steel of the corresponding process in futures contracts when a matching condition is met. For example, the cold/hot-rolled excess material a may be matched to the futures contract A when the matching condition is met, and the excess material a can be used as the deficient steel of the acid washing process in the futures contract A.
The futures contracts include contract information and process-related information, and the process-related information of the futures contracts may include but is not limited to: process number, process name, process feed rate, process deficiency weight. The process number is used to describe the sequence of different processes in the futures contracts. The process name is used to describe the name corresponding to each process, such as “01-steelmaking” and “07-acid washing”. The process feed rate is used to describe the input-output ratio of the process. For example, “1.036” indicates that the weight ratio of the input material to the output material is 1.036. The process deficiency weight is used to describe the weight of material required by the corresponding process. For example, if the deficiency weight of a process is 32.69 tons, and the corresponding process is a steelmaking process, it indicates that weight of material required by the steelmaking process is 32.69 tons.
The information about the cold/hot-rolled excess materials may include but is not limited to: process, weight, name, and type. The process is the process corresponding to the cold/hot-rolled excess materials, for example, “04-hot rolling”. The weight is the weight of the excess materials. The material name is the name of excess materials generated by a process, such as “hot-rolled coils” and “acid washing coils”. The type is the type of excess materials generated by a process, for example, “hot-rolled coils” and “cold-rolled coils”.
S320: constructing a matching relationship graph between multiple futures contracts and multiple cold/hot-rolled excess materials.
The matching relationship graph is used to describe matching relationships between multiple futures contracts and multiple cold/hot-rolled excess materials, which is, cold/hot-rolled excess materials may be matched to which futures contract, and the futures contracts may include which cold/hot-rolled excess material. In the matching relationship between multiple futures contracts and multiple cold/hot-rolled excess materials, one cold/hot-rolled excess material corresponds to only one futures contract, while one futures contract may correspond to multiple cold/hot-rolled excess materials.
In some embodiments of this disclosure, a weighted binary graph in graph theory can be used to represent the matching relationship graph. The weighted binary graph is a special model in graph theory, and nodes in the weighted binary graph may be divided into two disjoint subsets. Two nodes associated with each edge in the weighted binary graph respectively belong to two different subsets, and edges in the weighted binary graph have different weights.
In this disclosure, multiple futures contracts and multiple cold/hot-rolled excess materials are respectively used as nodes in the weighted binary graph, and there is possible matching relationships between multiple futures contracts and multiple cold/hot-rolled excess materials. There is at least one possible matching relationship between multiple futures contracts and multiple cold/hot-rolled excess materials. Generally, there are multiple possible matching relationships. One futures contract and one cold/hot-rolled excess material in a possible matching relationship may be taken as one matching pair. Therefore, there may be at least one such matching pair between the multiple futures contracts and the multiple cold/hot-rolled excess materials. Therefore, the weighted binary graph also includes at least one such matching pair. In addition, there are good and bad matching relationships. A matching relationship between a futures contract and a cold/hot-rolled excess material may be described by using different values of weights. In detail, matching weight of a matching pair can be used to describe the matching degree of futures contract and cold/hot-rolled excess material in the matching pair.
In some embodiments of this disclosure, in order to determine at least one matching pair in the matching relationship graph, the rule of use may first be determined, and then a futures contract and a cold/hot-rolled excess material that meet the rule can be taken as a matching pair. Therefore, there may be at least one matching pair in the matching relationship graph.
S510: determining the rule of use.
The rule is used to determine whether a futures contract and a cold/hot-rolled excess material can be matched, and is a preset condition. If a futures contract and a cold/hot-rolled excess material can meet the rule, there is a possible matching relationship between the futures contract and the cold/hot-rolled excess material. That is to say, the futures contract and the cold/hot-rolled excess material can be matched. If the futures contract and the cold/hot-rolled excess material do not meet the rule, there is no matching relationship between the futures contract and the cold/hot-rolled excess material. That is to say, the futures contract and the cold/hot-rolled excess material cannot be matched. Specifically, a Boolean value may be used to indicate a matching situation. For example, TRUE indicates that a matching may be performed, and FALSE indicates that a matching may not be performed.
There may be multiple types of rules for determining whether futures contracts and cold/hot-rolled excess material can be matched from different perspectives. Specifically, the rule may include but is not limited to the following several types: rule of a specification type, rule of a surface type, rule of a performance and process type, rule of a management type, and rule of a component type. The rule of a specification type determines the matching degree of a futures contract and a cold/hot-rolled excess material from the perspective of specifications. The determination criteria may include but is not limited to: steel grade, length, width, thickness, and weight. The rule of a surface type determines the matching degree of a futures contract and a cold/hot-rolled excess material from the perspective of the external surface of materials. The determination criteria may include but is not limited to: classification level, coating type, and oil coating. The rule of a performance and process type determines the matching degree of a futures contract and a cold/hot-rolled excess material from the perspective of performance and process. The determination criteria may include but is not limited to: yield strength, tensile strength, hardness, and extension. The rule of a management type determines the matching degree of a futures contract and a cold/hot-rolled excess material from the perspective of management. The determination criteria may include but is not limited to: material status, contract status, factory location and warehouse region, and finished product marking. The rule of a component type determines the matching degree of a futures contract and a cold/hot-rolled excess material from the perspective of material component. The determination criteria may include but is not limited to: element components such as C, AL, MN, P, and S.
For example, a simple rule may be described as follows:
The meaning expressed in this rule is that if the contract status of a futures contract is between 33 and 49, the futures contract can be matched to a cold/hot-rolled excess material; otherwise, the futures contract cannot be matched to a cold/hot-rolled excess material.
In some embodiments of this disclosure, the rule can be implemented in a configurable manner. Because the cold/hot-rolled excess materials are closer to the finished product process, and lack of subsequent remediation and improvement measures, requirements for matching in terms of quality, surface, performance, and process are more stringent. In addition, the rule changes frequently. If the rule is cured into a software system in a form of hard coding, it is inconvenient to adjust the rule, and it is difficult to ensure time efficiency of change of the rule. Therefore, a configurable implementation manner is provided for the rule, so that operations such as adding, deleting, or changing the rule can be conveniently implemented without modifying software code. What's more, the operations may takes effect immediately. By doing so, the flexibility is improved, and requirements for a flexible adjustment of the rule is well met.
S520: forming at least one matching pair consisting of a futures contract and a cold/hot-rolled excess material that meet the preset rule of use.
In some embodiments, a futures contract and a cold/hot-rolled excess material that meet a preset rule can be used as a matching pair. There is at least one matching pair of futures contracts and cold/hot-rolled excess materials that meet the rule. Therefore, the matching relationship graph includes at least one matching pair.
In some embodiments of this disclosure, matching weights of each matching pair in the at least one matching pair in the matching relationship graph can be determined based on preset matching priority information. A larger matching weight indicates a higher matching possibility of a futures contract and a cold/hot-rolled excess material in a matching pair. The matching priority information is preset, and may be used to describe a matching degree between a futures contract and a cold/hot-rolled excess material.
In some embodiments of this disclosure, the matching priority information may include but is not limited to one or more of contract priority information, material priority information, and adaptation priority information. The contract priority information includes information related to basic attributes of a futures contract, such as a due date and an export mark. In addition, the contract priority information may further include information such as dynamically specifying priority processing of a type of contract. The material priority information includes information related to material attributes, for example, storage time, and finished product mark. The adaptation priority information includes information related to parameters of futures contracts and materials, such as switching loss, warehouse transfer, and contract integrity.
In some embodiments of this disclosure, the matching priority information includes priority content and priority level. The priority content includes combination of attributes or process parameters of the futures contracts. For example, priority content of a futures contract is “color coating export contract last month”. The priority content is composed of such parameters as “delivery date=last month” +“variety class=color coating” +“export mark=export contract”. The priority level is used to indicate importance of priority content. For specific implementation, a number may be used. For example, level 1 is a highest priority, and level 2 is a second priority. By adjusting the priority content and the priority selling, personalized requirements (e.g., specific product lines or specific types of futures contracts are preferentially processed) caused by a production fluctuation and a special management requirement can be considered, and the flexibility and applicable range can be improved, so that dynamic selling of matching priority information is implemented, and requirements for dynamically adjusting matching priority information can be met.
Specifically, multiple pieces of priority content and priority levels may be defined according to service requirements and inclination, to form a matching priority definition table, and an operation of adding, deleting, or changing matching priority information is supported by modifying data in the matching priority definition table. A typical contract priority definition table is shown in Table 1 below:
The matching weight may be used to describe a comprehensive level of contract priority information, material priority information, and adaptation priority information.
In some embodiments of this disclosure, a matching weight of a matching pair is determined according to the matching priority information can be that, a matching weight of a matching pair is determined according to the matching priority information of a futures contract and the weight of a cold/hot-rolled excess material in the matching pair.
S610: determining, according to preset matching priority information, a priority level of futures contract in each matching pair in the matching relationship graph.
S620: determining matching weight of each matching pair according to the priority level and the material weight of cold/hot-rolled excess material in each matching pair.
The following uses contract priority information as an example for description. For a futures contract A, process parameters included in the futures contract A is compared with priority content in a preset priority definition table (e.g., Table 1) to determine a corresponding priority level. If the futures contract A meets multiple priority-related definitions in the priority definition table at the same time, the highest priority level corresponding to the multiple priority-related definitions is used as the priority level of the futures contract A. If the futures contract A does not match any priority definition in the priority definition table, the priority level is set to a level which is equal to the maximum priority level in the priority definition table plus 1. The way of determining the priority level of the futures contracts according to the material priority information and the adaptation priority information is the same as that according to contract priority information.
After the priority levels corresponding to futures contracts are determined, the matching weights are determined according to the priority levels and the material weights of the cold/hot-rolled excess materials. For ease of description, a formal description of a cross-process use of cold/hot-rolled excess material is as follows:
Suppose the total number of futures contracts is M. N is the total number of cold/hot-rolled excess materials. I is index of the futures contracts, i=1 . . . M. J is the index of the cold/hot-rolled excess materials, j=1, . . . , N. wij indicates the matching weight of the futures contract i and the cold/hot-rolled excess material j. Wj indicates the material weight of the cold/hot-rolled excess material j. pio indicates a priority level of the futures contract i corresponding to the contract priority information. pjm indicates a priority level corresponding to the material priority information. pijf indicates a priority level corresponding to the adaptation priority information. The following formula may be used to calculate the matching weight:
Because the lower the value of a priority level corresponding to the contract priority information, the material priority information, and the adaptation priority information is, the higher the priority degree is, and the higher a matching weight is. Correct conversion may be implemented by using the foregoing formula. The larger the matching weight is, the more a futures contract matches a cold/hot-rolled excess material. The cold/hot-rolled excess material may be matched to the futures contract first.
S330: determining a use solution between the futures contracts and the cold/hot-rolled excess materials.
In some embodiments, the final use solution can be obtained by computing the weighted binary graph based on a maximum weight matching algorithm. The use solution may include at least one matching pair that successfully matches. And usually, the use solution includes multiple matching pairs, with each pair including a futures contract and a cold/hot-rolled excess material. In addition, a cold/hot-rolled excess material is matched to at most one futures contract. One futures contract may match cold/hot-rolled excess materials, or may not match cold/hot-rolled excess materials. If a futures contract matches the cold/hot-rolled excess materials, the futures contract may match at least one cold/hot-rolled excess material. In addition, the object of maximizing the sum of the matching weights of all matching pairs, is determined by the optimization objective set when the matching relationship graph is computed based on the maximum weight matching algorithm. The optimization objective is used to describe an optimization direction when the matching relationship graph is computed.
In some embodiments of this disclosure, the matching relationship graph is computed based on the maximum weight matching algorithm according to a preset constraint condition, to obtain a use solution between futures contracts and cold/hot-rolled excess materials. The constraint condition includes the constraint condition to be followed when computing the matching relationship graph.
In some embodiments of this disclosure, the constraint condition may include but is not limited to one or more of a matching quantity constraint, a contract process deficiency weight constraint, a use rule constraint, and a decision variable value constraint.
In some embodiments, the decision variable is defined as xij, indicating whether the futures contract i matches the cold/hot-rolled excess material j. xij=1 indicates that the cold/hot-rolled excess material j matches the futures contract i, and xij=0 indicates that there is no matching relationship between the cold/hot-rolled excess material j and the futures contract i.
The total number of processes for the futures contract i will be defined as Ki. k is the process index of the futures contract i, k=1, . . . Ki. Sik indicates the set of cold/hot-rolled excess materials whose process is the same as the k th process in the futures contract i. That is to say, if j∈Sik, it indicates that the process corresponding to the cold/hot-rolled excess material j is the same as the k th process in the futures contract i. Dik indicates the material deficiency weight in the k th process of the futures contract i. Yik indicates the cumulative feed rate of the futures contract i from the steelmaking process to the k th process, which is equal to the product of the feed rate of each process. rij is the matching identifier of the futures contract i and the cold/hot-rolled excess material j. When the two sides can be matched, rij=1; otherwise, rij=0.
The matching quantity constraint is used to indicate that one cold/hot-rolled excess material can only be matched to one futures contract, and it cannot be split and matched to different futures contracts. The matching quantity constraint can be represented by the following formula:
In the formula, i=1, . . . , M, and j=1, . . . , N.
The contract process deficiency weight constraint can be used to indicate that the weight of a cold/hot-rolled excess material cannot exceed the material deficiency weight of corresponding process in the futures contract. The weight of a cold/hot-rolled excess material in the steelmaking process cannot exceed the material deficiency weight in the steelmaking process in the futures contract. And the weight of an excess material converted to the steelmaking process cannot exceed the deficiency weight in the steelmaking process in a futures contract. The objective of setting the contract process deficiency weight constraint is that there will be no other new excess materials after the cold/hot-rolled excess materials are used in the futures contracts. The following formula can be used to indicate the contract process deficiency weight constraint:
In this formula, i=1, . . . , M, and k=1, . . . Ki.
The use rule constraint is used to indicate that the futures contracts and the cold/hot-rolled excess materials can be matched only if the use rule is satisfied. Otherwise, the match cannot be performed. The following formula can be used to indicate the use rule constraint:
In this formula, i=1, . . . , M, and j=1, . . . , N.
The decision variable value constraint is used to indicate that the value of the decision variable can only be 0 or 1. That is, the cold/hot-rolled excess materials are matched to the futures contracts or are not matched to the futures contracts. The decision variable value constraint can be represented by the following formula:
In this formula, i=1, . . . , M, and j=1, . . . N.
In some embodiments of this disclosure, the optimization objective includes: maximizing the sum of matching weights between the futures contracts and the cold/hot-rolled excess materials. The optimization objective can be represented by the following formula:
S710: determining at least one matching group in the at least one matching pair consisting of a futures contract and a cold/hot-rolled excess material in a matching relationship graph by using a maximum weight matching algorithm.
The futures contracts and cold/hot-rolled excess materials in matching result is in a one-to-one correspondence, with the matching result obtained by computing the matching relationship graph based on the maximum weight matching algorithm. In the matching result, each futures contract matches one cold/hot-rolled excess material, and each cold/hot-rolled excess material matches one futures contract. Each pair of successfully matched futures contract and cold/hot-rolled excess material forms a matching group, which includes one futures contract and one cold/hot-rolled excess material. The matching result includes at least one matching group. The matching result can satisfy the constraint that a cold/hot-rolled excess material can only match a futures contract. However, because a futures contract can match multiple cold/hot-rolled excess materials, the matching relationship graph may be computed multiple times.
S720: updating the material deficiency weight in the corresponding futures contract based on weight of cold/hot-rolled excess material of each matching group in the at least one matching group.
In some embodiments, it is assumed that a cold/hot-rolled excess material j matches a K th process of a futures contract i in the matching group, weight of the cold/hot-rolled excess material j is Wj, material deficiency weight of the k th process of the futures contract i is Dik, and feed rate of the k th process of the futures contract i is Zik, the following formula can be used as a reference to update material deficiency weight in different processes in the futures contract i:
S730: removing the at least one matching group and each cold/hot-rolled excess material in the at least one matching group from the matching relationship graph, and using the changed matching relationship graph as a new matching relationship graph.
In some embodiments of this disclosure, after all matching groups and cold and cold/hot-rolled excess materials in the matching groups are removed from the matching relationship graph, weight inspection needs to be further performed on each remaining matching pair in the matching relationship graph. Matching pairs that meet a weight inspection rule is reserved, and matching pairs that don't meet the weight inspection rule may be removed. Due to a change in material deficiency weights required for different processes in multiple futures contracts in the matching relationship graph, weight inspection may be performed on cold/hot-rolled excess materials and futures contracts in matching pairs remaining in the matching relationship graph. If weight of a cold/hot-rolled excess material and deficiency weight of a corresponding in a futures contract don't meet the weight inspection rule, the corresponding matching pair including the cold/hot-rolled excess material and the futures contract may be removed. Otherwise, the matching pair may be reserved.
In some embodiments, the weight inspection rule may include a determining condition for weight of a cold/hot-rolled excess material in a matching pair and the material deficiency weights in different processes of a futures contract in the same matching pair. For example, the weight inspection rule may include that weight of a cold/hot-rolled excess material in a matching pair is lower than a material deficiency weight in a process which is the same as that of the cold/hot-rolled excess material of a futures contract in the matching pair. And weight of the cold/hot-rolled excess material converted to the steelmaking process is lower than material deficiency weight in the steelmaking process of the futures contract.
The remaining matching pairs are described in formal form to perform weight inspection of the cold/hot-rolled excess materials and futures contracts as follows:
In some embodiments, the weight of a cold/hot-rolled excess materials j in matching pair is Wj, and corresponding process is K. The material deficiency in the k th process of a futures contract i in the matching pair is Dik. And the cumulative feed rate of the futures contract i from the steelmaking process to the K th process is yiK. Assume that the weight inspection rule is defined as Wj≤DiK&&Wj*yiK≤Di1. If the weight inspection rule is met, the matching pair can be reserved in the matching relationship graph, and the matching weight of the matching pair remains unchanged. Otherwise, the matching pair may be removed. The cold/hot-rolled excess materials j and the futures contract i in this matching pair may no longer be matched with each other.
S740: repeating the process of computing the matching relationship graph until no matching pair consisting of a futures contract and a cold/hot-rolled excess material exist in the matching relationship graph.
After determining the use solution between the futures contracts and the cold/hot-rolled excess materials, use solution between futures contracts and cold/hot-rolled excess materials in other different steel grades may be computed to obtain the corresponding use result. After use solutions of all steel grades are determined, the final use solutions can be delivered and executed. The cold/hot-rolled excess materials can be used in the corresponding futures contracts to become the contract materials. And subsequent processing is performed on these contract materials according to specified processes.
The following describes in detail, by using a specific example, the determination of a use solution between futures contracts and cold/hot-rolled excess materials. In this example, there are three futures contracts in total, and six cold/hot-rolled excess materials to be matched and used. Futures contracts and cold/hot-rolled excess materials have same steel grade. Table 2 below is a table of information on futures contracts, which shows the process number, process name, process feed rate, and process deficiency weight of each futures contract. Table 3 is a table of information on cold/hot-rolled excess materials. Table 4 is a matching weight table, which shows matching weight between the futures contracts and the cold/hot-rolled excess materials. In the Table 4, “/” indicates that the futures contracts and excess materials don't meet detection rule, so they cannot be matched. Therefore, there is no matching weight.
According to the foregoing information, an initial matching relationship graph shown in
(1) The maximum weight matching algorithm can be used to compute the current matching relationship graph, to obtain three matching results shown by thick solid lines in
(2) Removing the matched excess materials 1, 2, and 3, and updating the corresponding contracts 1, 2, and 3. Take contract 1 as an example. The process corresponding to the excess material 1 is 04-hot rolling, with a weight of 20.60 tons. The excess material 1 is matched to the process 2 of contract 1, with process deficiency weight being 32.21 tons. The process deficiency weight of each process can be updated according to the formula:
Similarly, process deficiency weight of each process in contract 2 and contract 3 can be updated. The results are shown in Table 5 below.
(3) The remaining materials 4, 5, 6 and contracts 1, 2, 3 are used to reconstruct matching relationship graph. As shown in
(4) Because there is still connection relationship between the remaining excess materials and the remaining contracts, the maximum weight matching algorithm can be used to compute the current matching relationship graph, to obtain the matching results shown in the thick solid lines in
Referring to
In
The SRAM unit 530 may include one or more tangible, non-temporary, computer readable media for storing data and/or instructions. The computer readable storage medium stores an instruction. Specifically, a temporary and permanent copy of the instruction is stored. The instruction may include an instruction that is executed by at least one of the processors to cause the SoC to implement the method shown in
In this disclosure, the term “and/or” is merely an association relationship that describes associated objects, and indicates that three relationships may exist. For example, A and/or B may indicate: A exists separately, A and B exist simultaneously, and B exists separately.
All method embodiments of this disclosure may be implemented in a manner of software, a magnetic component, firmware and so on. Program code may be applied to input instructions to perform the functions described herein and generate output information. The output information may be applied to one or more output devices in a known manner. For the purposes of this disclosure, a processing system includes any system with a processor such as a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.
Program code may be implemented in an advanced programming language or an object-oriented programming language, to communicate with a processing system. Program code may also be implemented in assembly language or machine language when required. In fact, the mechanisms described herein are not limited to the scope of any particular programming language. In either case, the language may be a compilation language or an interpretation language.
One or more aspects of the at least one embodiment may be implemented by an representational instruction stored in a computer readable storage medium, where the instruction represents various logic in the processor, and the instruction causes, when read by a machine, the machine to make logic which is used to execute the method or technology described in this disclosure. Representations referred to as “Intellectual Property (IP) cores” may be stored on a tangible computer readable storage medium and provided to multiple customers or production facilities to load into a manufacturing machine that actually manufactures the logic or processor.
In some cases, the instruction converter may be configured to convert instructions from a source instruction set to a target instruction set. For example, the instruction converter may convert instructions into one or more other instructions to be processed by the core by the way of converting (e.g., using static binary transforms, including dynamic binary transforms of dynamic compiling), transforming, emulating, or other ways. The instruction converter may be implemented by software, hardware, firmware, or a combination thereof. The instruction converter may be on a processor, outside a processor, or partly on a processor, and partly outside a processor.
Number | Date | Country | Kind |
---|---|---|---|
202210017717.1 | Jan 2022 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2022/121615 | 9/27/2022 | WO |