# US 2022/0277247 A1 · Image-Based Decomposition for Fast Iterative Solve of Complex Linear Problems

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0277247 A1
- Document ID: US20220277247A1
- Status: Published application
- Kind: A1
- Application number: 17/745,305
- Filed: 2022-05-16
- Published: 2022-09-01
- Earliest claimed: 2019-06-03
- Assignees: Blue Yonder Group, Inc.
- Applicants: Blue Yonder Group, Inc.
- Inventors: Devanand R; Narayan Nandeda; Tushar Shekhar
- Web page: https://patentgrep.com/patent/US20220277247A1

## CPC

- G06Q 10/06315: {Needs-based resource requirements planning or analysis}
- G06Q 10/04: Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem" (market predictions or forecasting for commercial activities G06Q30/0202)
- G06Q 10/06313: {Resource planning in a project environment}
- G06V 10/752: {Contour matching}
- G06V 10/82: using neural networks
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A system and method are disclosed for solving a supply chain planning problem modeled as a linear programming (LP) problem. Embodiments include receiving a matrix formulation of at least a portion of the LP problem representing a supply chain planning problem for a supply chain network, generating an image based on the matrix formulation to identify connected components, partitioning the matrix formulation based, at least in part, on the connected components constraint into at least two partitions, formulating an LP subproblem from each of the at least two partitions, and solving the LP subproblems to generate a global solution to the supply chain planning problem.

## Claims

### Claim 1

A system of solving a supply chain planning problem modeled as a linear programming problem, comprising:
a computer, comprising a processor and memory, the computer further comprising an image rendering engine, an image processing engine, a decomposition module, and a solver;
the image rendering engine configured to:
generate pixels of a supply chain problem image, the pixels representing links between constraints and variables of the linear programming problem;
the image processing engine configured to:
identify one or more contours of the supply chain problem image using a machine-learning model trained using a convolutional neural network and contour-labeled images received from the image rendering engine, wherein the one or more contours comprise at least a first contour and a second contour, wherein the first contour represents one or more first constraints and the second contour represents one or more second constraints;
the decomposition module configured to:
determine a partition comprising at least two components linked by the first contour is more balanced than a partition comprising the at least two components linked by the second contour;
select the at least one of the one or more first constraints as one or more complicating constraints; and
the solver configured to:
formulate at least two decomposed subproblems sharing the one or more complicating constraints associated with at least one of the one or more contours; and
solve the decomposed subproblems to generate a solution to the supply chain planning problem.

### Claim 2 (depends on 1)

The system of claim 1, wherein the solver is further configured to:
solve the decomposed subproblems using masterless iteration with subgradient descent.

### Claim 3 (depends on 1)

The system of claim 1, wherein the decomposition module is further configured to:
determine a partition by iteratively removing contours and checking whether the resulting partition generates balanced subproblems.

### Claim 4 (depends on 1)

The system of claim 1, wherein the image processing engine is further configured to:
calculate coordinates of one or more pixels of the one or more contours, wherein the coordinates indicate row-column indices for a constraints-variables sparse matrix; and
identify at least one variable and at least one constraint represented by the one or more pixels of the one or more contours.

### Claim 5 (depends on 1)

The system of claim 1, wherein the supply chain network is partitioned into at least two supply chains at an image boundary comprising at least one of the one or more complicating constraints.

### Claim 6 (depends on 3)

The system of claim 3, wherein the subproblems are determined to be balanced when the sizes of the subproblems have the same proportion.

### Claim 7 (depends on 1)

The system of claim 1, wherein the solver is further configured to:
solve the decomposed subproblems by iterating towards a solution until detecting that a difference between a number of previous consecutive iterations of an objective value is less than a preselected suboptimality threshold; and
in response to the detecting, determine the solution.

### Claim 8

