[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN117035339B - Method and device for calculating material demand planning problem in enterprise resource planning - Google Patents

Method and device for calculating material demand planning problem in enterprise resource planning Download PDF

Info

Publication number
CN117035339B
CN117035339B CN202311045755.9A CN202311045755A CN117035339B CN 117035339 B CN117035339 B CN 117035339B CN 202311045755 A CN202311045755 A CN 202311045755A CN 117035339 B CN117035339 B CN 117035339B
Authority
CN
China
Prior art keywords
supply
factory
inventory
purchase
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311045755.9A
Other languages
Chinese (zh)
Other versions
CN117035339A (en
Inventor
方侃
杨礼铭
毛照昉
黄典
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin University
Original Assignee
Tianjin University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tianjin University filed Critical Tianjin University
Priority to CN202311045755.9A priority Critical patent/CN117035339B/en
Publication of CN117035339A publication Critical patent/CN117035339A/en
Application granted granted Critical
Publication of CN117035339B publication Critical patent/CN117035339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06315Needs-based resource requirements planning or analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/067Enterprise or organisation modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Marketing (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Quality & Reliability (AREA)
  • Development Economics (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Manufacturing & Machinery (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • General Factory Administration (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明涉及管理科学技术领域,特别是指一种企业资源计划中物料需求计划问题的计算方法和装置,方法包括:S1、归纳制造企业普适性物料管理需求,确定物料的供应方式;S2、对物料管理逻辑进行全面分析,根据所述物料的供应方式,使用混合整数规划技术,建立物料需求计划问题的数学模型;S3、针对大规模算例,将所述数学模型中的整数变量松弛为线性变量,将所述数学模型变为纯线性规划模型,使用商业求解器结合启发式方法,得到最终的物料采购决策。本发明填补了领域空白,使用数学模型精准地描述了问题,针对大规模算例提出一种商业求解器结合启发式方法,算法框架简洁,速度较快,决策质量较高,且具有较好的拓展能力。

The present invention relates to the field of management science and technology, and in particular to a method and device for calculating material requirement planning problems in enterprise resource planning, the method comprising: S1, summarizing the universal material management requirements of manufacturing enterprises and determining the material supply mode; S2, comprehensively analyzing the material management logic, and using mixed integer programming technology to establish a mathematical model of the material requirement planning problem according to the material supply mode; S3, for large-scale calculation examples, relaxing the integer variables in the mathematical model into linear variables, converting the mathematical model into a pure linear programming model, and using a commercial solver combined with a heuristic method to obtain the final material procurement decision. The present invention fills the gap in the field, uses a mathematical model to accurately describe the problem, and proposes a commercial solver combined with a heuristic method for large-scale calculation examples. The algorithm framework is concise, the speed is fast, the decision quality is high, and it has good expansion capabilities.

Description

一种企业资源计划中物料需求计划问题的计算方法和装置A calculation method and device for material requirement planning problems in enterprise resource planning

技术领域Technical Field

本发明涉及管理科学技术领域,特别是指一种企业资源计划中物料需求计划问题的计算方法和装置。The invention relates to the field of management science and technology, and in particular to a calculation method and device for material requirement planning problems in enterprise resource planning.

背景技术Background Art

物料需求计划(Material Resource Planning,MRP)是生产计划系统的重要模块之一,在确定了生产主计划后,即在计划期内各产线各时间点的产品生产数量,对物料供应计划进行决策,回答生产系统中对于物料的“用什么,怎么用,还有什么,还缺什么”的问题。Material Resource Planning (MRP) is one of the important modules of the production planning system. After determining the master production plan, that is, the production quantity of each production line at each time point during the planning period, decisions are made on the material supply plan to answer the questions of "what to use, how to use it, what else is there, and what is still missing" for materials in the production system.

对于某些大型制造企业来说,它们具备以下特点:(1)生产数字化程度较高,在部分生产环节已经具备数字化能力;(2)制造工厂较多,车间、仓库、大型仓储分布在全国多个城市甚至全球范围内,这给管理带来了很大的挑战;(3)订单波动较大,随着市场需求不确定性增大,结合政策变化、客制需求增加等其他因素,需要精准对库存水位进行把控。但是目前已有的MRP问题的计算方法以预测或以遍历等简单方式为基础的规则为主,存在场景归纳不全,泛化性差;计算方法简单,过分依赖预测,效果不理想等问题。For some large manufacturing companies, they have the following characteristics: (1) The production is highly digitalized, and some production links have already acquired digital capabilities; (2) There are many manufacturing plants, and workshops, warehouses, and large warehouses are distributed in multiple cities across the country or even around the world, which brings great challenges to management; (3) Orders fluctuate greatly. As market demand uncertainty increases, combined with policy changes, increased customized demand and other factors, inventory levels need to be accurately controlled. However, the existing calculation methods for MRP problems are mainly based on rules based on simple methods such as prediction or traversal, which have problems such as incomplete scenario induction and poor generalization; the calculation method is simple, overly dependent on prediction, and unsatisfactory results.

发明内容Summary of the invention

本发明提供了一种企业资源计划中物料需求计划问题的计算方法和装置,用以解决现有技术存在的问题,所述技术方案如下:The present invention provides a method and device for calculating material requirement planning problems in enterprise resource planning, which are used to solve the problems existing in the prior art. The technical solution is as follows:

一方面,提供了一种企业资源计划中物料需求计划问题的计算方法,包括:On the one hand, a calculation method for material requirement planning problem in enterprise resource planning is provided, including:

S1、归纳制造企业普适性物料管理需求,确定物料的供应方式;S1. Summarize the universal material management needs of manufacturing enterprises and determine the material supply method;

S2、对物料管理逻辑进行全面分析,根据所述物料的供应方式,使用混合整数规划技术,建立物料需求计划问题的数学模型;S2. Conduct a comprehensive analysis of the material management logic and establish a mathematical model of the material requirement planning problem using mixed integer programming techniques based on the material supply method;

S3、针对大规模算例,将所述数学模型中的整数变量松弛为线性变量,将所述数学模型变为纯线性规划模型,使用商业求解器结合启发式方法,得到最终的物料采购决策。S3. For large-scale examples, the integer variables in the mathematical model are relaxed into linear variables, the mathematical model is transformed into a pure linear programming model, and a commercial solver is used in combination with a heuristic method to obtain the final material procurement decision.

可选地,所述S1,具体包括:Optionally, the S1 specifically includes:

在本地库存供应、制造供应、采购供应的供应方式基础上,增加了异地库存调拨、Open PO供应、Liability供应,最终确定物料的供应方式包括五种供应方式:包含本地库存供应和异地库存调拨的库存供应、制造供应、采购供应、Open PO供应以及Liability供应,所述Open PO供应,指已签订采购合同,采购物料已发货未到货的部分,所述Liability供应,指与供应商初步达成采购意向,但未签订具体采购合同的预估部分。On the basis of local inventory supply, manufacturing supply and procurement supply, remote inventory transfer, Open PO supply and Liability supply are added. Finally, the material supply methods include five supply methods: inventory supply including local inventory supply and remote inventory transfer, manufacturing supply, procurement supply, Open PO supply and Liability supply. The Open PO supply refers to the part of the purchased materials that have been shipped but not arrived under a signed procurement contract. The Liability supply refers to the estimated part for which a preliminary procurement intention has been reached with the supplier but a specific procurement contract has not been signed.

可选地,所述S2中的物料需求计划问题是在已知计划期内各工厂所需完成订单的情况下,对各工厂物料供应的方式与数量进行决策;Optionally, the material requirement planning problem in S2 is to decide on the method and quantity of material supply to each factory when the orders that each factory needs to complete within the planning period are known;

问题的输入包括:订单信息、主生产计划信息、物料信息;所述订单信息包括:订单货量、订单对应的BOM信息;所述主生产计划信息包括:计划期时长、计划期内各工厂订单排产计划;所述物料信息包括:是否属于MPQ/M0Q物料的物料属性、计划期初始时刻各工厂各供应方式下各物料初始可用量、供应成本;所述BOM是物料清单,其数据结构是树,根节点是最终产品,叶节点是生产原料,中间层的每个节点对应一种中间产物;所述MPQ是最小包装量;所述MOQ是最小订货量;The input of the problem includes: order information, master production plan information, and material information; the order information includes: order quantity and BOM information corresponding to the order; the master production plan information includes: planning period duration, order scheduling plan for each factory during the planning period; the material information includes: whether the material attribute belongs to MPQ/MOQ material, the initial available quantity of each material under each supply mode of each factory at the beginning of the planning period, and the supply cost; the BOM is a bill of materials, and its data structure is a tree, the root node is the final product, the leaf node is the production raw material, and each node in the middle layer corresponds to an intermediate product; the MPQ is the minimum packaging quantity; the MOQ is the minimum order quantity;

问题的输出包括:各订单对应BOM中各节点的供应决策、各物料采购情况、计划期内各工厂本地库存与采购库存变化情况,所述采购库存,指由于采购的部分未使用完而产生的库存,与原有本地库存各自独立计算;The output of the problem includes: the supply decision of each node in the BOM corresponding to each order, the purchase status of each material, and the changes in the local inventory and purchase inventory of each factory during the planning period. The purchase inventory refers to the inventory generated due to the unused part of the purchase, which is calculated independently from the original local inventory.

问题的优化目标包括:最小化计划期内采购成本、最小化计划期内调拨Open PO成本、最大化计划期内不含采购库存的库存使用量。The optimization objectives of the problem include: minimizing the purchase cost during the planning period, minimizing the cost of transferring Open PO during the planning period, and maximizing the inventory usage excluding purchase inventory during the planning period.

可选地,所述S2中的所述数学模型包括:Optionally, the mathematical model in S2 includes:

集合与索引:Collections and Indexes:

订单集合 Order Collection

订单i的BOM包含的节点集合 The node set contained in the BOM of order i

计划期内的时间节点集合 A collection of time nodes within the planning period

工厂集合 Factory Collection

物料集合 Material Collection

供应商集合 Supplier Collection

MPQ物料集合 MPQ Material Collection

MOQ物料集合 MOQ Material Collection

所有BOM中的根节点集合 The root node collection of all BOMs

所有BOM中的叶节点集合 The set of leaf nodes in all BOMs

所有BOM中的调拨节点集合 A collection of transfer nodes in all BOMs

所有BOM中的Liability供应节点集合 A collection of Liability supply nodes in all BOMs

所有BOM中的替换组节点集合 A collection of replacement group nodes in all BOMs

参数:parameter:

Di 订单i的需求数量D i demand quantity for order i

CMk 物料k的库存供应成本CM k Inventory supply cost of material k

Inv0sk 0时刻,工厂s中,物料k的本地库存可用量Inv 0sk 0, the local inventory available for material k in factory s

OPO0sk 0时刻,工厂s中,物料k的Open PO可用量OPO 0sk 0, the Open PO available quantity of material k in plant s

Lia0k 0时刻物料k的Liability可用量Lia 0k The available amount of liability of material k at time 0

αijl 订单i的节点j与其子节点L的物料配比α ijl Material ratio between node j of order i and its child node L

MPQkv MPQ物料k在供应商v处的批次大小MPQ kv MPQ batch size of material k at supplier v

MOQkv MOQ物料k在供应商v处的最小订货量MOQ k v Minimum order quantity of MOQ material k at supplier v

变量:variable:

Xij 需求i的节点j通过库存(含本地库存和库存调拨)满足的数量 Xij is the quantity of node j that needs i to be satisfied through inventory (including local inventory and inventory transfer)

Yij 需求i的节点j通过制造满足的数量 Yij is the number of nodes j that meet demand i by manufacturing

Zij 需求i的节点j通过采购满足的数量 Zij is the quantity of node j that meets demand i through procurement

EXij 需求i的节点j通过Open PO所满足的数量EX ij The number of nodes j whose demand i is satisfied by Open PO

LXij 需求i的节点j通过Liability满足的数量LX ij is the number of nodes j whose demand i is satisfied by Liability

Mij 需求i的节点j的齐套满足量M ij is the amount of complete satisfaction of node j for demand i

Stsk 在时间节点t,工厂s中,物料k的本地库存供应量S tsk is the local inventory supply of material k in factory s at time node t

EStsk 在时间节点r,工厂s中,物料k的Open PO供应量ES tsk Open PO supply of material k in plant s at time node r

Ntsk 在时间节点t,工厂s中,物料k的库存消耗量N tsk is the inventory consumption of material k in factory s at time node t.

VNtsk 在时间节点t,工厂s中,物料k的本工厂库存消耗量VN tsk is the inventory consumption of material k in factory s at time node t.

ENtsk 在时间节点t,工厂s中,物料k的本工厂Open PO消耗量EN tsk The consumption of Open PO of material k in factory s at time node t

FNtsk 在时间节点t,工厂s中,物料k的Open PO调拨量FN tsk Open PO transfer quantity of material k in factory s at time node t

GNtsk 在时间节点t,工厂s中,物料k的库存调拨量GN tsk is the stock transfer quantity of material k in factory s at time node t.

Ptsk 在时间节点t,工厂s中,物料k的采购量P tsk is the purchase quantity of material k in factory s at time node t

LStsk 在时间节点t,物料k的Liability供应初始可用量LS tsk is the initial available quantity of Liability supply of material k at time node t.

LNt 在时间节点t,物料k的Liability消耗量 LN tLiability consumption of material k at time node t

Invtsk 在时间节点t,工厂s中,物料k的库存可用量(T≥1)Inv tsk: The available inventory of material k in factory s at time node t (T≥1)

OPOtsk 在时间节点t,工厂s中,物料k的Open PO可用量(t≥1)OPO tskOpen PO availability of material k in plant s at time node t (t≥1)

PPtskv 在时间节点t,工厂s中,MPQ/MOQ物料k从供应商v处的采购量PP tskv is the purchase volume of MPQ/MOQ material k from supplier v in factory s at time node t

BZtskv 在时间节点t,工厂s中,MPQ物料k从供应商v处的采购批次,整数变量BZ tskv is the purchase batch of MPQ material k from supplier v at time node t, in plant s, integer variable

PStsk 在时间节点为t,工厂s中,物料k的采购库存水位PS tsk is the purchase inventory level of material k in factory s at time t

目标函数:Objective function:

min J1+J2-J3 (1)min J 1 +J 2 -J 3 (1)

约束:constraint:

BZtskv∈N (27)BZ tskv ∈N (27)

Xij,Yij,Zij,EXij,LXij,Mij,Stsk,EStsk,Ntsk,VNtsk,ENtsk,FNtsk,GNtsk,Ptsk,LStsk,LNt,PPtskv,PStsk≥0 (28) Xij , Yij , Zij ,EXij, LXij , Mij,Stsk, EStsk , Ntsk , VNtsk , ENtsk , FNtsk , GNtsk ,Ptsk, LStsk , LNt , PPtskv , PS tsk ≥0 (28)

变量部分:Xij,Yij,Zij,EXij,LXij对应各节点的供应决策;PPtskv,BZtskv对应物料的采购决策;Invtsk,PStsk对应计划期内的库存水位变化和采购库存变化;Variable part: Xij , Yij , Zij , EXij , LXij correspond to the supply decision of each node; PPtskv , BZtskv correspond to the purchase decision of materials; Invtsk , PStsk correspond to the inventory level change and purchase inventory change during the planning period;

目标函数和约束部分:式(2)是所有物料的采购成本的总和;式(3)是所有物料的Open PO调拨成本的总和;式(4)是各时刻本地库存水位的总和;式(2)-(4)中均含有时间梯度乘子(T+1-t),随着t增大,由于T是常数,则(T+1-t)减小,因此在式(2)中实现了越早产生的采购成本越高,在式(3)中实现了越早产生的Open PO调拨成本越高,在式(4)中实现了越早出现的本地库存水位惩罚越高;其中,式(2)(3)是最小化量,式(4)是最大化量,因此将式(2)(3)的右侧相加,再减去式(4)的右侧,得到统一最小化的目标函数式(1),同时通过时间梯度乘子进行了“成本越晚产生越好”的软约束;Objective function and constraint part: Formula (2) is the sum of the purchase cost of all materials; Formula (3) is the sum of the Open PO transfer cost of all materials; Formula (4) is the sum of the local inventory level at each moment; Formulas (2)-(4) all contain the time gradient multiplier (T+1-t). As t increases, since T is a constant, (T+1-t) decreases. Therefore, in Formula (2), the earlier the purchase cost is generated, the higher the purchase cost is; in Formula (3), the earlier the Open PO transfer cost is generated, the higher the penalty is; in Formula (4), the earlier the local inventory level is generated, the higher the penalty is; Among them, Formula (2) (3) is the minimization amount, and Formula (4) is the maximization amount. Therefore, the right sides of Formulas (2) (3) are added together, and then the right side of Formula (4) is subtracted to obtain the unified minimization objective function Formula (1). At the same time, the time gradient multiplier is used to impose a soft constraint of "the later the cost is generated, the better";

式(5)左侧表示各时刻各工厂对各物料的库存供应量总和,右侧为对应各时刻各工厂对各物料的库存供应需求总量;式(6)左侧表示各时刻各工厂对各物料的制造供应量总和,右侧为对应各时刻各工厂对各物料的制造供应需求总量;式(7)左侧表示各时刻各工厂对各物料的采购供应量总和,右侧为对应各时刻各工厂对各物料的采购供应需求总量;式(8)左侧表示各时刻各工厂对各物料的本地库存供应量总和,右侧为对应各时刻各工厂对各物料的本地库存消耗总量;式(9)左侧表示各时刻各工厂对各物料的Open PO调拨供应量总和,右侧为对应各时刻各工厂对各物料的Open PO调拨总量;式(10)左侧表示各时刻各工厂对各物料的库存调拨供应量总和,右侧为对应各时刻各工厂对各物料的库存调拨消耗量;式(11)左侧表示各时刻各工厂对各物料的Liability供应量总和,右侧为对应各时刻各工厂对各物料的Liability消耗量;式(12)左侧表示各工厂的各物料的初始时刻库存可用量减去初始时刻的库存消耗量,右侧表示下一时刻对应各工厂各物料的库存可用量;式(13)左侧表示非初始时刻各工厂各物料的库存可用量加上对应各时刻各工厂各物料的新增库存量减去对应各时刻各工厂各物料的库存消耗量,右侧表示下一时刻对应各工厂各物料的库存可用量;式(14)左侧表示各工厂的各物料的初始时刻的OpenPO可用量减去初始时刻的0pen PO消耗量,右侧表示下一时刻对应各工厂各物料的Open PO可用量;式(15)左侧表示非初始时刻各工厂各物料的Open PO可用量加上对应各时刻各工厂各物料的新增OpenPO量减去对应各时刻各工厂各物料的Open PO消耗量,右侧表示下一时刻对应各工厂各物料的Open PO可用量;式(16)左侧表示各工厂的各物料的初始时刻的Liability可用量减去初始时刻的Liability消耗量,右侧表示下一时刻对应各工厂各物料的Liability可用量;式(17)左侧表示非初始时刻各工厂各物料的Liability可用量加上对应各时刻各工厂各物料的新增Liability量减去对应各时刻各工厂各物料的Liability消耗量,右侧表示下一时刻对应各工厂各物料的Liability可用量;式(18)表示订单对应BOM的根节点的齐套满足量应等于对应订单的货量;式(19)表示BOM中的非叶节点的齐套满足量等于库存供应、制造供应、采购供应、Open PO供应、Liability供应五种方式供应量的总和;式(20)表示叶节点的齐套满足量等于库存供应、采购供应、Open PO供应、Liability供应四种方式供应量的总和;式(21)表示非替换组根节点的制造供应量等于其每个叶节点的齐套满足量的总和乘上配比系数;式(22)表示替换组根节点制造供应量等于其所有叶节点的齐套满足量乘上配比系数的总和;式(23)用于计算每种MPQ物料在各时刻各工厂在各供应商处的采购量;式(24)用于计算每种MOQ物料在各时刻各工厂在各供应商处的采购量;式(25)表示计划期的初始时刻各工厂对于各物料的采购库存水位为0;式(26)左侧表示各工厂非初始时刻的各物料采购库存水位加上各物料采购量减去采购供应量,右侧为下一时刻的采购库存水位;式(27)-(28)表示变量类型。The left side of formula (5) represents the total inventory supply of each material by each factory at each moment, and the right side represents the total inventory supply demand of each material by each factory at each moment; the left side of formula (6) represents the total manufacturing supply of each material by each factory at each moment, and the right side represents the total manufacturing supply demand of each material by each factory at each moment; the left side of formula (7) represents the total purchase supply of each material by each factory at each moment, and the right side represents the total purchase supply demand of each material by each factory at each moment; the left side of formula (8) represents the total local inventory supply of each material by each factory at each moment, and the right side represents the total local inventory consumption of each material by each factory at each moment; the left side of formula (9) represents the total Open PO transfer supply of each material by each factory at each moment, and the right side represents the Open PO transfer supply of each material by each factory at each moment =Total PO transfer; The left side of formula (10) represents the total inventory transfer supply of each material by each factory at each moment, and the right side represents the inventory transfer consumption of each material by each factory at each moment; The left side of formula (11) represents the total liability supply of each material by each factory at each moment, and the right side represents the liability consumption of each material by each factory at each moment; The left side of formula (12) represents the initial inventory availability of each material of each factory minus the inventory consumption at the initial moment, and the right side represents the inventory availability of each material corresponding to each factory at the next moment; The left side of formula (13) represents the inventory availability of each material of each factory at the non-initial moment plus the newly added inventory of each material of each factory at each moment minus the inventory consumption of each material of each factory at each moment, and the right side represents the inventory availability of each material corresponding to each factory at the next moment; The left side of formula (14) represents the initial OpenPO availability of each material of each factory minus the 0pen PO consumption at the initial moment, and the right side represents the Open PO available quantity; the left side of formula (15) represents the Open PO available quantity of each material in each factory at the non-initial moment plus the newly added OpenPO quantity of each material in each factory at each moment minus the Open PO consumption of each material in each factory at each moment, and the right side represents the Open PO available quantity of each material in each factory at the next moment; the left side of formula (16) represents the Liability available quantity of each material in each factory at the initial moment minus the Liability consumption at the initial moment, and the right side represents the Liability available quantity of each material in each factory at the next moment; the left side of formula (17) represents the Liability available quantity of each material in each factory at the non-initial moment plus the newly added Liability quantity of each material in each factory at each moment minus the Liability consumption of each material in each factory at each moment, and the right side represents the Liability available quantity of each material in each factory at the next moment; formula (18) represents that the complete set satisfaction quantity of the root node of the BOM corresponding to the order should be equal to the quantity of the corresponding order; formula (19) represents that the complete set satisfaction quantity of the non-leaf nodes in the BOM is equal to the inventory supply, manufacturing supply, procurement supply, Open =The sum of the supply quantities of five modes: PO supply, Liability supply; Formula (20) indicates that the complete set satisfaction quantity of the leaf node is equal to the sum of the supply quantities of four modes: inventory supply, purchase supply, Open PO supply, and Liability supply; Formula (21) indicates that the manufacturing supply quantity of the root node of the non-replacement group is equal to the sum of the complete set satisfaction quantity of each leaf node multiplied by the matching coefficient; Formula (22) indicates that the manufacturing supply quantity of the root node of the replacement group is equal to the sum of the complete set satisfaction quantity of all its leaf nodes multiplied by the matching coefficient; Formula (23) is used to calculate the purchase quantity of each MPQ material from each supplier at each time for each factory; Formula (24) is used to calculate the purchase quantity of each MOQ material from each supplier at each time for each factory; Formula (25) indicates that the purchase inventory level of each material for each factory at the initial time of the planning period is 0; The left side of Formula (26) indicates the purchase inventory level of each material at the non-initial time of each factory plus the purchase quantity of each material minus the purchase supply quantity, and the right side is the purchase inventory level at the next time; Formulas (27)-(28) indicate the variable type.

可选地,所述S3,具体包括:Optionally, the S3 specifically includes:

S31、将整数变量BZtskv的类型从Integer更改为Continuous,松弛为线性变量此时模型变为不包含整数变量的纯线性规划模型;S31. Change the type of integer variable BZ tskv from Integer to Continuous and relax it to a linear variable At this point, the model becomes a pure linear programming model that does not contain integer variables;

S32、使用商业求解器求解松弛后的线性变量求解结果使用字典BZrelax记录,所述求解结果对于原问题是不可行的解,使用启发式方法对所述求解结果进一步处理,得到最终的MPQ物料采购批次,记为使用字典BZheur记录,所述启发式方法基于所述按时间顺序遍历MPQ物料在各供应商处的采购批次;S32. Solve the relaxed linear variables using commercial solvers The solution result is recorded using the dictionary BZ relax . The solution result is an infeasible solution to the original problem. The solution result is further processed using a heuristic method to obtain the final MPQ material procurement batch, which is recorded as Using the dictionary BZ heur record, the heuristic method is based on the Traverse the purchase batches of MPQ materials from various suppliers in chronological order;

S33、其余的决策变量在原问题中就是线性变量,在求解松弛后的纯线性规划模型得到结果后,直接作为原问题的解。S33. The remaining decision variables are linear variables in the original problem. After solving the relaxed pure linear programming model and obtaining the result, they are directly used as the solution to the original problem.

可选地,所述启发式方法的输入为通过求解纯线性规划模型得到的BZrelax字典,输出为启发式方法得到的记录原问题可行解的BZheur字典,所述S32中使用启发式方法对所述求解结果进一步处理,具体包括:Optionally, the input of the heuristic method is a BZ relax dictionary obtained by solving a pure linear programming model, and the output is a BZ heur dictionary obtained by the heuristic method and recording feasible solutions to the original problem. The step S32 further processes the solution result using the heuristic method, specifically including:

对于每一个工厂,对于每一个MPQ物料,设置一个变量rest,初始值为0,使用这个变量记录遍历过程中对应工厂内对应物料满足当前需求后的剩余值,若不足以满足下一笔所遍历需求的供应则需要新的采购,否则不需要新的采购,从rest中扣除相应供应量;For each factory and each MPQ material, set a variable rest with an initial value of 0. Use this variable to record the remaining value of the corresponding material in the corresponding factory after meeting the current demand during the traversal process. If the supply is not enough to meet the next traversed demand, new purchases are required. Otherwise, no new purchases are required and the corresponding supply is deducted from rest.

进一步遍历:对于每一个时刻,对于每一个供应商,设置一个变量PlanPurchase,表示对应各时刻各工厂在各供应商处采购各物料的原计划采购量,也是求解纯线性规划模型得到的各MPQ物料的采购量,原计划采购量等于求解纯线性规划模型得到的乘对应各物料在各供应商处的最小包装量,然后四舍五入,如果当前工厂中当前物料的rest大于等于原计划采购量,则不做新的采购,令对应下标的变量为0,表示当前时刻对应工厂从供应商处采购物料的批次为0,并从rest中扣除原计划采购量,否则,设置一个变量Lack,表示rest不满足供应的缺少部分,等于原计划供应量减去rest,此时对应下标的变量等于Lack与对应各物料在各供应商处的最小包装量的比值再向上取整,在进行这一新的采购后,更新变量rest的值,等于之前的剩余量rest加上启发式的采购批次乘最小包装量减去原计划采购量;Further traversal: For each moment and each supplier, set a variable PlanPurchase, which represents the original planned purchase quantity of each material purchased by each factory from each supplier at each moment, which is also the purchase quantity of each MPQ material obtained by solving the pure linear programming model. The original planned purchase quantity is equal to the purchase quantity obtained by solving the pure linear programming model. Multiply the minimum packaging quantity of each material at each supplier, and then round it up. If the rest of the current material in the current factory is greater than or equal to the original planned purchase quantity, no new purchase is made, and the corresponding subscript variable is set to If it is 0, it means that the batch of materials purchased by the corresponding factory from the supplier at the current moment is 0, and the original planned purchase quantity is deducted from rest. Otherwise, a variable Lack is set to indicate that rest does not meet the missing part of the supply, which is equal to the original planned supply minus rest. At this time, the corresponding subscript variable It is equal to the ratio of Lack to the minimum package quantity of each material at each supplier, rounded up. After this new purchase, the value of the variable rest is updated, which is equal to the previous remaining quantity rest plus the heuristic purchase batch multiplied by the minimum package quantity minus the original planned purchase quantity.

反复以上的循环直到为所有的变量赋值后,输出字典BZheur,为原问题中整数变量BZtskv的一组可行解。Repeat the above cycle until all variables After assignment, the output dictionary BZ heur is a set of feasible solutions for the integer variable BZ tskv in the original problem.

可选地,所述方法还包括:Optionally, the method further comprises:

针对小、中规模算例,使用商业求解器求解所述数学模型。For small and medium-scale examples, commercial solvers are used to solve the mathematical model.

另一方面,提供了一种企业资源计划中物料需求计划问题的计算装置,其特征在于,所述装置包括:On the other hand, a computing device for material requirement planning problem in enterprise resource planning is provided, characterized in that the device comprises:

确定模块,用于归纳制造企业普适性物料管理需求,确定物料的供应方式;The determination module is used to summarize the universal material management needs of manufacturing enterprises and determine the material supply method;

建立模块,用于对物料管理逻辑进行全面分析,根据所述物料的供应方式,使用混合整数规划技术,建立物料需求计划问题的数学模型;Establish a module for comprehensive analysis of material management logic and establish a mathematical model of the material requirement planning problem using mixed integer programming techniques based on the supply mode of the material;

求解模块,用于针对大规模算例,将所述数学模型中的整数变量松弛为线性变量,将所述数学模型变为纯线性规划模型,使用商业求解器结合启发式方法,得到最终的物料采购决策。The solution module is used to relax the integer variables in the mathematical model into linear variables for large-scale calculation examples, transform the mathematical model into a pure linear programming model, and use a commercial solver combined with a heuristic method to obtain the final material procurement decision.

另一方面,提供了一种电子设备,所述电子设备包括处理器和存储器,所述存储器中存储有指令,所述指令由所述处理器加载并执行以实现上述企业资源计划中物料需求计划问题的计算方法。On the other hand, an electronic device is provided, which includes a processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the calculation method of the material requirement planning problem in the above-mentioned enterprise resource planning.

另一方面,提供了一种计算机可读存储介质,所述存储介质中存储有指令,所述指令由处理器加载并执行以实现上述企业资源计划中物料需求计划问题的计算方法。On the other hand, a computer-readable storage medium is provided, wherein instructions are stored in the storage medium, and the instructions are loaded and executed by a processor to implement the calculation method of the material requirement planning problem in the enterprise resource planning.

本发明提供的技术方案带来的有益效果至少包括:The beneficial effects brought about by the technical solution provided by the present invention include at least:

本发明填补了领域空白,使用数学模型精准地描述了问题,针对大规模算例提出一种商业求解器结合启发式方法,算法框架简洁,速度较快,决策质量较高,且具有较好的拓展能力。The present invention fills the gap in the field, uses mathematical models to accurately describe the problem, and proposes a commercial solver combined with a heuristic method for large-scale examples. The algorithm framework is simple, the speed is fast, the decision quality is high, and it has good expansion capabilities.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

图1是本发明实施例提供的一种企业资源计划中物料需求计划问题的计算方法流程图;FIG1 is a flow chart of a method for calculating a material requirement planning problem in an enterprise resource planning according to an embodiment of the present invention;

图2是本发明实施例提供的供应方式示意图;FIG2 is a schematic diagram of a supply method provided in an embodiment of the present invention;

图3是本发明实施例提供的求解MRP问题的启发式算法伪代码示意图;3 is a schematic diagram of a pseudo code of a heuristic algorithm for solving the MRP problem provided by an embodiment of the present invention;

图4是本发明实施例提供的一种企业资源计划中物料需求计划问题的计算装置框图;4 is a block diagram of a computing device for material requirement planning in an enterprise resource planning according to an embodiment of the present invention;

图5是本发明实施例提供的一种电子设备的结构示意图。FIG. 5 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.

具体实施方式DETAILED DESCRIPTION

为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

如图1所示,本发明实施例提供了一种企业资源计划中物料需求计划问题的计算方法,包括:As shown in FIG1 , an embodiment of the present invention provides a method for calculating a material requirement planning problem in an enterprise resource planning, including:

S1、归纳制造企业普适性物料管理需求,确定物料的供应方式;S1. Summarize the universal material management needs of manufacturing enterprises and determine the material supply method;

S2、对物料管理逻辑进行全面分析,根据所述物料的供应方式,使用混合整数规划技术,建立物料需求计划问题的数学模型;S2. Conduct a comprehensive analysis of the material management logic and establish a mathematical model of the material requirement planning problem using mixed integer programming techniques based on the material supply method;

S3、针对大规模算例,将所述数学模型中的整数变量松弛为线性变量,将所述数学模型变为纯线性规划模型,使用商业求解器结合启发式方法,得到最终的物料采购决策。S3. For large-scale examples, the integer variables in the mathematical model are relaxed into linear variables, the mathematical model is transformed into a pure linear programming model, and a commercial solver is used in combination with a heuristic method to obtain the final material procurement decision.

下面结合图2-3,详细说明本发明实施例提供的一种企业资源计划中物料需求计划问题的计算方法,包括:2-3, a calculation method for material requirement planning in an enterprise resource planning according to an embodiment of the present invention is described in detail below, including:

S1、归纳制造企业普适性物料管理需求,确定物料的供应方式;S1. Summarize the universal material management needs of manufacturing enterprises and determine the material supply method;

可选地,如图2所示,所述S1,具体包括:Optionally, as shown in FIG2 , the S1 specifically includes:

在本地库存供应、制造供应、采购供应的供应方式基础上,增加了异地库存调拨、未到货采购订单(Open Purchase Orders,Open PO)供应、预采购订单Liability供应,最终确定物料的供应方式包括五种供应方式:包含本地库存供应和异地库存调拨的库存供应、制造供应、采购供应、Open PO供应以及Liability供应,所述Open PO供应,指已签订采购合同,采购物料已发货未到货的部分,所述Liability供应,指与供应商初步达成采购意向,但未签订具体采购合同的预估部分。On the basis of local inventory supply, manufacturing supply and procurement supply, we added off-site inventory transfer, Open Purchase Orders (Open PO) supply and pre-purchase order liability supply. Finally, the material supply methods include five supply methods: inventory supply including local inventory supply and off-site inventory transfer, manufacturing supply, procurement supply, Open PO supply and Liability supply. The Open PO supply refers to the part of the purchased materials that have been shipped but not arrived after a procurement contract has been signed. The Liability supply refers to the estimated part for which a preliminary procurement intention has been reached with the supplier but a specific procurement contract has not been signed.

S2、对物料管理逻辑进行全面分析,根据所述物料的供应方式,使用混合整数规划技术,建立物料需求计划问题的数学模型;S2. Conduct a comprehensive analysis of the material management logic and establish a mathematical model of the material requirement planning problem using mixed integer programming techniques based on the material supply method;

可选地,所述S2中的物料需求计划(MRP)问题是在已知计划期内各工厂所需完成订单的情况下,对各工厂物料供应的方式与数量进行决策;Optionally, the material requirement planning (MRP) problem in S2 is to make decisions on the method and quantity of material supply to each factory when the orders that each factory needs to complete within the planning period are known;

问题的输入、输出和优化目标,见表1:The input, output and optimization objectives of the problem are shown in Table 1:

表1 MRP问题的输入、输出与优化目标Table 1 Input, output and optimization target of MRP problem

即:Right now:

问题的输入包括:订单信息、主生产计划信息、物料信息;所述订单信息包括:订单货量、订单对应的物料清单(Bill Of Material,BOM)信息;所述主生产计划信息包括:计划期时长、计划期内各工厂订单排产计划;所述物料信息包括:是否属于MPQ(Minimum PackQuantity,MPQ)/MOQ(Minimum Order Quantity,MOQ)物料的物料属性、计划期初始时刻各工厂各供应方式下各物料初始可用量、供应成本;所述BOM是物料清单,其数据结构是树,根节点是最终产品,叶节点是生产原料,中间层的每个节点对应一种中间产物;所述MPQ是最小包装量;所述MOQ是最小订货量;The input of the problem includes: order information, master production plan information, and material information; the order information includes: order quantity, bill of material (BOM) information corresponding to the order; the master production plan information includes: planning period duration, order scheduling plan for each factory during the planning period; the material information includes: whether it belongs to the material attributes of MPQ (Minimum Pack Quantity, MPQ)/MOQ (Minimum Order Quantity, MOQ), the initial available quantity of each material under each supply mode at each factory at the beginning of the planning period, and the supply cost; the BOM is a bill of materials, and its data structure is a tree, the root node is the final product, the leaf node is the production raw material, and each node in the middle layer corresponds to an intermediate product; the MPQ is the minimum packing quantity; the MOQ is the minimum order quantity;

问题的输出包括:各订单对应BOM中各节点的供应决策、各物料采购情况、计划期内各工厂本地库存与采购库存变化情况,所述采购库存,指由于采购的部分未使用完而产生的库存,与原有本地库存各自独立计算;The output of the problem includes: the supply decision of each node in the BOM corresponding to each order, the purchase status of each material, and the changes in the local inventory and purchase inventory of each factory during the planning period. The purchase inventory refers to the inventory generated due to the unused part of the purchase, which is calculated independently from the original local inventory.

问题的优化目标包括:最小化计划期内采购成本、最小化计划期内调拨Open PO成本、最大化计划期内不含采购库存的库存使用量。The optimization objectives of the problem include: minimizing the purchase cost during the planning period, minimizing the cost of transferring Open PO during the planning period, and maximizing the inventory usage excluding purchase inventory during the planning period.

可选地,所述S2中的所述数学模型包括:Optionally, the mathematical model in S2 includes:

集合与索引:Collections and Indexes:

订单集合 Order Collection

订单i的BOM包含的节点集合 The node set contained in the BOM of order i

计划期内的时间节点集合 A collection of time nodes within the planning period

工厂集合 Factory Collection

物料集合 Material Collection

供应商集合 Supplier Collection

MPQ物料集合 MPQ Material Collection

MOQ物料集合 MOQ Material Collection

所有BOM中的根节点集合 The root node collection of all BOMs

所有BOM中的叶节点集合 The set of leaf nodes in all BOMs

所有BOM中的调拨节点集合 A collection of transfer nodes in all BOMs

所有BOM中的Liability供应节点集合 A collection of Liability supply nodes in all BOMs

所有BOM中的替换组节点集合 A collection of replacement group nodes in all BOMs

参数:parameter:

Di 订单i的需求数量D i demand quantity for order i

CMk 物料k的库存供应成本CM k Inventory supply cost of material k

Invosk 0时刻,工厂s中,物料k的本地库存可用量 Invosk 0, the local inventory availability of material k in factory s

OPO0sk 0时刻,工厂s中,物料k的Open PO可用量OPO 0sk 0, the Open PO available quantity of material k in plant s

Lia0k 0时刻物料k的Liability可用量Lia 0k The available amount of liability of material k at time 0

αijl 订单i的节点j与其子节点l的物料配比α ijl Material ratio between node j of order i and its child node l

MPQkv MPQ物料k在供应商v处的批次大小MPQ kv MPQ batch size of material k at supplier v

MOQkv MOQ物料k在供应商v处的最小订货量MOQ kv Minimum order quantity of MOQ material k at supplier v

变量:variable:

Xij 需求i的节点j通过库存(含本地库存和库存调拨)满足的数量 Xij is the quantity of node j that needs i to be satisfied through inventory (including local inventory and inventory transfer)

Yij 需求i的节点j通过制造满足的数量 Yij is the number of nodes j that meet demand i by manufacturing

Zij 需求i的节点j通过采购满足的数量 Zij is the quantity of node j that meets demand i through procurement

EXij 需求i的节点j通过Open PO所满足的数量EX ij The number of nodes j whose demand i is satisfied by Open PO

LXij 需求i的节点j通过Liability满足的数量LX ij is the number of nodes j whose demand i is satisfied by Liability

Mij 需求i的节点j的齐套满足量M ij is the amount of complete satisfaction of node j for demand i

Stsk 在时间节点T,工厂s中,物料k的本地库存供应量S tsk is the local inventory supply of material k in factory s at time node T

EStsk 在时间节点t,工厂s中,物料k的Open PO供应量ES tsk Open PO supply of material k in plant s at time node t

Ntsk 在时间节点t,工厂s中,物料k的库存消耗量N tsk is the inventory consumption of material k in factory s at time node t.

VNtsk 在时间节点t,工厂s中,物料k的本工厂库存消耗量VN tsk is the inventory consumption of material k in factory s at time node t.

ENtsk 在时间节点t,工厂s中,物料k的本工厂Open PO消耗量EN tsk The consumption of Open PO of material k in factory s at time node t

FNtsk 在时间节点t,工厂s中,物料k的Open PO调拨量FN tsk Open PO transfer quantity of material k in factory s at time node t

GNtsk 在时间节点t,工厂s中,物料k的库存调拨量GN tsk is the stock transfer quantity of material k in factory s at time node t.

Ptsk 在时间节点t,工厂s中,物料k的采购量P tsk is the purchase quantity of material k in factory s at time node t

LStsk 在时间节点t,物料k的Liability供应初始可用量LS tsk is the initial available quantity of Liability supply of material k at time node t.

LNt 在时间节点t,物料k的Liability消耗量 LN tLiability consumption of material k at time node t

Invtsk 在时间节点t,工厂s中,物料k的库存可用量(T≥1)Inv tsk: The available inventory of material k in factory s at time node t (T≥1)

oPOtsk 在时间节点t,工厂s中,物料k的Open PO可用量(t≥1)oPO tskOpen PO availability of material k in plant s at time node t (t≥1)

PPtskv 在时间节点t,工厂s中,MPQ/MOQ物料k从供应商v处的采购量PP tskv is the purchase volume of MPQ/MOQ material k from supplier v in factory s at time node t

BZtskv 在时间节点t,工厂s中,MPQ物料k从供应商v处的采购批次,整数变量BZ tskv is the purchase batch of MPQ material k from supplier v at time node t, in plant s, integer variable

PStsk 在时间节点为t,工厂s中,物料k的采购库存水位PS tsk is the purchase inventory level of material k in factory s at time t

目标函数:Objective function:

min J1+J2-J3 (1)min J 1 +J 2 -J 3 (1)

约束:constraint:

BZtskv∈N (27)BZ tskv ∈N (27)

Xij,Yij,Zij,EXij,LXij,Mij,Stsk,EStsk,Ntsk,VNtsk,ENtsk,FNtsk,GNtsk,Ptsk,LStsk,LNt,PPtskv,PStsk≥0 (28) Xij , Yij , Zij ,EXij, LXij , Mij,Stsk, EStsk , Ntsk , VNtsk , ENtsk , FNtsk , GNtsk ,Ptsk, LStsk , LNt , PPtskv , PS tsk ≥0 (28)

变量部分:Xij,Yij,Zij,EXij,LXij对应各节点的供应决策;PPtskv,BZtskv对应物料的采购决策;Invtsk,PStsk对应计划期内的库存水位变化和采购库存变化;Variable part: Xij , Yij , Zij , EXij , LXij correspond to the supply decision of each node; PPtskv , BZtskv correspond to the purchase decision of materials; Invtsk , PStsk correspond to the inventory level change and purchase inventory change during the planning period;

目标函数和约束部分:式(2)是所有物料的采购成本的总和;式(3)是所有物料的Open PO调拨成本的总和;式(4)是各时刻本地库存水位的总和;式(2)-(4)中均含有时间梯度乘子(T+1-t),随着t增大,由于T是常数,则(T+1-t)减小,因此在式(2)中实现了越早产生的采购成本越高,在式(3)中实现了越早产生的Open PO调拨成本越高,在式(4)中实现了越早出现的本地库存水位惩罚越高;其中,式(2)(3)是最小化量,式(4)是最大化量,因此将式(2)(3)的右侧相加,再减去式(4)的右侧,得到统一最小化的目标函数式(1),同时通过时间梯度乘子进行了“成本越晚产生越好”的软约束;Objective function and constraint part: Formula (2) is the sum of the purchase cost of all materials; Formula (3) is the sum of the Open PO transfer cost of all materials; Formula (4) is the sum of the local inventory level at each moment; Formulas (2)-(4) all contain the time gradient multiplier (T+1-t). As t increases, since T is a constant, (T+1-t) decreases. Therefore, in Formula (2), the earlier the purchase cost is generated, the higher the purchase cost is; in Formula (3), the earlier the Open PO transfer cost is generated, the higher the penalty is; in Formula (4), the earlier the local inventory level is generated, the higher the penalty is; Among them, Formula (2) (3) is the minimization amount, and Formula (4) is the maximization amount. Therefore, the right sides of Formulas (2) (3) are added together, and then the right side of Formula (4) is subtracted to obtain the unified minimization objective function Formula (1). At the same time, the time gradient multiplier is used to impose a soft constraint of "the later the cost is generated, the better";

式(5)左侧表示各时刻各工厂对各物料的库存供应量总和,右侧为对应各时刻各工厂对各物料的库存供应需求总量;式(6)左侧表示各时刻各工厂对各物料的制造供应量总和,右侧为对应各时刻各工厂对各物料的制造供应需求总量;式(7)左侧表示各时刻各工厂对各物料的采购供应量总和,右侧为对应各时刻各工厂对各物料的采购供应需求总量;式(8)左侧表示各时刻各工厂对各物料的本地库存供应量总和,右侧为对应各时刻各工厂对各物料的本地库存消耗总量;式(9)左侧表示各时刻各工厂对各物料的Open PO调拨供应量总和,右侧为对应各时刻各工厂对各物料的Open PO调拨总量;式(10)左侧表示各时刻各工厂对各物料的库存调拨供应量总和,右侧为对应各时刻各工厂对各物料的库存调拨消耗量;式(11)左侧表示各时刻各工厂对各物料的Liability供应量总和,右侧为对应各时刻各工厂对各物料的Liability消耗量;式(12)左侧表示各工厂的各物料的初始时刻库存可用量减去初始时刻的库存消耗量,右侧表示下一时刻对应各工厂各物料的库存可用量;式(13)左侧表示非初始时刻各工厂各物料的库存可用量加上对应各时刻各工厂各物料的新增库存量减去对应各时刻各工厂各物料的库存消耗量,右侧表示下一时刻对应各工厂各物料的库存可用量;式(14)左侧表示各工厂的各物料的初始时刻的Open PO可用量减去初始时刻的Open PO消耗量,右侧表示下一时刻对应各工厂各物料的Open PO可用量;式(15)左侧表示非初始时刻各工厂各物料的Open PO可用量加上对应各时刻各工厂各物料的新增Open PO量减去对应各时刻各工厂各物料的Open PO消耗量,右侧表示下一时刻对应各工厂各物料的Open PO可用量;式(16)左侧表示各工厂的各物料的初始时刻的Liability可用量减去初始时刻的Liability消耗量,右侧表示下一时刻对应各工厂各物料的Liability可用量;式(17)左侧表示非初始时刻各工厂各物料的Liability可用量加上对应各时刻各工厂各物料的新增Liability量减去对应各时刻各工厂各物料的Liability消耗量,右侧表示下一时刻对应各工厂各物料的Liability可用量;式(18)表示订单对应BOM的根节点的齐套满足量应等于对应订单的货量;式(19)表示BOM中的非叶节点的齐套满足量等于库存供应、制造供应、采购供应、Open PO供应、Liability供应五种方式供应量的总和;式(20)表示叶节点的齐套满足量等于库存供应、采购供应、Open PO供应、Liability供应四种方式供应量的总和;式(21)表示非替换组根节点的制造供应量等于其每个叶节点的齐套满足量的总和乘上配比系数;式(22)表示替换组根节点制造供应量等于其所有叶节点的齐套满足量乘上配比系数的总和;式(23)用于计算每种MPQ物料在各时刻各工厂在各供应商处的采购量;式(24)用于计算每种MOQ物料在各时刻各工厂在各供应商处的采购量;式(25)表示计划期的初始时刻各工厂对于各物料的采购库存水位为0;式(26)左侧表示各工厂非初始时刻的各物料采购库存水位加上各物料采购量减去采购供应量,右侧为下一时刻的采购库存水位;式(27)-(28)表示变量类型。The left side of formula (5) represents the total inventory supply of each material by each factory at each moment, and the right side represents the total inventory supply demand of each material by each factory at each moment; the left side of formula (6) represents the total manufacturing supply of each material by each factory at each moment, and the right side represents the total manufacturing supply demand of each material by each factory at each moment; the left side of formula (7) represents the total purchase supply of each material by each factory at each moment, and the right side represents the total purchase supply demand of each material by each factory at each moment; the left side of formula (8) represents the total local inventory supply of each material by each factory at each moment, and the right side represents the total local inventory consumption of each material by each factory at each moment; the left side of formula (9) represents the total Open PO transfer supply of each material by each factory at each moment, and the right side represents the Open PO transfer supply of each material by each factory at each moment =Total PO transfer amount; The left side of formula (10) represents the total inventory transfer supply of each material by each factory at each moment, and the right side represents the inventory transfer consumption of each material by each factory at each moment; The left side of formula (11) represents the total liability supply of each material by each factory at each moment, and the right side represents the liability consumption of each material by each factory at each moment; The left side of formula (12) represents the initial inventory available quantity of each material of each factory minus the inventory consumption at the initial moment, and the right side represents the inventory available quantity of each material corresponding to each factory at the next moment; The left side of formula (13) represents the inventory available quantity of each material of each factory at the non-initial moment plus the newly added inventory quantity of each material of each factory at each moment minus the inventory consumption quantity of each material of each factory at each moment, and the right side represents the inventory available quantity of each material corresponding to each factory at the next moment; The left side of formula (14) represents the Open PO available quantity of each material of each factory at the initial moment minus the Open PO consumption at the initial moment, and the right side represents the Open PO consumption quantity of each material corresponding to each factory at the next moment PO available quantity; the left side of formula (15) represents the available quantity of Open PO of each material in each factory at the non-initial moment plus the newly added Open PO quantity of each material in each factory at each moment minus the Open PO consumption of each material in each factory at each moment, and the right side represents the available quantity of Open PO of each material in each factory at the next moment; the left side of formula (16) represents the available quantity of Liability of each material in each factory at the initial moment minus the Liability consumption at the initial moment, and the right side represents the available quantity of Liability of each material in each factory at the next moment; the left side of formula (17) represents the available quantity of Liability of each material in each factory at the non-initial moment plus the newly added Liability of each material in each factory at each moment minus the Liability consumption of each material in each factory at each moment, and the right side represents the available quantity of Liability of each material in each factory at the next moment; formula (18) represents that the complete set satisfaction quantity of the root node of the BOM corresponding to the order should be equal to the quantity of the corresponding order; formula (19) represents that the complete set satisfaction quantity of the non-leaf nodes in the BOM is equal to the inventory supply, manufacturing supply, procurement supply, Open =The sum of the supply quantities of five modes: PO supply, Liability supply; Formula (20) indicates that the complete set satisfaction quantity of the leaf node is equal to the sum of the supply quantities of four modes: inventory supply, purchase supply, Open PO supply, and Liability supply; Formula (21) indicates that the manufacturing supply quantity of the root node of the non-replacement group is equal to the sum of the complete set satisfaction quantity of each leaf node multiplied by the matching coefficient; Formula (22) indicates that the manufacturing supply quantity of the root node of the replacement group is equal to the sum of the complete set satisfaction quantity of all its leaf nodes multiplied by the matching coefficient; Formula (23) is used to calculate the purchase quantity of each MPQ material from each supplier at each time for each factory; Formula (24) is used to calculate the purchase quantity of each MOQ material from each supplier at each time for each factory; Formula (25) indicates that the purchase inventory level of each material for each factory at the initial time of the planning period is 0; The left side of Formula (26) indicates the purchase inventory level of each material at the non-initial time of each factory plus the purchase quantity of each material minus the purchase supply quantity, and the right side is the purchase inventory level at the next time; Formulas (27)-(28) indicate the variable type.

S3、针对大规模算例,将所述数学模型中的整数变量松弛为线性变量,将所述数学模型变为纯线性规划模型,使用商业求解器结合启发式方法,得到最终的物料采购决策。S3. For large-scale examples, the integer variables in the mathematical model are relaxed into linear variables, the mathematical model is transformed into a pure linear programming model, and a commercial solver is used in combination with a heuristic method to obtain the final material procurement decision.

经过不同规模算例的测试发现,针对小、中规模算例(一般来说,商业求解器分钟级能够求解的算小规模算例,30分钟能够求解的算中等规模算例,超过30分钟求解的算大规模算例),使用商业求解器能够在可以接受的较快时间内进行精确求解,求解结果符合预期设想的物料供应逻辑;但是针对大规模算例,商业求解器无法进行精确求解,因此针对大规模算例本发明实施例提出了一种商业求解器结合启发式方法,能够在较短时间内获得一个高质量的可行解直接用于决策指导,具体包括:After testing different scale examples, it was found that for small and medium scale examples (generally speaking, commercial solvers can solve small scale examples in minutes, medium scale examples in 30 minutes, and large scale examples in more than 30 minutes), commercial solvers can accurately solve the problems in an acceptable fast time, and the solution results meet the expected material supply logic; however, for large scale examples, commercial solvers cannot accurately solve the problems. Therefore, for large scale examples, the embodiment of the present invention proposes a commercial solver combined with a heuristic method, which can obtain a high-quality feasible solution in a short time and directly use it for decision-making guidance, specifically including:

S31、将整数变量BZtskv的类型从Integer更改为Continuous,松弛为线性变量此时模型变为不包含整数变量的纯线性规划模型;S31. Change the type of integer variable BZ tskv from Integer to Continuous and relax it to a linear variable At this point, the model becomes a pure linear programming model that does not contain integer variables;

由于整数变量BZtskv提高了模型和求解的复杂度,因此本发明实施例将整数变量BZtskv的类型从Integer更改为Continuous,松弛为线性变量 Since the integer variable BZ tskv increases the complexity of the model and the solution, the embodiment of the present invention changes the type of the integer variable BZ tskv from Integer to Continuous and relaxes it to a linear variable

S32、使用商业求解器求解松弛后的线性变量求解结果使用字典BZrelax记录,所述求解结果对于原问题是不可行的解,使用启发式方法对所述求解结果进一步处理,得到最终的MPQ物料采购批次,记为使用字典BZheur记录,所述启发式方法基于所述按时间顺序遍历MPQ物料在各供应商处的采购批次;S32. Solve the relaxed linear variables using commercial solvers The solution result is recorded using the dictionary BZ relax . The solution result is an infeasible solution to the original problem. The solution result is further processed using a heuristic method to obtain the final MPQ material procurement batch, which is recorded as Using the dictionary BZ heur record, the heuristic method is based on the Traverse the purchase batches of MPQ materials from various suppliers in chronological order;

所述启发式方法能够实现保证足够采购的同时,尽量少采购、晚采购,由于原问题中的目标函数的优化目标就是最小化采购供应与调拨、最大化本地库存供应,并希望必要的采购尽量晚发生,因此本发明实施例的启发式的优化逻辑与原问题的优化目标一致,同时又大大缩短了计算时间,实现高效的决策制定。The heuristic method can ensure sufficient procurement while minimizing procurement and procuring as late as possible. Since the optimization goal of the objective function in the original problem is to minimize procurement supply and allocation, maximize local inventory supply, and hope that necessary procurement will occur as late as possible, the heuristic optimization logic of the embodiment of the present invention is consistent with the optimization goal of the original problem, while greatly shortening the calculation time and achieving efficient decision-making.

S33、其余的决策变量在原问题中就是线性变量,在求解松弛后的纯线性规划模型得到结果后,直接作为原问题的解。S33. The remaining decision variables are linear variables in the original problem. After solving the relaxed pure linear programming model and obtaining the result, they are directly used as the solution to the original problem.

可选地,所述启发式方法的输入为通过求解纯线性规划模型得到的BZrelax字典,输出为启发式方法得到的记录原问题可行解的BZheur字典,如图3所示,所述S32中使用启发式方法对所述求解结果进一步处理,具体包括:Optionally, the input of the heuristic method is a BZ relax dictionary obtained by solving a pure linear programming model, and the output is a BZ heur dictionary obtained by the heuristic method and recording feasible solutions to the original problem, as shown in FIG3 . The heuristic method is used in S32 to further process the solution result, specifically including:

对于每一个工厂(伪代码行数2),对于每一个MPQ物料(伪代码行数3),设置一个变量rest,初始值为0(伪代码行数4),使用这个变量记录遍历过程中对应工厂内对应物料满足当前需求后的剩余值,若不足以满足下一笔所遍历需求的供应则需要新的采购,否则不需要新的采购,从rest中扣除相应供应量;For each factory (pseudo code line 2), for each MPQ material (pseudo code line 3), set a variable rest with an initial value of 0 (pseudo code line 4). Use this variable to record the remaining value of the corresponding material in the corresponding factory after meeting the current demand during the traversal process. If the supply is not enough to meet the next traversed demand, new purchases are required. Otherwise, no new purchases are required and the corresponding supply is deducted from rest.

进一步遍历:对于每一个时刻(伪代码行数5),对于每一个供应商(伪代码行数6),设置一个变量PlanPurchase,表示对应各时刻各工厂在各供应商处采购各物料的原计划采购量,也是求解纯线性规划模型得到的各MPQ物料的采购量,原计划采购量等于求解纯线性规划模型得到的乘对应各物料在各供应商处的最小包装量,然后四舍五入(伪代码行数7),如果当前工厂中当前物料的rest大于等于原计划采购量(伪代码行数8),则不做新的采购,令对应下标的变量为0,表示当前时刻对应工厂从供应商处采购物料的批次为0(伪代码行数9),并从rest中扣除原计划采购量(伪代码行数10),否则(伪代码行数11),设置一个变量Lack,表示rest不满足供应的缺少部分,等于原计划供应量减去rest(伪代码行数12),此时对应下标的变量等于Lack与对应各物料在各供应商处的最小包装量的比值再向上取整,保证启发式得到的采购量一定能填补rest的缺少量(伪代码13),在进行这一新的采购后,更新变量rest的值,等于之前的剩余量rest加上启发式的采购批次乘最小包装量减去原计划采购量(伪代码行数14);Further traversal: For each moment (pseudo code line 5), for each supplier (pseudo code line 6), set a variable PlanPurchase, which represents the original planned purchase quantity of each material purchased by each factory from each supplier at each moment, which is also the purchase quantity of each MPQ material obtained by solving the pure linear programming model. The original planned purchase quantity is equal to the purchase quantity obtained by solving the pure linear programming model. Multiply the minimum packaging quantity of each material at each supplier, and then round it up (pseudo code line 7). If the rest of the current material in the current factory is greater than or equal to the original planned purchase quantity (pseudo code line 8), no new purchase is made, and the corresponding subscript variable is set is 0, indicating that the batch of materials purchased by the corresponding factory from the supplier at the current moment is 0 (pseudo code line 9), and the original planned purchase quantity is deducted from rest (pseudo code line 10). Otherwise (pseudo code line 11), a variable Lack is set to indicate that rest does not meet the missing part of the supply, which is equal to the original planned supply minus rest (pseudo code line 12). At this time, the variable corresponding to the subscript It is equal to the ratio of Lack to the minimum packaging quantity of each material at each supplier, and then rounded up to the integer, to ensure that the heuristically obtained purchase quantity can fill the missing quantity of rest (pseudo code 13). After this new purchase, the value of the variable rest is updated, which is equal to the previous remaining quantity rest plus the heuristic purchase batch multiplied by the minimum packaging quantity minus the original planned purchase quantity (pseudo code line 14);

反复以上的循环直到为所有的变量赋值后,输出字典BZheur,为原问题中整数变量BZtskv的一组可行解。Repeat the above cycle until all variables After assignment, the output dictionary BZ heur is a set of feasible solutions for the integer variable BZ tskv in the original problem.

如图4所示,本发明实施例还提供了一种企业资源计划中物料需求计划问题的计算装置,所述装置包括:As shown in FIG4 , an embodiment of the present invention further provides a computing device for material requirement planning problems in enterprise resource planning, the device comprising:

确定模块410,用于归纳制造企业普适性物料管理需求,确定物料的供应方式;The determination module 410 is used to summarize the universal material management requirements of the manufacturing enterprise and determine the material supply method;

建立模块420,用于对物料管理逻辑进行全面分析,根据所述物料的供应方式,使用混合整数规划技术,建立物料需求计划问题的数学模型;Establishing module 420 for comprehensively analyzing the material management logic and establishing a mathematical model of the material requirement planning problem using mixed integer programming technology according to the material supply mode;

求解模块430,用于针对大规模算例,将所述数学模型中的整数变量松弛为线性变量,将所述数学模型变为纯线性规划模型,使用商业求解器结合启发式方法,得到最终的物料采购决策。The solution module 430 is used to relax the integer variables in the mathematical model into linear variables for large-scale calculation examples, transform the mathematical model into a pure linear programming model, and use a commercial solver combined with a heuristic method to obtain the final material procurement decision.

本发明实施例提供的一种企业资源计划中物料需求计划问题的计算装置,其功能结构与本发明实施例提供的一种企业资源计划中物料需求计划问题的计算方法相对应,在此不再赘述。The functional structure of a computing device for a material requirement planning problem in an enterprise resource planning provided by an embodiment of the present invention corresponds to the computing method for a material requirement planning problem in an enterprise resource planning provided by an embodiment of the present invention, which will not be described in detail here.

图5是本发明实施例提供的一种电子设备500的结构示意图,该电子设备500可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器(centralprocessing units,CPU)501和一个或一个以上的存储器502,其中,所述存储器502中存储有指令,所述指令由所述处理器501加载并执行以实现上述企业资源计划中物料需求计划问题的计算方法的步骤。Figure 5 is a structural diagram of an electronic device 500 provided in an embodiment of the present invention. The electronic device 500 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 501 and one or more memories 502, wherein the memories 502 store instructions, and the instructions are loaded and executed by the processor 501 to implement the steps of the calculation method of the material requirement planning problem in the above-mentioned enterprise resource planning.

在示例性实施例中,还提供了一种计算机可读存储介质,例如包括指令的存储器,上述指令可由终端中的处理器执行以完成上述企业资源计划中物料需求计划问题的计算方法。例如,所述计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including instructions, which can be executed by a processor in a terminal to complete the calculation method of the material requirement planning problem in the enterprise resource planning. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1.一种企业资源计划中物料需求计划问题的计算方法,其特征在于,所述方法包括:1. A method for calculating material requirement planning problems in enterprise resource planning, characterized in that the method comprises: S1、归纳制造企业普适性物料管理需求,确定物料的供应方式;S1. Summarize the universal material management needs of manufacturing enterprises and determine the material supply method; S2、对物料管理逻辑进行全面分析,根据所述物料的供应方式,使用混合整数规划技术,建立物料需求计划问题的数学模型;S2. Conduct a comprehensive analysis of the material management logic and establish a mathematical model of the material requirement planning problem using mixed integer programming techniques based on the material supply method; S3、针对大规模算例,将所述数学模型中的整数变量松弛为线性变量,将所述数学模型变为纯线性规划模型,使用商业求解器结合启发式方法,得到最终的物料采购决策;S3. For large-scale examples, the integer variables in the mathematical model are relaxed into linear variables, the mathematical model is transformed into a pure linear programming model, and the final material procurement decision is obtained by using a commercial solver combined with a heuristic method; 所述S1,具体包括:The S1 specifically includes: 在本地库存供应、制造供应、采购供应的供应方式基础上,增加了异地库存调拨、OpenPO供应、Liability供应,最终确定物料的供应方式包括五种供应方式:包含本地库存供应和异地库存调拨的库存供应、制造供应、采购供应、Open PO供应以及Liability供应,所述Open PO供应,指已签订采购合同,采购物料已发货未到货的部分,所述Liability供应,指与供应商初步达成采购意向,但未签订具体采购合同的预估部分;On the basis of local inventory supply, manufacturing supply, and procurement supply, remote inventory transfer, OpenPO supply, and liability supply were added. The final material supply methods include five supply methods: inventory supply including local inventory supply and remote inventory transfer, manufacturing supply, procurement supply, Open PO supply, and liability supply. The Open PO supply refers to the part of the purchased materials that have been shipped but not yet arrived after the procurement contract has been signed. The liability supply refers to the estimated part of the preliminary procurement intention reached with the supplier but no specific procurement contract has been signed; 所述S2中的物料需求计划问题是在已知计划期内各工厂所需完成订单的情况下,对各工厂物料供应的方式与数量进行决策;The material requirement planning problem in S2 is to decide the method and quantity of material supply to each factory when the orders that each factory needs to complete within the planning period are known; 问题的输入包括:订单信息、主生产计划信息和物料信息;所述订单信息包括:订单货量和订单对应的BOM信息;所述主生产计划信息包括:计划期时长和计划期内各工厂订单排产计划;所述物料信息包括:是否属于MPQ/MOQ物料的物料属性、计划期初始时刻各工厂各供应方式下各物料初始可用量和供应成本;所述BOM是物料清单,其数据结构是树,根节点是最终产品,叶节点是生产原料,中间层的每个节点对应一种中间产物;所述MPQ是最小包装量;所述MOQ是最小订货量;The input of the problem includes: order information, master production plan information and material information; the order information includes: order quantity and BOM information corresponding to the order; the master production plan information includes: planning period and order scheduling plan of each factory during the planning period; the material information includes: whether it belongs to MPQ/MOQ material attributes, the initial available quantity and supply cost of each material under each supply mode of each factory at the beginning of the planning period; the BOM is a bill of materials, and its data structure is a tree, the root node is the final product, the leaf node is the production raw material, and each node in the middle layer corresponds to an intermediate product; the MPQ is the minimum packaging quantity; the MOQ is the minimum order quantity; 问题的输出包括:各订单对应BOM中各节点的供应决策、各物料采购情况、计划期内各工厂本地库存与采购库存变化情况,所述采购库存,指由于采购的部分未使用完而产生的库存,与原有本地库存各自独立计算;The output of the problem includes: the supply decision of each node in the BOM corresponding to each order, the purchase status of each material, and the changes in the local inventory and purchase inventory of each factory during the planning period. The purchase inventory refers to the inventory generated due to the unused part of the purchase, which is calculated independently from the original local inventory. 问题的优化目标包括:最小化计划期内采购成本、最小化计划期内调拨Open PO成本和最大化计划期内不含采购库存的库存使用量;The optimization objectives of the problem include: minimizing the purchase cost during the planning period, minimizing the cost of transferring Open PO during the planning period, and maximizing the inventory usage excluding the purchase inventory during the planning period; 所述S2中的所述数学模型包括:The mathematical model in S2 includes: 集合与索引:Collections and Indexes: 订单集合 Order Collection 订单i的BOM包含的节点集合 The node set contained in the BOM of order i 计划期内的时间节点集合 A collection of time nodes within the planning period 工厂集合 Factory Collection 物料集合 Material Collection 供应商集合 Supplier Collection MPQ物料集合 MPQ Material Collection MOQ物料集合 MOQ Material Collection 所有BOM中的根节点集合 The root node collection of all BOMs 所有BOM中的叶节点集合 The set of leaf nodes in all BOMs 所有BOM中的Open PO调拨节点集合 A collection of Open PO transfer nodes in all BOMs 所有BOM中的Liability供应节点集合 A collection of Liability supply nodes in all BOMs 所有BOM中的替换组节点集合 A collection of replacement group nodes in all BOMs 参数:parameter: Di订单i的需求数量D i demand quantity for order i CMk物料k的库存供应成本CM k Inventory supply cost of material k Inv0sk 0时刻,工厂s中,物料k的本地库存可用量Inv 0sk 0, the local inventory available for material k in factory s OPO0sk 0时刻,工厂s中,物料k的Open PO可用量OPO 0sk 0, the Open PO available quantity of material k in plant s PS0sk 0时刻,工厂s中,物料k的采购库存水位PS 0sk 0, the purchase inventory level of material k in factory s Lia0k 0时刻物料k的Liability可用量Lia 0k The available amount of liability of material k at time 0 αijl订单i的节点j与其子节点l的物料配比α ijl Material ratio between node j of order i and its child node l MPQkv MPQ物料k在供应商v处的批次大小MPQ kv MPQ batch size of material k at supplier v MOQkv MOQ物料k在供应商v处的最小订货量MOQ kv Minimum order quantity of MOQ material k at supplier v 变量:variable: Xij需求i的节点j通过本地库存和异地库存调拨满足的数量 Xij is the quantity of node j that meets demand i through local inventory and remote inventory transfer Yij需求i的节点j通过制造满足的数量 Yij is the number of nodes j that meet demand i by manufacturing Zij需求i的节点j通过采购满足的数量 Zij is the quantity of node j that meets demand i through procurement EXij需求i的节点j通过Open PO所满足的数量EX ij The number of nodes j whose demand i is satisfied by Open PO LXij需求i的节点j通过Liability满足的数量LX ij is the number of nodes j whose demand i is satisfied by Liability Mij需求i的节点j的齐套满足量M ij is the amount of complete satisfaction of node j for demand i Stsk在时间节点t,工厂s中,物料k的本地库存供应量S tsk is the local inventory supply of material k in factory s at time node t EStsk在时间节点t,工厂s中,物料k的Open PO供应量ES tsk Open PO supply of material k in plant s at time node t Ntsk在时间节点t,工厂s中,物料k的库存消耗量N tsk is the inventory consumption of material k in factory s at time node t. VNtsk在时间节点t,工厂s中,物料k的本工厂库存消耗量VN tsk is the inventory consumption of material k in factory s at time node t. ENtsk在时间节点t,工厂s中,物料k的本工厂Open PO消耗量EN tsk The consumption of Open PO of material k in factory s at time node t FNtsk在时间节点t,工厂s中,物料k的Open PO调拨量FN tsk Open PO transfer quantity of material k in factory s at time node t GNtsk在时间节点t,工厂s中,物料k的库存调拨量GN tsk is the stock transfer quantity of material k in factory s at time node t. Ptsk在时间节点t,工厂s中,物料k的采购供应量P tsk is the purchase supply of material k in factory s at time node t LStk在时间节点t,物料k的Liability供应可用量LS tk is the available supply of material k at time node t. LNtk在时间节点t,物料k的Liability消耗量LN tkLiability consumption of material k at time node t Invtsk在时间节点t,工厂s中,物料k的库存可用量,t≥1Inv tsk is the available inventory of material k in factory s at time node t, t≥1 OPOtsk在时间节点t,工厂s中,物料k的Open PO可用量,t≥1OPO tsk Open PO availability of material k in plant s at time node t, t≥1 PPtskv在时间节点t,工厂s中,MPQ/MOQ物料k从供应商v处的采购量PP tskv is the purchase volume of MPQ/MOQ material k from supplier v in factory s at time node t BZtskv在时间节点t,工厂s中,MPQ物料k从供应商v处的采购批次,整数变量BZ tskv is the purchase batch of MPQ material k from supplier v at time node t, in plant s, integer variable PStsk在时间节点为t,工厂s中,物料k的采购库存水位PS tsk is the purchase inventory level of material k in factory s at time t 目标函数:Objective function: min J1+J2-J3 (1)min J 1 +J 2 -J 3 (1) 约束:constraint: BZtskv∈N (27)BZ tskv ∈N (27) Xij,Yij,Zij,EXij,LXij,Mij,Stsk,EStsk,Ntsk,VNtsk,ENtsk,FNtsk,GNtsk,Ptsk,LStk,LNtk,PPtskv,PStsk≥0(28) Xij , Yij , Zij ,EXij, LXij , Mij,Stsk , EStsk , Ntsk , VNtsk ,ENtsk, FNtsk , GNtsk , Ptsk , LStk , LNtk , PPtskv , PS tsk ≥0(28) 变量部分:Xij,Yij,Zij,EXij,LXij对应各节点的供应决策;PPtskv,BZtskv对应物料的采购决策;Invtsk,PStsk对应计划期内的库存可用量和采购库存水位;Variable part: Xij , Yij , Zij , EXij , LXij correspond to the supply decision of each node; PPtskv , BZtskv correspond to the purchase decision of materials; Invtsk , PStsk correspond to the inventory availability and purchase inventory level during the planning period; 目标函数和约束部分:式(2)是所有物料的采购成本的总和;式(3)是所有物料的OpenPO调拨成本的总和;式(4)是各时刻本地库存水位的总和;式(2)-(4)中均含有时间梯度乘子(T+1-t),式(2)(3)是最小化量,式(4)是最大化量,因此将式(2)(3)的右侧相加,再减去式(4)的右侧,得到统一最小化的目标函数式(1),同时通过时间梯度乘子进行了“成本越晚产生越好”的软约束。Objective function and constraint part: Formula (2) is the sum of the purchase costs of all materials; Formula (3) is the sum of the OpenPO transfer costs of all materials; Formula (4) is the sum of the local inventory levels at each moment; Formulas (2)-(4) all contain the time gradient multiplier (T+1-t). Formulas (2) and (3) are the minimization quantities, and Formula (4) is the maximization quantity. Therefore, the right sides of Formulas (2) and (3) are added together, and then the right side of Formula (4) is subtracted to obtain the uniform minimization objective function Formula (1). At the same time, the time gradient multiplier is used to impose a soft constraint of "the later the cost is generated, the better". 2.根据权利要求1所述的方法,其特征在于,所述S3,具体包括:2. The method according to claim 1, characterized in that said S3 specifically comprises: S31、将整数变量BZtskv的类型从Integer更改为Continuous,松弛为线性变量此时模型变为不包含整数变量的纯线性规划模型;S31. Change the type of integer variable BZ tskv from Integer to Continuous and relax it to a linear variable At this point, the model becomes a pure linear programming model that does not contain integer variables; S32、使用商业求解器求解松弛后的线性变量求解结果使用字典BZrelax记录,所述求解结果对于原问题是不可行的解,使用启发式方法对所述求解结果进行进一步处理,得到最终的MPQ物料采购批次,记为使用字典BZheur记录,所述启发式方法基于所述按时间顺序遍历MPQ物料在各供应商处的采购批次;S32. Solve the relaxed linear variables using commercial solvers The solution result is recorded using the dictionary BZ relax . The solution result is an infeasible solution to the original problem. The solution result is further processed using a heuristic method to obtain the final MPQ material procurement batch, which is recorded as Using the dictionary BZ heur record, the heuristic method is based on the Traverse the purchase batches of MPQ materials from various suppliers in chronological order; S33、其余的决策变量在原问题中就是线性变量,在求解松弛后的纯线性规划模型得到结果后,直接作为原问题的解。S33. The remaining decision variables are linear variables in the original problem. After solving the relaxed pure linear programming model and obtaining the result, they are directly used as the solution to the original problem. 3.根据权利要求2所述的方法,其特征在于,所述启发式方法的输入为通过求解纯线性规划模型得到的BZrelax字典,输出为启发式方法得到的记录原问题可行解的BZheur字典,所述S32中使用启发式方法对所述求解结果进行进一步处理,具体包括:3. The method according to claim 2, characterized in that the input of the heuristic method is a BZ relax dictionary obtained by solving a pure linear programming model, and the output is a BZ heur dictionary obtained by the heuristic method that records feasible solutions to the original problem, and the heuristic method is used in S32 to further process the solution result, specifically comprising: 对于每一个工厂,对于每一个MPQ物料,设置一个变量rest,初始值为0,使用这个变量记录遍历过程中对应工厂内对应物料满足当前需求后的剩余值,若不足以满足下一笔所遍历需求的供应则需要新的采购,否则不需要新的采购,从rest中扣除相应供应量;For each factory and each MPQ material, set a variable rest with an initial value of 0. Use this variable to record the remaining value of the corresponding material in the corresponding factory after meeting the current demand during the traversal process. If the supply is not enough to meet the next traversed demand, new purchases are required. Otherwise, no new purchases are required and the corresponding supply is deducted from rest. 进一步遍历:对于每一个时刻,对于每一个供应商,设置一个变量PlanPurchase,表示对应各时刻各工厂在各供应商处采购各物料的原计划采购量,也是求解纯线性规划模型得到的各MPQ物料的采购量,原计划采购量等于求解纯线性规划模型得到的乘以对应各物料在各供应商处的最小包装量,然后四舍五入,如果当前工厂中当前物料的rest大于等于原计划采购量,则不做新的采购,令对应下标的变量为0,表示当前时刻对应工厂从供应商处采购物料的批次为0,并从rest中扣除原计划采购量,否则,设置一个变量Lack,表示rest不满足供应的缺少部分,等于原计划供应量减去rest,此时对应下标的变量等于Lack与对应各物料在各供应商处的最小包装量的比值再向上取整,在进行新的采购后,更新变量rest的值,更新后的变量rest的值等于之前的剩余量rest加上启发式的采购批次乘以最小包装量减去原计划采购量;Further traversal: For each moment and each supplier, set a variable PlanPurchase, which represents the original planned purchase quantity of each material purchased by each factory from each supplier at each moment, which is also the purchase quantity of each MPQ material obtained by solving the pure linear programming model. The original planned purchase quantity is equal to the purchase quantity obtained by solving the pure linear programming model. Multiply by the minimum packaging quantity of each material at each supplier, and then round up. If the rest of the current material in the current factory is greater than or equal to the original planned purchase quantity, no new purchase is made, and the corresponding subscript variable is set. If it is 0, it means that the batch of materials purchased by the corresponding factory from the supplier at the current moment is 0, and the original planned purchase quantity is deducted from rest. Otherwise, a variable Lack is set to indicate that rest does not meet the missing part of the supply, which is equal to the original planned supply minus rest. At this time, the corresponding subscript variable It is equal to the ratio of Lack to the minimum packaging quantity of each material at each supplier, rounded up. After a new purchase, the value of the variable rest is updated. The updated value of the variable rest is equal to the previous remaining quantity rest plus the heuristic purchase batch multiplied by the minimum packaging quantity minus the original planned purchase quantity. 反复以上的循环直到为所有的变量赋值后,输出字典BZheur,为原问题中整数变量BZtskv的一组可行解。Repeat the above cycle until all variables After assignment, the output dictionary BZ heur is a set of feasible solutions for the integer variable BZ tskv in the original problem. 4.根据权利要求1所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1, characterized in that the method further comprises: 针对小或中规模算例,使用商业求解器求解所述数学模型。For small or medium scale cases, the mathematical model is solved using commercial solvers. 5.一种企业资源计划中物料需求计划问题的计算装置,其特征在于,所述装置包括:5. A computing device for material requirement planning problems in enterprise resource planning, characterized in that the device comprises: 确定模块,用于归纳制造企业普适性物料管理需求,确定物料的供应方式;The determination module is used to summarize the universal material management needs of manufacturing enterprises and determine the material supply method; 建立模块,用于对物料管理逻辑进行全面分析,根据所述物料的供应方式,使用混合整数规划技术,建立物料需求计划问题的数学模型;Establish a module for comprehensive analysis of material management logic and establish a mathematical model of the material requirement planning problem using mixed integer programming techniques based on the supply mode of the material; 求解模块,用于针对大规模算例,将所述数学模型中的整数变量松弛为线性变量,将所述数学模型变为纯线性规划模型,使用商业求解器结合启发式方法,得到最终的物料采购决策;A solution module, for large-scale calculation examples, relaxes integer variables in the mathematical model into linear variables, transforms the mathematical model into a pure linear programming model, and uses a commercial solver combined with a heuristic method to obtain a final material procurement decision; 所述确定模块,具体用于:The determination module is specifically used for: 在本地库存供应、制造供应、采购供应的供应方式基础上,增加了异地库存调拨、OpenPO供应、Liability供应,最终确定物料的供应方式包括五种供应方式:包含本地库存供应和异地库存调拨的库存供应、制造供应、采购供应、Open PO供应以及Liability供应,所述Open PO供应,指已签订采购合同,采购物料已发货未到货的部分,所述Liability供应,指与供应商初步达成采购意向,但未签订具体采购合同的预估部分;On the basis of local inventory supply, manufacturing supply, and procurement supply, remote inventory transfer, OpenPO supply, and liability supply were added. The final material supply methods include five supply methods: inventory supply including local inventory supply and remote inventory transfer, manufacturing supply, procurement supply, Open PO supply, and liability supply. The Open PO supply refers to the part of the purchased materials that have been shipped but not yet arrived after the procurement contract has been signed. The liability supply refers to the estimated part of the preliminary procurement intention reached with the supplier but no specific procurement contract has been signed; 所述物料需求计划问题是在已知计划期内各工厂所需完成订单的情况下,对各工厂物料供应的方式与数量进行决策;The material requirement planning problem is to make decisions on the method and quantity of material supply to each factory when the orders that each factory needs to complete within the planning period are known; 问题的输入包括:订单信息、主生产计划信息和物料信息;所述订单信息包括:订单货量和订单对应的BOM信息;所述主生产计划信息包括:计划期时长和计划期内各工厂订单排产计划;所述物料信息包括:是否属于MPQ/MOQ物料的物料属性、计划期初始时刻各工厂各供应方式下各物料初始可用量和供应成本;所述BOM是物料清单,其数据结构是树,根节点是最终产品,叶节点是生产原料,中间层的每个节点对应一种中间产物;所述MPQ是最小包装量;所述MOQ是最小订货量;The input of the problem includes: order information, master production plan information and material information; the order information includes: order quantity and BOM information corresponding to the order; the master production plan information includes: planning period length and order scheduling plan of each factory during the planning period; the material information includes: whether it belongs to MPQ/MOQ material attributes, the initial available quantity and supply cost of each material under each supply mode of each factory at the beginning of the planning period; the BOM is a bill of materials, and its data structure is a tree, the root node is the final product, the leaf node is the production raw material, and each node in the middle layer corresponds to an intermediate product; the MPQ is the minimum packaging quantity; the MOQ is the minimum order quantity; 问题的输出包括:各订单对应BOM中各节点的供应决策、各物料采购情况、计划期内各工厂本地库存与采购库存变化情况,所述采购库存,指由于采购的部分未使用完而产生的库存,与原有本地库存各自独立计算;The output of the problem includes: the supply decision of each node in the BOM corresponding to each order, the purchase status of each material, and the changes in the local inventory and purchase inventory of each factory during the planning period. The purchase inventory refers to the inventory generated due to the unused part of the purchase, which is calculated independently from the original local inventory. 问题的优化目标包括:最小化计划期内采购成本、最小化计划期内调拨Open PO成本和最大化计划期内不含采购库存的库存使用量;The optimization objectives of the problem include: minimizing the purchase cost during the planning period, minimizing the cost of transferring Open PO during the planning period, and maximizing the inventory usage excluding purchase inventory during the planning period; 所述数学模型包括:The mathematical model includes: 集合与索引:Collections and Indexes: 订单集合 Order Collection 订单i的BOM包含的节点集合 The node set contained in the BOM of order i 计划期内的时间节点集合 A collection of time nodes within the planning period 工厂集合 Factory Collection 物料集合 Material Collection 供应商集合 Supplier Collection MPQ物料集合 MPQ Material Collection MOQ物料集合 MOQ Material Collection 所有BOM中的根节点集合 The root node collection of all BOMs 所有BOM中的叶节点集合 The set of leaf nodes in all BOMs 所有BOM中的Open PO调拨节点集合 A collection of Open PO transfer nodes in all BOMs 所有BOM中的Liability供应节点集合 A collection of Liability supply nodes in all BOMs 所有BOM中的替换组节点集合 A collection of replacement group nodes in all BOMs 参数:parameter: Di订单i的需求数量D i demand quantity for order i CMk物料k的库存供应成本CM k Inventory supply cost of material k Inv0sk 0时刻,工厂s中,物料k的本地库存可用量Inv 0sk 0, the local inventory available for material k in factory s OPO0sk 0时刻,工厂s中,物料k的Open PO可用量OPO 0sk 0, the Open PO available quantity of material k in plant s PS0sk 0时刻,工厂s中,物料k的采购库存水位PS 0sk 0, the purchase inventory level of material k in factory s Lia0k 0时刻物料k的Liability可用量Lia 0k The available amount of liability of material k at time 0 αijl订单i的节点j与其子节点l的物料配比α ijl Material ratio between node j of order i and its child node l MPQkv MPQ物料k在供应商v处的批次大小MPQ kv Batch size of MPQ material k at supplier v MOQkv MOQ物料k在供应商v处的最小订货量MOQ kv Minimum order quantity of MOQ material k at supplier v 变量:variable: Xij需求i的节点j通过本地库存和异地库存调拨满足的数量 Xij is the quantity of node j that meets demand i through local inventory and remote inventory transfer Yij需求i的节点j通过制造满足的数量 Yij is the number of nodes j that meet demand i by manufacturing Zij需求i的节点j通过采购满足的数量 Zij is the quantity of node j that meets demand i through procurement EXij需求i的节点j通过Open PO所满足的数量EX ij The number of nodes j whose demand i is satisfied by Open PO LXij需求i的节点j通过Liability满足的数量LX ij is the number of nodes j whose demand i is satisfied by Liability Mij需求i的节点j的齐套满足量M ij is the amount of complete satisfaction of node j for demand i Stsk在时间节点t,工厂s中,物料k的本地库存供应量S tsk is the local inventory supply of material k in factory s at time node t EStsk在时间节点t,工厂s中,物料k的Open PO供应量ES tsk Open PO supply of material k in plant s at time node t Ntsk在时间节点t,工厂s中,物料k的库存消耗量N tsk is the inventory consumption of material k in factory s at time node t. VNtsk在时间节点t,工厂s中,物料k的本工厂库存消耗量VN tsk is the inventory consumption of material k in factory s at time node t. ENtsk在时间节点t,工厂s中,物料k的本工厂Open PO消耗量EN tsk The consumption of Open PO of material k in factory s at time node t FNtsk在时间节点t,工厂s中,物料k的Open PO调拨量FN tsk Open PO transfer quantity of material k in factory s at time node t GNtsk在时间节点t,工厂s中,物料k的库存调拨量GN tsk is the stock transfer quantity of material k in factory s at time node t. Ptsk在时间节点t,工厂s中,物料k的采购供应量P tsk is the purchase supply of material k in factory s at time node t LStk在时间节点t,物料k的Liability供应可用量LS tk is the available supply of material k at time node t. LNtk在时间节点t,物料k的Liability消耗量LN tkLiability consumption of material k at time node t Invtsk在时间节点t,工厂s中,物料k的库存可用量,t≥1Inv tsk is the available inventory of material k in factory s at time node t, t≥1 OPOtsk在时间节点t,工厂s中,物料k的Open PO可用量,t≥1OPO tsk Open PO availability of material k in plant s at time node t, t≥1 PPtskv在时间节点t,工厂s中,MPQ/MOQ物料k从供应商v处的采购量PP tskv is the purchase volume of MPQ/MOQ material k from supplier v in factory s at time node t BZtskv在时间节点t,工厂s中,MPQ物料k从供应商v处的采购批次,整数变量BZ tskv is the purchase batch of MPQ material k from supplier v at time node t, in plant s, integer variable PStsk在时间节点为t,工厂s中,物料k的采购库存水位PS tsk is the purchase inventory level of material k in factory s at time t 目标函数:Objective function: min J1+J2-J3 (1)min J 1 +J 2 -J 3 (1) 约束:constraint: BZtskv∈N (27)BZ tskv ∈N (27) Xij,Yij,Zij,EXij,LXij,Mij,Stsk,EStsk,Ntsk,VNtsk,ENtsk,FNtsk,GNtsk,Ptsk,LStk,LNtk,PPtskv,PStsk≥0(28) Xij , Yij , Zij ,EXij, LXij , Mij,Stsk , EStsk , Ntsk , VNtsk ,ENtsk, FNtsk , GNtsk , Ptsk , LStk , LNtk , PPtskv , PS tsk ≥0(28) 变量部分:Xij,Yij,Zij,EXij,LXij对应各节点的供应决策;PPtskv,BZtskv对应物料的采购决策;Invtsk,PStsk对应计划期内的库存可用量和采购库存水位;Variable part: Xij , Yij , Zij , EXij , LXij correspond to the supply decision of each node; PPtskv , BZtskv correspond to the purchase decision of materials; Invtsk , PStsk correspond to the inventory availability and purchase inventory level during the planning period; 目标函数和约束部分:式(2)是所有物料的采购成本的总和;式(3)是所有物料的OpenPO调拨成本的总和;式(4)是各时刻本地库存水位的总和;式(2)-(4)中均含有时间梯度乘子(T+1-t),式(2)(3)是最小化量,式(4)是最大化量,因此将式(2)(3)的右侧相加,再减去式(4)的右侧,得到统一最小化的目标函数式(1),同时通过时间梯度乘子进行了“成本越晚产生越好”的软约束。Objective function and constraint part: Formula (2) is the sum of the purchase costs of all materials; Formula (3) is the sum of the OpenPO transfer costs of all materials; Formula (4) is the sum of the local inventory levels at each moment; Formulas (2)-(4) all contain the time gradient multiplier (T+1-t). Formulas (2) and (3) are the minimization quantities, and Formula (4) is the maximization quantity. Therefore, the right sides of Formulas (2) and (3) are added together, and then the right side of Formula (4) is subtracted to obtain the uniform minimization objective function Formula (1). At the same time, the time gradient multiplier is used to impose a soft constraint of "the later the cost is generated, the better". 6.一种电子设备,所述电子设备包括处理器和存储器,所述存储器中存储有指令,其特征在于,所述指令由所述处理器加载并执行以实现如权利要求1-4任一项所述企业资源计划中物料需求计划问题的计算方法。6. An electronic device comprising a processor and a memory, wherein the memory stores instructions, wherein the instructions are loaded and executed by the processor to implement the calculation method for material requirement planning problems in enterprise resource planning as described in any one of claims 1-4. 7.一种计算机可读存储介质,所述存储介质中存储有指令,其特征在于,所述指令由处理器加载并执行以实现如权利要求1-4任一项所述企业资源计划中物料需求计划问题的计算方法。7. A computer-readable storage medium, wherein instructions are stored in the storage medium, wherein the instructions are loaded and executed by a processor to implement the calculation method for material requirement planning problems in enterprise resource planning as described in any one of claims 1 to 4.
CN202311045755.9A 2023-08-18 2023-08-18 Method and device for calculating material demand planning problem in enterprise resource planning Active CN117035339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311045755.9A CN117035339B (en) 2023-08-18 2023-08-18 Method and device for calculating material demand planning problem in enterprise resource planning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311045755.9A CN117035339B (en) 2023-08-18 2023-08-18 Method and device for calculating material demand planning problem in enterprise resource planning

Publications (2)

Publication Number Publication Date
CN117035339A CN117035339A (en) 2023-11-10
CN117035339B true CN117035339B (en) 2024-05-28

Family

ID=88602091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311045755.9A Active CN117035339B (en) 2023-08-18 2023-08-18 Method and device for calculating material demand planning problem in enterprise resource planning

Country Status (1)

Country Link
CN (1) CN117035339B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112150076A (en) * 2020-09-29 2020-12-29 陕西科技大学 Workshop material dynamic distribution model design and implementation method based on station sequencing
CN112598162A (en) * 2020-12-07 2021-04-02 合肥工业大学 Optimization method for pharmaceutical factory selection and production plan formulation based on double-layer planning
CN113627745A (en) * 2021-07-21 2021-11-09 苏州慧工云信息科技有限公司 Material demand planning method and system
CN114239989A (en) * 2021-12-24 2022-03-25 四川启睿克科技有限公司 Method, system, equipment and storage medium for calculating material demand plan
CN115619200A (en) * 2022-12-02 2023-01-17 天津大学 A combined optimization method and device for production scheduling and multi-skilled worker scheduling of split Seru

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW594528B (en) * 2002-09-11 2004-06-21 Hon Hai Prec Ind Co Ltd System and method for rescheduling purchase order

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112150076A (en) * 2020-09-29 2020-12-29 陕西科技大学 Workshop material dynamic distribution model design and implementation method based on station sequencing
CN112598162A (en) * 2020-12-07 2021-04-02 合肥工业大学 Optimization method for pharmaceutical factory selection and production plan formulation based on double-layer planning
CN113627745A (en) * 2021-07-21 2021-11-09 苏州慧工云信息科技有限公司 Material demand planning method and system
CN114239989A (en) * 2021-12-24 2022-03-25 四川启睿克科技有限公司 Method, system, equipment and storage medium for calculating material demand plan
CN115619200A (en) * 2022-12-02 2023-01-17 天津大学 A combined optimization method and device for production scheduling and multi-skilled worker scheduling of split Seru

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
我国汽车制造供需网协同生产系统模型研究;毛照 昉等;《汽车工程》;20091231;第31卷(第8期);第777-781页 *

Also Published As

Publication number Publication date
CN117035339A (en) 2023-11-10

Similar Documents

Publication Publication Date Title
CN113099729B (en) Deep reinforcement learning of production schedule
Leung et al. An integrated online pick-to-sort order batching approach for managing frequent arrivals of B2B e-commerce orders under both fixed and variable time-window batching
CN113867295B (en) A method, system, device and storage medium for dynamic scheduling of AGV in a manufacturing workshop based on digital twin
Li et al. Multi-objective optimization of cloud manufacturing service composition with cloud-entropy enhanced genetic algorithm.
KR20010053593A (en) Computer-implemented value management tool for an asset intensive manufacturer
US20120053973A1 (en) Method of repairing financially infeasible genetic algorithm chromosome encoding activity start times in scheduling
CN113065714A (en) Multi-project type multi-target centralized purchasing decision optimization method and system
Choy et al. A hybrid scheduling decision support model for minimizing job tardiness in a make-to-order based mould manufacturing environment
US20110282475A1 (en) Effective cycle time management employing a multi-horizon model
Silva et al. A hybrid bi-objective optimization approach for joint determination of safety stock and safety time buffers in multi-item single-stage industrial supply chains
Li et al. Robust optimization for integrated construction scheduling and multiscale resource allocation
Modares et al. A new vendor-managed inventory model by applying blockchain technology and considering environmental problems
CN117035339B (en) Method and device for calculating material demand planning problem in enterprise resource planning
Harder et al. Modeling participation of storage units in electricity markets using multi-agent deep reinforcement learning
CN113850448B (en) Management method and system for consumption and scheduling of spare parts
CN114581220B (en) Data processing method and device and distributed computing system
Miranzadeh et al. Simulation of a single product supply chain model with ARENA
Ignaciuk et al. Quantifying the bullwhip effect in networked structures with nontrivial topologies
CN116248520A (en) Benchmark test method and system for collaborative optimization of network platform manufacturing service
Durand et al. Determination of storage tanks location for optimal short-term scheduling in multipurpose/multiproduct batch-continuous plants under uncertainties
CN118606048B (en) Cloud service management platform resource allocation method and system
Seifbarghy et al. Single-vendor multi-buyer vendor managed inventory with discrete demand and stockout
CN118982124B (en) Resource scheduling optimization method and system based on artificial intelligence
CN117669930B (en) Cooperative scheduling method, apparatus, device, storage medium and program product
KR102766742B1 (en) Renewable energy power source automatic mathcing artificial intelligence system for re100 and operating method thereof

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