The present disclosure relates generally to supply chain planning and specifically to systems and methods of image-based decomposition solving of linear programming supply chain planning problems.
During supply chain planning, a supply chain plan may be generated by modeling and solving a supply chain planning problem as a linear programming (LP) problem. Although this approach may generate optimal solutions, it is overly time consuming, resource intensive, and often requires simplifying constraints or objectives to finish the solve within pre-specified batch solve windows. Speeding up solve times can sometimes be accomplished by decomposing a monolithic LP into multiple smaller problems, which are then solved individually. Unfortunately, monolithic LP problems are generally not amenable to standard decomposition techniques. The inability to decompose monolithic LP problems to improve solving speed of supply chain planning problems is undesirable.
A more complete understanding of the present invention may be derived by referring to the detailed description when considered in connection with the following illustrative figures. In the figures, like reference numbers refer to like elements or acts throughout the figures.
Aspects and applications of the invention presented herein are described below in the drawings and detailed description of the invention. Unless specifically noted, it is intended that the words and phrases in the specification and the claims be given their plain, ordinary, and accustomed meaning to those of ordinary skill in the applicable arts.
In the following description, and for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the various aspects of the invention. It will be understood, however, by those skilled in the relevant arts, that the present invention may be practiced without these specific details. In other instances, known structures and devices are shown or discussed more generally in order to avoid obscuring the invention. In many cases, a description of the operation is sufficient to enable one to implement the various forms of the invention, particularly when the operation is to be implemented in software. It should be noted that there are many different and alternative configurations, devices and technologies to which the disclosed inventions may be applied. The full scope of the inventions is not limited to the examples that are described below.
In one embodiment, supply chain planner 110 comprises server 112 and database 114. Server 112 comprises one or more modules that model, decompose, and solve supply chain planning problems using image-based processing techniques to decompose monolithic LP supply chain planning problems into independent subproblems. Supply chain planner 110 translates image-based insights into LP insights to rapidly generate a supply chain plan. Although standard decomposition techniques may speed up the solve time for optimization problems, decomposition of an LP problem may depend on prior knowledge of the structure and functional knowledge of the problem being optimized. In cases where functional insights are not available or may not be well-defined or may be too complex, a standard decomposition technique cannot be applied, leading to relatively longer runtimes. As described in more detail below, supply chain planner 110 decomposes a large supply chain planning problem into more than one smaller supply chain planning problems by converting the formulation of the LP problem (such as, for example, one or more matrices) into one or more images, identifying clusters and contours that indicate subproblem components, and solving the subproblems sequentially, or in parallel, to generate a globally-optimal solution.
Inventory system 120 comprises server 122 and database 124. Server 122 of inventory system 120 is configured to receive and transmit product data 216 (see
Transportation network 130 comprises server 132 and database 134. According to embodiments, transportation network 130 directs one or more transportation vehicles 136 to ship one or more items between one or more supply chain entities 150, based, at least in part, on the number of items currently in transit in transportation network 130, a supply chain plan, including a supply chain master plan, the number of items currently in stock at one or more supply chain entities 150, a forecasted demand, a supply chain disruption, a material or capacity reallocation, current and projected inventory levels at one or more stocking locations, and/or one or more additional factors described herein. One or more transportation vehicles 136 comprise, for example, any number of trucks, cars, vans, boats, airplanes, unmanned aerial vehicles (UAVs), cranes, robotic machinery, or the like. One or more transportation vehicles 136 may comprise radio, satellite, or other communication that communicates location information (such as, for example, geographic coordinates, distance from a location, global positioning satellite (GPS) information, or the like) with supply chain planner 110, inventory system 120, transportation network 130, one or more imaging devices 140, and/or one or more supply chain entities 150 to identify the location of one or more transportation vehicles 136 and the location of an item of any inventory or shipment located on one or more transportation vehicles 136.
One or more imaging devices 140 comprise one or more processors 142, memory 144, one or more sensors 146, and may include any suitable input device, output device, fixed or removable computer-readable storage media, or the like. According to embodiments, one or more imaging devices 140 comprise an electronic device that receives data from one or more sensors 146. One or more sensors 146 of one or more imaging devices 140 may comprise an imaging sensor, such as, a camera, scanner, electronic eye, photodiode, charged coupled device (CCD), or any other electronic component that detects visual characteristics (such as color, shape, size, fill level, or the like) of objects. One or more imaging devices 140 may comprise, for example, a mobile handheld electronic device such as, for example, a smartphone, a tablet computer, a wireless communication device, and/or one or more networked electronic devices configured to image items using one or more sensors 146 and transmit product images to one or more databases.
In addition, or as an alternative, one or more sensors 146 may comprise a radio receiver and/or transmitter configured to read from and/or write to an electronic tag, such as, for example, a radio-frequency identification (RFID) tag. Each item may be represented in supply chain network 100 by an identifier, including, for example, Stock-Keeping Unit (SKU), Universal Product Code (UPC), serial number, barcode, tag, RFID, or like device that encodes identifying information. One or more imaging devices 140 may generate a mapping of one or more items in supply chain network 100 by scanning an identifier associated with an item and identifying the item based, at least in part, on the scan. This may include, for example, a stationary scanner located at one or more supply chain entities 150 that scans items as the items pass near the scanner. As explained in more detail below, supply chain planner 110, inventory system 120, transportation network 130, and one or more imaging devices 140 may use the mapping of an item to locate the item in supply chain network 100. The location of the item may be used to coordinate the storage and transportation of items in supply chain network 100 according to one or more plans generated by supply chain planner 110 and/or a reallocation of materials or capacity. Plans may comprise one or more of a supply chain plan, production plan, distribution plan, and the like.
Additionally, one or more sensors 146 of one or more imaging devices 140 may be located at one or more locations local to, or remote from, one or more imaging devices 140, including, for example, one or more sensors 146 integrated into one or more imaging devices 140 or one or more sensors 146 remotely located from, but communicatively coupled with, one or more imaging devices 140. According to some embodiments, one or more sensors 146 may be configured to communicate directly or indirectly with one or more of supply chain planner 110, inventory system 120, transportation network 130, one or more imaging devices 140, one or more supply chain entities 150, computer 160, and/or network 170 using one or more communication links 180-190.
As shown in
Computer 160 may include fixed or removable computer-readable storage media, including a non-transitory computer-readable medium, magnetic computer disks, flash drives, CD-ROM, in-memory device or other suitable media to receive output from and provide input to supply chain network 100. Computer 160 may include one or more processors 166 and associated memory to execute instructions and manipulate information according to the operation of supply chain network 100 and any of the methods described herein. In addition, or as an alternative, embodiments contemplate executing the instructions on computer 160 that cause computer 160 to perform functions of the method. An apparatus implementing special purpose logic circuitry, for example, one or more field programmable gate arrays (FPGA) or application-specific integrated circuits (ASIC), may perform functions of the methods described herein. Further examples may also include articles of manufacture including tangible non-transitory computer-readable media that have computer-readable instructions encoded thereon, and the instructions may comprise instructions to perform functions of the methods described herein. By way of example only and not by way of limitation, further embodiments include computer 160 comprising any number of one or more processing units, including, for example, one or more graphical processing units (GPUs), programmed to create, manipulate, render for display, analyze, decompose, or otherwise process one or more graphs, networks, digraphs, multigraphs, images, or other data structures, as described in further detail below.
Supply chain planner 110, inventory system 120, transportation network 130, one or more imaging devices 140, and one or more supply chain entities 150 may each operate on one or more separate computers 160, a network of one or more separate or collective computers 160, or may operate on one or more shared computers 160. In addition, supply chain network 100 may comprise a cloud-based computing system having processing and storage devices at one or more locations local to, or remote from, supply chain planner 110, inventory system 120, transportation network 130, one or more imaging devices 140, and one or more supply chain entities 150. In addition, each of one or more computers 160 may be a work station, personal computer (PC), network computer, notebook computer, tablet, personal digital assistant (PDA), cell phone, telephone, smartphone, mobile device, wireless data port, augmented or virtual reality headset, or any other suitable computing device. In an embodiment, one or more users may be associated with supply chain planner 110, inventory system 120, transportation network 130, one or more imaging devices 140, and one or more supply chain entities 150. These one or more users may include, for example, a “manager” or a “planner” handling supply chain planning and/or one or more related tasks within supply chain network 100. In addition, or as an alternative, these one or more users within supply chain network 100 may include, for example, one or more computers 160 programmed to autonomously handle, among other things, production planning, demand planning, option planning, sales and operations planning, supply chain master planning, plan adjustment after supply chain disruptions, order placement, automated warehouse operations (including removing items from and placing items in inventory), robotic production machinery (including producing items), and/or one or more related tasks within supply chain network 100.
One or more supply chain entities 150 may represent one or more suppliers 152, manufacturers 154, distribution centers 156, and retailers 158 of one or more supply chain networks 100, including one or more enterprises. One or more suppliers 152 may be any suitable entity that offers to sell or otherwise provides one or more components to one or more manufacturers 154. One or more suppliers 152 may, for example, receive a product from a first supply chain entity in supply chain network 100 and provide the product to another supply chain entity. One or more suppliers 152 may comprise automated distribution systems 153 that automatically transport products to one or more manufacturers 154 based, at least in part, on the number of items currently in transit in transportation network 130, a supply chain plan, including a supply chain master plan, the number of items currently in stock at one or more supply chain entities 150, a forecasted demand, a supply chain disruption, a material or capacity reallocation, current and projected inventory levels at one or more stocking locations, and/or one or more additional factors described herein.
One or more manufacturers 154 may be any suitable entity that manufactures at least one product. One or more manufacturers 154 may use one or more items during the manufacturing process to produce any manufactured, fabricated, assembled, or otherwise processed item, material, component, good or product. Items may comprise, for example, components, materials, products, parts, supplies, or other items, that may be used to produce products. In addition, or as an alternative, an item may comprise a supply or resource that is used to manufacture the item, but does not become a part of the item. In one embodiment, a product represents an item ready to be supplied to, for example, another supply chain entity, an item that needs further processing, or any other item. One or more manufacturers 154 may, for example, produce and sell a product to one or more suppliers 152, another one or more manufacturers 154, one or more distribution centers 156, one or more retailers 158, or any other suitable customer or one or more supply chain entities 150. One or more manufacturers 154 may comprise automated robotic production machinery 155 that produce products based, at least in part, on the number of items currently in transit in transportation network 130, a supply chain plan, including a supply chain master plan, the number of items currently in stock at one or more supply chain entities 150, a forecasted demand, a supply chain disruption, a material or capacity reallocation, current and projected inventory levels at one or more stocking locations, and/or one or more additional factors described herein.
One or more distribution centers 156 may be any suitable entity that offers to sell or otherwise distributes at least one product to one or more retailers 158, customers, or any suitable one or more supply chain entities 150. One or more distribution centers 156 may, for example, receive a product from a first supply chain entity in supply chain network 100 and store and transport the product for a second supply chain entity. One or more distribution centers 156 may comprise automated warehousing systems 157 that automatically transport an item to, remove an item from, or place an item into inventory of one or more retailers 158, customers, or one or more supply chain entities 150 based, at least in part, on the number of items currently in transit in transportation network 130, a supply chain plan, including a supply chain master plan, the number of items currently in stock at one or more supply chain entities 150, a forecasted demand, a supply chain disruption, a material or capacity reallocation, current and projected inventory levels at one or more stocking locations, and/or one or more additional factors described herein.
One or more retailers 158 may be any suitable entity that obtains one or more products to sell to one or more customers. In addition, one or more retailers 158 may sell, store, and supply one or more components and/or repair a product with one or more components. One or more retailers 158 may comprise any online or brick and mortar location, including locations with shelving systems 159. Shelving systems 159 may comprise, for example, various racks, fixtures, brackets, notches, grooves, slots, or other attachment devices for fixing shelves in various configurations. These configurations may comprise shelving with adjustable lengths, heights, and other arrangements, which may be adjusted by an employee of one or more retailers based on computer-generated instructions or automatically by machinery to place products in a desired location, and which may be based, at least in part, on the number of items currently in transit in transportation network 130, a supply chain plan, including a supply chain master plan, the number of items currently in stock at one or more supply chain entities 150, a forecasted demand, a supply chain disruption, a material or capacity reallocation, current and projected inventory levels at one or more stocking locations, and/or one or more additional factors described herein.
Although one or more suppliers 152, manufacturers 154, distribution centers 156, and retailers 158 are shown and described as separate and distinct entities, the same entity may simultaneously act as any one or more suppliers 152, manufacturers 154, distribution centers 156, and retailers 158. For example, one or more manufacturers 154 acting as a manufacturer could produce a product, and the same entity could act as one or more suppliers 158 to supply a product to another one or more supply chain entities 150. Although one example of supply chain network 100 is shown and described, embodiments contemplate any configuration of supply chain network 100, without departing from the scope of the present disclosure.
In one embodiment, supply chain planner 110 may be coupled with network 170 using communication link 180, which may be any wireline, wireless, or other link suitable to support data communications between supply chain planner 110 and network 170 during operation of supply chain network 100. Inventory system 120 may be coupled with network 170 using communication link 182, which may be any wireline, wireless, or other link suitable to support data communications between inventory system 120 and network 170 during operation of supply chain network 100. Transportation network 130 may be coupled with network 170 using communication link 184, which may be any wireline, wireless, or other link suitable to support data communications between transportation network 130 and network 170 during operation of supply chain network 100. One or more imaging devices 140 are coupled with network 170 using communication link 186, which may be any wireline, wireless, or other link suitable to support data communications between one or more imaging devices 140 and network 170 during operation of distributed supply chain network 100. One or more supply chain entities 150 may be coupled with network 170 using communication link 188, which may be any wireline, wireless, or other link suitable to support data communications between one or more supply chain entities 150 and network 170 during operation of supply chain network 100. Computer 160 may be coupled with network 170 using communication link 190, which may be any wireline, wireless, or other link suitable to support data communications between computer 160 and network 170 during operation of supply chain network 100.
Although communication links 180-190 are shown as generally coupling supply chain planner 110, inventory system 120, transportation network 130, one or more imaging devices 140, one or more supply chain entities 150, and computer 160 to network 170, each of supply chain planner 110, inventory system 120, transportation network 130, one or more imaging devices 140, one or more supply chain entities 150, and computer 160 may communicate directly with each other, according to particular needs.
In another embodiment, network 170 includes the Internet and any appropriate local area networks (LANs), metropolitan area networks (MANs), or wide area networks (WANs) coupling supply chain planner 110, inventory system 120, transportation network 130, one or more imaging devices 140, one or more supply chain entities 150, and computer 160. For example, data may be maintained local to, or external of, supply chain planner 110, inventory system 120, transportation network 130, one or more imaging devices 140, one or more supply chain entities 150, and computer 160 and made available to one or more associated users of supply chain planner 110, inventory system 120, transportation network 130, one or more imaging devices 140, one or more supply chain entities 150, and computer 160 using network 170 or in any other appropriate manner. For example, data may be maintained in a cloud database at one or more locations external to supply chain planner 110, inventory system 120, transportation network 130, one or more imaging devices 140, one or more supply chain entities 150, and computer 160 and made available to one or more associated users of supply chain planner 110, inventory system 120, transportation network 130, one or more imaging devices 140, one or more supply chain entities 150, and computer 160 using the cloud or in any other appropriate manner. Those skilled in the art will recognize that the complete structure and operation of network 170 and other components within supply chain network 100 are not depicted or described. Embodiments may be employed in conjunction with known communications networks and other components.
In accordance with the principles of embodiments described herein, supply chain planner 110 may generate a supply chain plan, including a supply chain master plan. Furthermore, one or more computers 160 associated with supply chain network 100 may instruct automated machinery (i.e., robotic warehouse systems, robotic inventory systems, automated guided vehicles, mobile racking units, automated robotic production machinery, robotic devices and the like) to adjust product mix ratios, inventory levels at various stocking points, production of products by manufacturing equipment, proportional or alternative sourcing of one or more supply chain entities 150, and the configuration and quantity of packaging and shipping of items based on the number of items currently in transit in transportation network 130, a supply chain plan, including a supply chain master plan, a solution to a supply chain planning problem, the number of items currently in stock at one or more supply chain entities 150, a forecasted demand, a supply chain disruption, a material or capacity reallocation, current and projected inventory levels at one or more stocking locations, and/or one or more additional factors described herein. For example, and as discussed below in
According to embodiments, the methods may further include computers 160 looking up received product data 216 in a database 114 to identify the item corresponding to product data 216 received from automated machinery. Based on the identification of the item, computers 160 may also identify (or alternatively generate) a first mapping in database 114, where the first mapping is associated with the current location of the identified item. Computers 160 may also identify a second mapping in database 114, where the second mapping is associated with a past location of the identified item. Computers 160 may also compare the first mapping and the second mapping to determine when the current location of the identified item in the first mapping is different than the past location of the identified item in the second mapping. Computers 160 may send instructions to the automated machinery based, at least in part, on one or more differences between the first mapping and the second mapping such as, for example, to locate items to add to, or remove from, an inventory or shipment of one or more supply chain entities 150. In addition, or as an alternative, supply chain planner 110 monitors one or more supply chain constraints of one or more items at one or more supply chain entities 150 and adjusts the orders and/or inventory of one or more supply chain entities 150 at least partially based on one or more detected supply chain constraints.
Server 112 of supply chain planner 110 comprises modeler 202, decomposition module 204, solver 206, image rendering engine 208, and image processing engine 210. Although server 112 is shown and described as comprising a single modeler 202, a single decomposition module 204, a single solver 206, a single image rendering engine 208, and a single image processing engine 210, embodiments contemplate any suitable number or combination of these located at one or more locations, local to, or remote from supply chain planner 110, such as on multiple servers or computers at any location in supply chain network 100.
Database 114 of supply chain planner 110 may comprise one or more databases or other data storage arrangement at one or more locations, local to, or remote from, server 112. Database 114 comprises, for example, data models 211, supply chain input data 212, LP formulations 214, product data 216, demand data 218, inventory data 220, supply chain models 222, inventory policies 224, images 226, and partitioned images 228. Although database 114 is shown and described as comprising data models 211, supply chain input data 212, LP formulations 214, product data 216, demand data 218, inventory data 220, supply chain models 222, inventory policies 224, images 226, and partitioned images 228, embodiments contemplate any suitable number or combination of these, located at one or more locations, local to, or remote from, supply chain planner 110 according to particular needs.
Modeler 202 may model one or more supply chain planning problems, such a, for example, an LP supply chain planning problem of supply chain network 100. According to embodiments, modeler 202 of server 112 identifies resources, operations, buffers, and pathways, and maps supply chain network 100 using supply chain data models 211, as described in more detail below. For example, modeler 202 of server 112 formulates a supply chain planning problem, including a multi-period supply chain planning problem, of supply chain network 100 as a hierarchical multi-objective LP problem. Embodiments contemplate modeler 202 formulating other suitable mathematical and graphical formulations of supply chain planning problems, according to particular needs.
Decomposition module 204 receives LP formulations 214 from modeler 202, transmits LP formulations 214 to solver 206, and receives solutions to LP formulations from solver 206. In addition, or as an alternative, decomposition module 204 transmits LP formulations 214 to, and receives LP formulations 214 from, image rendering engine 208.
Solver 206 of server 112 comprises one or more optimization, heuristic, or mathematical solvers that utilize LP optimization, decomposition techniques, or masterless iteration to generate a solution to the LP supply chain planning problem. As described in further detail below, solver 206 calculates LP solutions to subproblems representing the decomposed LP supply chain planning problem to generate globally-optimal LP solutions. As described in further detail below, the supply chain planning problem, such as, for example, a supply chain master planning problem is divided into two or more submatrices, which are then solved using a CPLEX solver, which are solved according to a combined objective. The solution may then be evaluated according to one or more stopping criteria, which when the one or more stopping criteria are not met, supply chain planner 110 performs masterless iteration to generate two or more new supply chain planning problems represented by the two or more submatrices. When the one or more stopping criteria are met, the solution comprises an optimal solution, which after bound fixing, is used to generate a further LP matrix. By way of example only and not by way of limitation, stopping criteria comprise one or more of an image-based interpretation of dual variables, infeasibility in capacity or material less than, equal to, and/or greater than a particular value, percentage, or other threshold.
Decomposing a monolithic LP into multiple smaller problems and solving them individually may result in faster solves. Image rendering engine 208 receives LP formulations 214, and image processing engine 210 generates images 226 representing multiple smaller problems of the LP supply chain planning problem, or subproblems. According to embodiments, image rendering engine 208 transforms LP formulations 214 to one or more images 226 and transmits images 226 to image processing engine 210. After identifying clusters and contours, image processing engine 210 transmits one or more images 226 representing the subproblems to image rendering engine 208, which transforms the received images 226 to LP formulations 214, such as, for example, LP constraint-variable matrices, as described in further detail below.
As an example only and not by way of limitation, database 114 stores data models 211, which represent the flow of materials through one or more supply chain entities 150 of supply chain network 100. Modeler 202 of supply chain planner 110 may model the flow of materials through one or more supply chain entities 150 of supply chain network 100 as one or more data models 211 comprising, for example, a network of nodes and edges. Material storage and/or transition units may be modeled as nodes, which may be referred to as buffer nodes, buffers, or nodes. Each node may represent a buffer for an item (such as, for example, a raw material, intermediate good, finished good, component, and the like), resource, or operation (including, for example, a production operation, assembly operation, transportation operation, and the like). Various transportation or manufacturing processes are modeled as edges connecting the nodes. Each edge may represent the flow, transportation, or assembly of materials (such as items or resources) between the nodes by, for example, production processing or transportation. According to some embodiments, the quantity of consumption and production is indicated as a weight on an edge. A planning horizon for data models 211 may be broken down into elementary time-units, such as, for example, time-buckets, or, simply, buckets. The edge between two buffer nodes may denote processing of material and the edge between different buckets for the same buffer may indicate inventory carried forward. Flow-balance constraints for most, if not every buffer in every bucket, model the material movement in supply chain network 100. Although the LP supply chain planning problems are described as comprising supply chain graphs, embodiments contemplate representing LP supply chain planning problems using other graphical models to represent LP supply chain planning problems, according to particular needs.
Supply chain input data 212 may comprise various decision variables, business constraints, goals, and objectives of one or more supply chain entities 150. According to some embodiments, supply chain input data 212 may comprise hierarchical objectives specified by, for example, business rules, master planning requirements, scheduling constraints, and discrete constraints, including, for example, sequence-dependent setup times, lot-sizing, storage, shelf life, and the like.
LP formulations 214 of database 114 include single- or multi-objective LP supply chain master planning problems, matrix formulations of the LP supply chain master planning problem, and decomposed subproblems as well as any associated data and mappings used to formulate or solve an LP problem, such as, for example, LP constraint-variable matrices, complicating constraints, decomposed subproblems, globally-optimal LP solutions, objectives, objective hierarchies, and fixed variables. According to embodiments, LP formulations 214 comprise mathematical objective functions that represent business objectives, such as, for example, minimizing the quantity of unmet demand, minimizing usage of alternate resources (e.g. maximizing usage of primary resources), planning items as just-in-time (JIT) as possible (e.g. minimizing the amount of carried-over items), and the like. LP formulations 214 additionally comprise mathematical constraints representing limitations to capacity, materials, lead times, and the like; and minimum and maximum values for decision variables representing lower and upper bounds. By way of example only and not of limitation, the lower and upper bounds for the capacity of a machine may be set at zero hours and ten hours, respectively. In this example, zero hours comprises the lower bound (because a machine cannot be used for a negative period of time) and ten hours represents a maximum number of hours the machine may be used in a day.
LP formulations 214 may comprise one or more LP constraint-variable matrices. According to embodiments, an LP constraint-variable matrix is a sparse matrix, wherein a first direction represents constraints, a second direction represents variables, and each element comprises a coefficient of the variable that intersects the constraint. By way of example only and not by way of limitation, an LP constraint-variable matrix is a sparse matrix, wherein rows represent constraints, columns represent variables, and each element comprises a coefficient of the variable represented by its column for the constraint represented by its row. According to embodiments, the supply chain planner decomposes LP supply chain planning problems into subproblems by decomposing an LP constraint variable matrix into one or more submatrices, which may also be formulated as LP constraint-variable matrices. In addition, an LP constraint-variable matrices may comprise one or more additional rows or columns in the same matrix, one or more other matrices, one or more submatrices, and the like, which may store other components associated with LP problem, such as, for example, objectives, right-hand side (RHS) values, lower/upper bounds, and the like, according to particular needs. Although LP formulations 214 are described as representing LP supply chain planning problems as one or more LP constraint-variable matrices, embodiments contemplate representing LP supply chain planning problems using other suitable mathematical expressions, models, graphs, charts, or the like, according to particular needs.
Product data 216 of database 114 may comprise one or more data structures for identifying, classifying, and storing data associated with products, including, for example, a product identifier (such as a Stock Keeping Unit (SKU), Universal Product Code (UPC), or the like), product attributes, attribute values, sourcing information, and the like. Product data 216 may comprise data about one or more products organized and sortable by, for example, product attributes, attribute values, product identification, sales quantity, demand forecast, or any stored category or dimension. Attributes of one or more products may be, for example, any categorical characteristic or quality of a product, and an attribute value may be a specific value or identity for the one or more products according to the categorical characteristic or quality, including, for example, physical parameters (such as, for example, size, weight, dimensions, fill level, color, and the like).
Demand data 218 of database 114 may comprise, for example, any data relating to past sales, past demand, purchase data, promotions, events, or the like of one or more supply chain entities 150. Demand data 218 may cover a time interval such as, for example, by the minute, hour, daily, weekly, monthly, quarterly, yearly, or any suitable time interval, including substantially in real time. According to embodiments, demand data 218 may include historical demand and sales data or projected demand forecasts for one or more retail locations, customers, regions, or the like of one or more supply chain entities 150 and may include historical or forecast demand and sales segmented according to product attributes, customers, regions, or the like.
Inventory data 220 of database 114 may comprise any data relating to current or projected inventory quantities or states, order rules, or the like. For example, inventory data 220 may comprise the current level of inventory for each item at one or more stocking locations across supply chain network 100. In addition, inventory data 220 may comprise order rules that describe one or more rules or limits on setting an inventory policy, including, but not limited to, a minimum order quantity, a maximum order quantity, a discount, a step-size order quantity, and batch quantity rules. According to some embodiments, supply chain planner 110 accesses and stores inventory data 220 in database 114, which may be used by supply chain planner 110 to place orders, set inventory levels at one or more stocking points, initiate manufacturing of one or more items (or components of one or more items), or the like. In addition, or as an alternative, inventory data 220 may be updated by receiving current item quantities, mappings, or locations from inventory system 120, transportation network 130, one or more imaging devices 140, and/or one or more supply chain entities 150.
Supply chain models 222 of database 114 may comprise characteristics of a supply chain setup to deliver the customer expectations of a particular customer business model. These characteristics may comprise differentiating factors, such as, for example, MTO (Make-to-Order), ETO (Engineer-to-Order) or MTS (Make-to-Stock). Additionally, or as an alternative, supply chain models 222 may comprise characteristics that specify the supply chain structure in even more detail, including, for example, specifying the type of collaboration with the customer (e.g. Vendor-Managed Inventory (VMI)), the identity of stocking locations or suppliers from which items may be sourced, customer priorities, demand priorities, how products may be allocated, shipped, or paid for, by particular customers, and the destination stocking locations or one or more supply chain entities 150 where items may be transported. Differences of these characteristics may lead to different supply chain models 222.
Inventory policies 224 of database 114 may comprise any suitable inventory policy describing the reorder point and target quantity, or other inventory policy parameters that set rules for supply chain planner 110 to manage and reorder inventory. Inventory policies 224 may be based on target service level, demand, cost, fill rate, or the like. According to embodiment, inventory policies 224 comprise target service levels that ensure that a service level of one or more supply chain entities 150 is met with a certain probability. For example, one or more supply chain entities 150 may set a target service level at 95%, meaning one or more supply chain entities 150 will set the desired inventory stock level at a level that meets demand 95% of the time. Although a particular target service level and percentage is described, embodiments contemplate any target service level, for example, a target service level of approximately 99% through 90%, 75%, or any target service level, according to particular needs. Other types of service levels associated with inventory quantity or order quantity may comprise, but are not limited to, a maximum expected backlog and a fulfillment level. Once the service level is set, supply chain planner 110 may determine a replenishment order according to one or more replenishment rules, which, among other things, indicates to one or more supply chain entities 150 to supply or receive inventory to replace the depleted inventory.
Images 226 of database 114 are generated by image rendering engine 208 of supply chain planner 110, which employs a pixel-coloring logic to map a link between each pixel and one or more intersections of a row and column of the LP constraint-variable matrix. The links between pixels and one or more intersections are active when the link is associated with a non-zero coefficient; otherwise, the link is inactive. Image rendering engine 208 may render an image that represents inactive links as black pixels, and active links as white pixels. Although particular colors are described for particular categories of constraints, embodiments contemplate any color (including, for example, white, black or any tint, tone, or shade of white, black, or any other color) associated with pixels associated with any type of active or inactive links, according to particular needs. As described in further detail below, image rendering engine 208 removes contours from images 226 and generates one or more partitioned images 228, which each comprise one or more independent partitions of the supply chain planning problem identified from the one or more images 226 by image processing engine 210, but without connecting and complicating components which image rendering engine 208 removes.
By way of example only and not of limitation, supply chain network 100 represented by supply chain network chart 400 stores raw materials at the most upstream material buffers (B1 and B6) 402a and 402f. Material buffers (B1 and B6) 402a and 402f may receive raw materials as the initial input for a manufacturing process. Raw materials may comprise, for example, metal, fabric, adhesives, polymers, and other materials and compounds used during manufacturing. The flow of raw materials from materials buffers (B1 and B6) 402a and 402f is indicated by edges 408a and 408j, which identify operations (O1 and O5) 404a and 404e as a possible destination for the raw materials. Operations (O1 and O5) 404a and 404e may comprise production processes that receive raw materials and produce one or more intermediate items, which are then stored at material buffers (B2 and B5) 402b and 402e as indicated by edges 408b and 408i. Operations (O1 and O5) 404a and 404e are additionally coupled by edges 402a and 402c with resource buffers (R1 and R5) 406a and 406c to indicate that operations (O1 and O5) 404a and 404e require the resources from resource buffers (R1 and R5) 406a and 406c to process raw materials stored at the most upstream material buffers (B1 and B6) 402a and 402f into intermediate items stored at material buffers (B2 and B5) 402b and 402e. According to embodiments, resources represented by resource buffers (R1 and R5) 406a and 406c may include, for example, equipment or facilities for manufacturing, distribution, or transportation. Although resource buffers (R1 and R5) 406a and 406c are described as comprising equipment or facilities for manufacturing, distribution, or transportation, embodiments contemplate any number of one or more resource buffers representing other suitable resources utilized in supply chain operations, according to particular needs.
According to embodiments, edges 408a-408m represent limitations on supplying items or capacity to particular buffers including, but not limited to, for example, transportation limitations (such as, for example, cost, time, available transportation options) or outputs of various operations (such as, for example, different production processes, which produce different items, each of which may be represented by a different SKU, and which each may be stored at different buffers). For the exemplary supply chain network chart 400, transportation processes may transport, package, or ship intermediate and finished goods to one or more locations internal to or external of one or more supply chain entities 150 of supply chain network 100, including, for example, shipping directly to consumers, to regional or strategic distribution centers, or to the inventory of one or more supply chain entities 150, including, for example, to replenish a safety stock for one or more items in an inventory of one or more supply chain entities 150. Additionally, particular items and operations described herein comprise a simplified description for the purpose of illustration. Items may, for example, comprise different sizes, styles, or states of a same or a different item. Similarly, an operation may be any process or operation, including manufacturing, distribution, transportation, or any other suitable action of supply chain network 100. Although the limitation of the flow of items between nodes of supply chain network chart 400 is described as cost, timing, transportation, or production limitations, embodiments contemplate any suitable flow of items (or limitations of the flow of items) between any one or more different nodes of supply chain network chart 400, according to particular needs. In one embodiment, supply chain network chart 400 includes additional constraints, such as, for example, business constraints, operation constraints, and resource constraints, which facilitate one or more other planning rules. Although supply chain network chart 400 is shown and described as having a particular number and configuration of material buffers 402a-402f, operations 404a-404e, resource buffers 406a-406c, and edges 408a-408m, embodiments contemplate any number of buffers, resources, operations, and edges with any suitable flow between them, according to particular needs.
In addition or as an alternative, supply chain planner 110 may model a supply chain planning problem with time-buckets to provide efficient and almost-accurate modelling of various process lead times, material and capacity constraints, and demand requirements. To create a time-bucketed supply chain planning problem, supply chain network 100 may be modeled to represent the flow materials and resources between the supply chain entities in accordance with the constraints at each time bucket.
Image rendering engine 208 converts the LP constraint-variable matrix into one or more images at activity 706. Referring to exemplary workflow 800, image rendering engine 208 processes the LP constraint-variable matrix of LP formulation 214a and generates image 226a that represents the LP supply chain planning problem, as described in further detail below.
At activity 708, image processing engine 210 utilizes computer vision to partition one or more images 226 into one or more other images 226 based, at least in part, on the identification of clusters and contours in the image. As described in further detail below, image processing engine 210 identifies which contour, when removed, generates images representing balanced subproblems. By way of example only and not by way of limitation, image processing engine 210 partitions image 226a into one or more images 226b-226n representing independent clusters of the LP supply chain planning problems.
At activity 710, image rendering engine 208 transforms one or more images 226 representing one or more partitioned clusters back into LP formulations 214. Continuing with exemplary workflow 800, image rendering engine 208 receives one or more images 226a-226n representing independent clusters of the LP supply chain planning problem and transforms one or more images 226a-226n into LP formulations 214b-214n, such as, for example, LP constraint-variable matrices, which represent decomposed subproblems of the original LP supply chain planning problem of LP formulation 214a.
At activity 712, solver 206 receives LP formulations 214 of the decomposed subproblems and solves for solutions of the one or more subproblems. As described in further detail below, solver 206 uses masterless iteration with subgradient descent, a standard decomposition technique (e.g. Dantzig-Wolfe, Bender's, or the like), or other suitable methods to solve LP formulations 214 for an optimal or feasible solution to LP supply chain planning problem. Although particular techniques are disclosed and described, embodiments contemplate other suitable methods of solving LP supply chain planning subproblems for a solution of the original LP supply chain planning problem.
At activity 714, decomposition module 204 checks whether the current objective level is the final objective level, and, when the current objective level is not the current objective level, method 700 continues to activity 716, where decomposition module 204 fixes variables at their bounds, loads the next objective, and returns to activity 702, where modeler 202 formulates LP formulation 214 for the next objective level. When decomposition module 204 checks the current objective level at activity 714 and the current objective level is the final objective level, method 700 ends.
At activity 902, solver 206 generates LP formulations 214 from one or more data models 211. As disclosed above, modeler 202 receives the supply chain static structure and supply chain dynamic structure to model one or more data models 211 having space-time sorted nodes. According to embodiments, space-time sorted nodes represent nodes of one or more supply chain entities 150, such as, for example, a buffer, a capacity, and a manufacturing process, a distribution process, or other like operation, at some location for a given time bucket stored in ascending or descending order, such as, for example, supply chain chart 400, single-period supply chain graph 500, multi-period supply chain graph 600, or other model.
At activity 904, solver 206 generates sparse matrix representation of LP formulations 214. The sparse matrix comprises constraint-variable elements stored as row-column sparse pairs. Although the number of rows and columns and their orders are generally the same as in LP formulations 214, embodiments contemplate sorting constraints and/or variables to generate sorted variable index and/or sorted constraint index using any suitable sorting technique. By way of example only and not by way of limitation, after one or more intermediate changes to LP matrix, image rendering engine 208 sorts variables and/or constraints using space-time sorted nodes from one or more data models 211. According to embodiments, modeler 202 may use one or more of various indexing schemes, including, time-based indexing, where for each time bucket i=1 . . . . T, all the supply chain elements are collected (such as, for example, Op1T1, Op2T1, Op3T1, Op1T2, Op2T2, Op3T2, and the like); LP-based indexing, where modeler 202 assigns to supply chain elements the assignment given by LP formulations 214; and time-bucket-variable (Tb+Var) indexing, where, each supply chain element and its time is indexed bucket-wise (such as, for example, Op1T1, Op1T2, Op2T1, Op2T2, Op3T1, Op3T2, and the like).
At activity 906, image rendering engine 208 generates images 226 from sparse matrix representation of LP formulations 214. Using computer vision methods, image rendering engine 208 produces one or more images 226 wherein white pixels in each image represent links between supply chain constraints and variables (e.g. a variable represents a possible range of values the supply chain components in the structure can take for a given period of time). In addition, or as an alternative, when LP formulations 214 are larger than a predetermined size, image rendering engine 208 applies compression ratios and coordinates scaling to downscale images 226 of LP formulations 214. For example, a compression ratio (which may, comprise, for example, a DPI (dots per inch) ratio) is selected based on the number of variables and constraints in LP formulations 214. Different DPI ratios may be selected for plotting images 226 based on the size of the LP matrix. According to one exemplary embodiment, the compression ratio may be calculated by setting the maximum pixel per axis equal to 2{circumflex over ( )}15=32,768. In other words, the compression ratio=max (1, number of variables/constraints/2{circumflex over ( )}15).
At activity 908, image processing engine 210 identifies contours using OPEN CV, a real-time computer vision open-source software library. Contours are the complicating, connecting parts of images 226. Clusters are parts of images 226 that are independent when contours are removed. Continuing the example of the black and white image described at activity 906, image processing engine 210 identifies a white contour and two or more white clusters in one or more images 226 (such as, for example, exemplary images 226a-226n). According to embodiments, clusters represent the number of smaller supply chain components and contours represent connecting flows among the components for a given supply chain structure. For example, image processing engine 210 identifies a complicating constraint that links two or more supply chains into a single larger supply chain network 100 by applying computer vision to identify contours of images 226. In one embodiment, a deep-learning framework, such as, for example, a Convolutional Neural Network (CNN), may be used to train a machine-learning model to identify contours using contour-labeled images received from image processing engine 210.
At activity 910, image rendering engine 208 removes one or more contours from images 226. As described in further detail below, image processing engine 210 iteratively removes contours from images 226 to identify complicating constraints and the components of the supply chain connected by the complicating constraints. Each of the contours comprises one or more white pixels representing links between variables and constraints in the original LP problem. Image processing engine 210 locates the pixels of the contours using coordinates. In one embodiment, the coordinates represent variable, constraint pairs. Image processing engine 210 identifies the coordinates for the one or more removed contours at activity 912.
At activity 914, image processing engine 210 receives coordinates of the one or more removed contours.
Image processing engine 210 upscales coordinates using the same scale used for compression, at activity 916, and reverse scales the coordinates of images 226 into original variables, at activity 918. Using the DPI ratio, as disclosed above, and the mapping of the row-column pair spare matrix, image processing engine 210 determines the row-column of each component.
At activity 920, images processing engine 210 determines the constraints from the transformed values. According to an embodiment, after reverse scaling, the indices of the variables and constraints, the sparse pairs, and the mapping of indices-to-constraint-names identifies the constraint names from the transformed values. At activity 922, solver 206 generates decomposed subproblems. According to an embodiment, image processing engine 210 creates a constraint list for each subproblem. The constraint list may comprise the subproblem constraints and the complicating constraints that are part of the removed contour. Solver 206 receives the identity of the subproblem constraints and the complicating constraints and, in response, formulates the decomposed subproblems by reading the original LP problem and based, at least in part, on the subproblem constraints and the complicating constraints of the constraint list.
Partition selection method 1000 begins at activity 1002 when image processing engine 210 identifies contours, as disclosed above. According to embodiments, method 1000 identifies partitions by iteratively removing contours and checking whether the resulting partition generates balanced subproblems. According to one embodiment, after identifying one or more contours of images 226, image processing engine 210 selects one contour at activity 1004 and applies reverse scaling at activity 1006. As disclosed above, reverse scaling comprises mapping from coordinate points representing contours to row-column (constraint-variable) indices using the DPI ratio, which are used by image processing engine 210 to identify the LP constraints for the current contour, at activity 1008. Filtering by variable types and/or time buckets, image processing engine 210 identifies a subset of constraints, at activity 1010, which are determined to be complicating constraints. Removing complicating constraints generates the connected components at activity 1012. At activity 1014, decomposition module 204 checks whether the partitions are balanced when the complicating constraints are removed. By way of example only and not by way of limitation, partitions are balanced when the size of the generated subproblems have the same or a similar proportion. Continuing the example, when decomposition generates two subproblems by removing complicating constraints, decomposition module 204 determines the partition is balanced when the ratio of the size of a first subproblem (or the number of constraints of the first subproblem) to the size of a second subproblem (or the number of constraints in the second subproblem) is between approximately 0.8 and 1.2. Although a balanced partition is described as a particular ratio of the size or number of constraints of two subproblems, embodiments contemplate other suitable ratios or criteria for selecting balanced partitions generated balanced subproblems, according to particular needs.
When the partitions are balanced, decomposition module 204 adds the partition to the partition list at activity 1016 before continuing to activity 1018, to check whether the current contour is the last contour. When the current contour is not the last contour or when the partitions are not balanced at activity 1014, method 1000 returns to activity 1004. Method 1000 may then iteratively repeat activities 1004-1012. When the last contour is detected at activity 1018, decomposition module 204 continues to activity 1020 to select the one or more partitions that generates balanced partitions with minimum complicating criteria.
According to embodiments, partitions may be combined from more than one subproblem. When generating two subproblems from more than one partition, embodiments contemplate beginning with connected component and iteratively adding a larger component until the sum of the components has an approximately equal size to the largest component. When generating three subproblems, embodiments contemplate beginning from the smallest component and iteratively adding larger components until the sum of their sizes reaches the second largest component. Although a particular method for combining components into two and three subproblems are described, embodiments any suitable method for combining any number connected components into any number of subproblems, according to particular needs.
According to embodiments, one objective of the partition split is minimizing the number of complicating constraints while generating balanced partitions, to improve the speed of a decomposition algorithm, such as, for example, Dantzig-Wolfe, Benders, masterless iteration with subgradient descent (as described in further detail below), and the like. Method 1000 ends when solver 206 generates the decomposed subproblems at activity 1022, as disclosed above.
As disclosed above, one technique that supply chain planner 110 may use to solve the two or more subproblems is masterless iteration with subgradient descent. According to embodiments, supply chain planner 110 updates the RHS of complicating constraints, iteratively, and tries to find the best assignment using dual values, to achieve the optimum solution, as described in further detail below.
At activity 1104, decomposition module 204 checks whether the current iteration is the first iteration (i.e. whether the current iteration number is equal to one). When the current iteration is the first iteration, method 1100 continues to activity 1106 when decomposition module 204 transmits the image-based decomposed subproblems to solver 206, and solver 206 initializes the Right Hand Side (RHS) and/or the variable bounds of the image-based decomposed subproblems. According to embodiments, the sum of the RHS of the image-based decomposed subproblems equals the RHS of the LP supply chain planning problem, and solver 206 allocates all of the capacity or material of the complicating constraint of the LP supply chain planning problem to the complicating constraints of the image-based decomposed subproblems, such that the total capacity and material allocated to image-based decomposed subproblems equals 100% of the capacity or material of the LP supply chain master problem.
At activity 1108, solver 206 solves the image-based decomposed subproblems. According to one embodiment, solver 206 solves the image-based decomposed subproblems using LP optimization. As disclosed above, each of the image-based decomposed subproblems comprises its own objectives, constraints, and variables. Complicating constraints are common to two or more of the image-based decomposed subproblems. Each of the complicating constraints is split on the RHS of the subproblems, and, when solver 206 solves image-based decomposed subproblems, a dual value is calculated for each of the constraints of the image-based decomposed subproblems.
At activity 1110, solver 206 uses the calculated duals to calculate an effective dual. According to the embodiments, the effective dual is the mathematical difference of the dual values of the complicating constraints of the image-based decomposed subproblems. By way of example only and not of limitation, when a dual value of a first subproblem equals one hundred and a dual value of a second subproblem equals twenty-five, solver 206 calculates the effective dual as seventy-five. Although the effective dual is described as a difference of two dual values for a single complicating constraint, embodiments contemplate calculating effective duals for any number of subproblems and any number of complicating constraints, according to particular needs.
At activity 1112, solver 206 combines the solutions of each of the subproblems for the current objective. The final solution (objective values) is the sum of objective values (solutions) of each of the subproblems. At activity 1114, decomposition module 204 checks for one or more stopping criteria. According to an embodiment, one or more stopping criteria may comprise detecting the globally-optimal LP solution. In this embodiment, method 1100 ends when solver 206 determines that the current solution is the globally-optimal LP solution. Additionally, or as an alternative, stopping criteria may comprise one or more of an image-based interpretation of supply chain input data 212, infeasibility in capacity or material less than, equal to, and/or greater than a predetermined value, percentage, or other threshold [e.g. a material is over or under consumed, or a capacity is over or under consumed.] In addition, or as an alternative, stopping criteria comprise detecting a value of infeasibility and/or suboptimality for the solve exceeds a threshold while solving the image-based decomposed subproblems. According to an embodiment, a threshold is a preselected tolerance for infeasibility and suboptimality which, when met or exceeded, method 1100 ends. By way of example only and not of limitation, supply chain planner 110 sets a threshold for a resource at 0.01%. When solver 206 determines a solution utilizes the resource±1% of the actual availability and finds a converging point, decomposition module 204 stops correcting the 1% infeasibility. According to embodiments, the infeasibility tolerance comprises a threshold value for one or more material flows. In addition or as an alternative, stopping criteria comprise a suboptimality tolerance that sets a minimum difference between the objective value of iterative solutions. For example, when solver 206 detects that a difference between a number of previous consecutive iterations of the objective value (such as, for example, five iterations) is less than a preselected suboptimality threshold, decomposition module 204 ends the solve. Although the stopping criteria are described as particular values of infeasibility and suboptimality thresholds, embodiments contemplate the infeasibility and suboptimality tolerances comprising any threshold, according to particular needs.
At activity 1116, decomposition module 204 updates the learning rate. According to an embodiment, decomposition module 204 updates the learning rate during each iteration by dividing the previous learning rate by a factor calculated as the square root of the current iteration number. For the first iteration, the learning rate does not change because the factor for the first iteration is equal to one (i.e. the square root of one is one). At a second iteration, the learning rate may be calculated by dividing the learning rate of the first iteration by the square root of two. Similarly, for the third iteration, the learning rate may be calculated by dividing the learning rate of the second iteration by the square root of three; the fourth iteration's learning rate is the learning rate of the third iteration divided by two (i.e. the square root of four); and so on.
After increasing the iteration counter by one at activity 1118, method 1100 returns to activity 1104, where decomposition module 204 again evaluates the current iteration number. The current iteration is the second iteration, iteration number is equal to two, and method 1100 continues to activity 1120, where solver 206 updates the RHS bounds using the current effective dual and learning rate. As disclosed above, solver 206 initializes the RHS of the image-based decomposed subproblems so that the sum of the RHS of the image-based decomposed subproblems is equal to the RHS of the master LP problem. According to one embodiment, modeler 202 updates the RHS of the complicating constraints, iteratively, and tries to find the best assignment using dual values, to achieve the optimum solution. Modeler 202, decomposition module 204, and solver 206 of supply chain planner 110 continue to iteratively model, decompose, and solve the subproblems of the multi-objective hierarchical LP problem until it reaches the final objective or one or more other stopping criteria. In response to detecting one or more stopping criteria, such as, for example, solving the last objective in the hierarchy of objectives, solver 206 combines the solution of each of the independent subproblems to generate the globally-optimal LP solution. In addition, although particular activities of the method are described as performed by modeler 202, decomposition module 204, or solver 206, embodiments contemplate using any of these or other suitable modules specifically configured to perform these activities, according to particular needs.
As disclosed above, method 1100 generates a globally-optimal LP solution to a LP supply chain planning problem. Although method 1100 is shown and described as generating the globally-optimal LP solution by solving image-based decomposed subproblems using a heuristic solver and applying masterless iteration with subgradient descent, embodiments contemplate generating globally-optimal LP solution and solving image-based decomposed subproblems using any one or more optimization or heuristic solvers, other methods of masterless iteration, and/or other subgradient methods, according to particular needs. In addition, although method 1100 is described as generating the globally-optimal LP solution, embodiments contemplate infeasible problems, wherein method 1100 stops. This infeasibility may however be translated to image-based information to identify a new stopping criteria or provide additional insight into the supply chain planning problem for supply chain planner 110. Embodiments also contemplate, when the solution to the subproblems is infeasible, adding virtual variables that make the problem feasible, and, later, removing them.
Because image-based decomposition method 700 provides for speeding up the run time for generating globally-optimal LP solutions to supply chain master planning problems, batch runs (e.g., daily, weekly, and the like) may be performed in less time, and changes in customer data may be addressed sooner (e.g., an intraday rerun of optimization based on changes in data).
Results for test cases 1208a-1208d comprise number of constraints in original LP problem (Number of Constraints 1220); number of components in original LP problem (Original Prob. (Number of Components) 1222); largest problem size in original LP problem (Largest Problem Size (Orig.) 1224); number of components after image-based decomposition method 700 (Image-Based Decomposition (Number of Components) 1226); largest subproblem size after image-based decomposition method 700 (Largest Problem Size (Decomposed) 1228); and the number of complicating constraints in decomposed LP problem divided by the number of total constraints in original LP problem (% Complicating Constraints 1230). Image-based decomposition method has been validated as creating significant improvement in decomposition methods on problems at least as large as 1.8 million constraints (Number of Constraints 1220), and at least as many as 4,200 components (Original Prob. (Number of Components) 1222) by reducing subproblem size from as high as 99% (Largest Problem Size (Orig.) 1224) to as little as 10% (Largest Problem Size (Decomposed) 1228) with over 5,300 independent subcomponents (Image-Based Decomposition (Number of Components) 1226) with test cases 1208a-1208d having an approximately similar percentage of complicating constraints 5-8% (% Complicating Constraints 1230). Solving the independent subproblems in parallel (by, for example, increasing the number of components, which accordingly have a decreased problem size over original LP problem using image-based decomposition method 700) greatly increases the functionality of the computer by increasing solving speed. Test cases 1208a-1208d validate the performance benefit for using image-based decomposition method 700 over a standard LP optimization method.
Number of variables in remaining components 1316 is the quantity of variables in the decomposed subproblems created from all components except the largest component. Percentage of variables 1318 is the fraction (expressed as a percentage) of the variables of the rest split size over the total variables available in the original LP problem. Remaining edges 1320 is the quantity of edges after performing the indicated type of contour removal 1310, and removed edges 1322 is the quantity of edges removed after performing the indicated type of contour removal 1310.
To further explain, an example is now given for the contour removal examples of chart 1300. Although in the following example, particular types of contour removal 1310 are performed and result in particular quantities or values indicated in chart 1300, embodiments contemplate selected one or more of these (or other) types of contour removal resulting in other suitable decomposed subproblems, according to particular needs.
Original DF 1330 comprises the values for the connected components before removal of any contour from the image of the original LP problem. Chart 1300 summarizes the results for dataset “1540” which, prior to contour removal (Original DF 1330), comprises 962 connected components connected by a total of 702,637 edges and having 306,009 variables in the decomposed subproblem representing the largest component, and 65,269 variables remaining in the remaining supply chain components, which represents 82% of the total variables. The types of contour removal used to simplify the original LP problem and generate balanced decomposed subproblems comprise the following: After Removing All VARS 1332: removing the largest contour from the image; After Removing XBAL 1334: removing all pixels representing flow balance (XBAL) variables from the largest contour in the image; After Removing OP 1336: removing all pixels representing operation (OP) variables from the largest contour in the image; After Removing F 1338: removing all pixels representing backloggable demands variables from the largest contour in the image; After Removing CAP 1340: removing all pixels representing capacity variables from the largest contour in the image; After Removing AMT 1342: removing all pixels representing demand (AMT) variables from the largest contour in the image; After Removing B 1344: removing all pixels representing unrestricted backlogging variables from the largest contour in the image; After Removing SBAL 1346: removing all pixels representing infeasibility violation variables (which avoid infeasible solutions when sufficient production is given for a material buffer) from the largest contour in the image; and After Removing XBD 1348: removing all pixels representing quantity-based safety stock variables (which may also be referred to as “over max band variables,” represent the amount of inventory carried over beyond specified maximum safety stock) from the largest contour in the image.
Referring to chart 1300, removal of different variable types results in a wide range of supply chain splits. For example, number of connected components 1312 ranges from as few as 923 (less than the number of the original LP problem) to as many 77,719 (by removing the largest contour).
By identifying the function of the variables in the complicating constraints, the identity of the complicating buffers or other supply chain components may be identified as preventing decomposition of the supply chain planning problem. By way of example only and not by way of limitation, when complicating constraints are based on capacity variables (CAP), the resource capacity buffer is identified as constraining the decomposition of the supply chain into decomposed supply chain segment.
By way of example only and not way of limitation, chart 1600 reports the values for as supply chain planning problem dataset “9561” having a size 1624 of 4112 megapixels. The image generated for the original LP problem of dataset “9561” comprises one connected component having 870,581 variables in the largest (and here, only, component). After removing the largest contour (matrix.in_removed_contour_0) 1612, the resulting image comprises 44,789 connected components, 2739 variables in the largest components, and 650,261 variables in the remaining components 1612. Removal of the second largest contour 1614, the third largest contour 1616, the fourth largest contour 1618, and the fifth largest contour 1620 did not result in any increase in the number of connected components.
Reference in the foregoing specification to “one embodiment”, “an embodiment”, or “some embodiments” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment.
While the exemplary embodiments have been shown and described, it will be understood that various changes and modifications to the foregoing embodiments may become apparent to those skilled in the art without departing from the spirit and scope of the present invention.
This application is a continuation of U.S. patent application Ser. No. 18/527,997, filed Dec. 4, 2023, entitled “Image-Based Decomposition for Fast Iterative Solve of Complex Linear Problems,” which is a continuation of U.S. patent application Ser. No. 18/111,749, filed Feb. 20, 2023, entitled “Image-Based Decomposition for Fast Iterative Solve of Complex Linear Problems,” now U.S. Pat. No. 11,875,292, which is a continuation of U.S. patent application Ser. No. 17/745,305, filed May 16, 2022, entitled “Image-Based Decomposition for Fast Iterative Solve of Complex Linear Problems,” now U.S. Pat. No. 11,605,039, which is a continuation of U.S. patent application Ser. No. 16/886,684, filed May 28, 2020, entitled “Image-Based Decomposition for Fast Iterative Solve of Complex Linear Problems,” now U.S. Pat. No. 11,334,827, which claims the benefit under 35 U.S.C. § 119 (e) to U.S. Provisional Application No. 62/895,866, filed Sep. 4, 2019, entitled “Image-Based Decomposition for Fast Iterative Solve of Complex Linear Problems” and 62/856,360, filed Jun. 3, 2019, entitled “Image Based Decomposition for Fast Iterative Solve of Complex Linear Problems”. U.S. patent application Ser. No. 18/527,997, U.S. Pat. Nos. 11,875,292, 11,605,039, and 11,334,827, and U.S. Provisional Application Nos. 62/895,866 and 62/856,360 are assigned to the assignee of the present application.
Number | Date | Country | |
---|---|---|---|
62895866 | Sep 2019 | US | |
62856360 | Jun 2019 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 18527997 | Dec 2023 | US |
Child | 18815566 | US | |
Parent | 18111749 | Feb 2023 | US |
Child | 18527997 | US | |
Parent | 17745305 | May 2022 | US |
Child | 18111749 | US | |
Parent | 16886684 | May 2020 | US |
Child | 17745305 | US |