A computer-implemented method of solving a supply chain planning problem modeled as linear programing problem, comprising:
generating pixels, by an image rendering engine, of a supply chain problem image, the pixels representing links between constraints and variables of the linear programming problem;
identifying, by an image processing engine, one or more contours of the supply chain problem image using a machine-learning model trained using a convolutional neural network and contour-labeled images received from the image rendering engine, wherein the one or more contours comprise at least a first contour and a second contour, wherein the first contour represents one or more first constraints and the second contour represents one or more second constraints;
determining, by a decomposition module, a partition comprising the at least two components linked by the first contour is more balanced than a partition comprising the at least two components linked by the second contour;
selecting, by the decomposition module, the at least one of the one or more first constraints as the one or more complicating constraints;
formulating, by a solver, at least two decomposed subproblems sharing one or more complicating constraints associated with at least one of the one or more contours; and
solving, by the solver, the decomposed subproblems to generate a solution to the supply chain planning problem.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, further comprising:
solving, by the solver, the decomposed subproblems using masterless iteration with subgradient descent.

### Claim 10 (depends on 8)

The computer-implemented method of claim 8, further comprising:
determining, by the decomposition module, a partition by iteratively removing contours and checking whether the resulting partition generates balanced subproblems.

### Claim 11 (depends on 8)

The computer-implemented method of claim 8, further comprising:
calculating, by the image processing engine, coordinates of one or more pixels of the one or more contours, wherein the coordinates indicate row-column indices for a constraints-variables sparse matrix; and
identifying, by the image processing engine, at least one variable and at least one constraint represented by the one or more pixels of the one or more contours.

### Claim 12 (depends on 8)

The computer-implemented method of claim 8, wherein the supply chain network is partitioned into at least two supply chains at an image boundary comprising at least one of the one or more complicating constraints.

### Claim 13 (depends on 10)

The computer-implemented method of claim 10, wherein the subproblems are determined to be balanced when the sizes of the subproblems have the same proportion.

### Claim 14 (depends on 8)

The computer-implemented method of claim 8, further comprising:
solving, by the solver, the decomposed subproblems by iterating towards a solution until detecting that a difference between a number of previous consecutive iterations of an objective value is less than a preselected suboptimality threshold; and
in response to the detecting, determining, by the solver, the solution.

### Claim 15

A non-transitory computer-readable medium embodied with software providing solving of supply chain planning problems modeled as linear programing problems, the software when executed:
generates, by an image rendering engine, pixels of a supply chain problem image, the pixels representing links between constraints and variables of the linear programming problem;
identifies, by an image processing engine, one or more contours of the supply chain problem image using a machine-learning model trained using a convolutional neural network and contour-labeled images received from the image rendering engine, wherein the one or more contours comprise at least a first contour and a second contour, wherein the first contour represents one or more first constraints and the second contour represents one or more second constraints;
determines, by a decomposition module, a partition comprising the at least two components linked by the first contour is more balanced than a partition comprising the at least two components linked by the second contour;
selects, by the decomposition module, the at least one of the one or more first constraints as the one or more complicating constraints;
formulates, by a solver, at least two decomposed subproblems sharing one or more complicating constraints associated with at least one of the one or more contours; and
solves, by the solver, the decomposed subproblems to generate a solution to the supply chain planning problem.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, the software when executed further:
solves, by the solver, the decomposed subproblems using masterless iteration with subgradient descent.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, the software when executed further:
determines, by the decomposition module, a partition by iteratively removing contours and checking whether the resulting partition generates balanced subproblems.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, the software when executed further:
calculates, by the image processing engine, coordinates of one or more pixels of the one or more contours, wherein the coordinates indicate row-column indices for a constraints-variables sparse matrix; and
identifies, by the image processing engine, at least one variable and at least one constraint represented by the one or more pixels of the one or more contours.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the supply chain network is portioned into at least two supply chains at an image boundary comprising at least one of the one or more complicating constraints.

### Claim 20 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the subproblems are determined to be balanced when the sizes of the subproblems have the same proportion.
