Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
OPTIMIZATION OF A QUADRATIC ASSIGNMENT PROBLEM ON A LATTICE
Document Type and Number:
WIPO Patent Application WO/2023/091396
Kind Code:
A1
Abstract:
A process for computing the optimal solution to the quadratic assignment problem (QAP) defined on lattices includes storing facility data as facilities in a facility grid with facility tiles. Location data are stored as locations in a location grid with location tiles. Each facility tile is associated with a location tile and each facility in each facility tile is associated with a location in an associated location tile. A flow function is identified as distances between the plurality of facilities in the facility grid, and a distance function is identified as distances between the plurality of locations in the location grid. An association function relating the facilities to the locations is identified such that a solution with a low-cost function depending on the flow function and the distance function is found.

Inventors:
TONELLI CECILIA (IT)
SAHAI TUHIN (US)
Application Number:
PCT/US2022/049929
Publication Date:
May 25, 2023
Filing Date:
November 15, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
RAYTHEON CO (US)
International Classes:
G06F16/901
Foreign References:
US201362632799P
Other References:
BALAKRISHNAN JAYDEEP ET AL: "FACOPT: a user friendly FACility layout OPTimization system", COMPUTERS AND OPERATIONS RESEARCH, vol. 30, no. 11, 1 September 2003 (2003-09-01), GB, pages 1625 - 1641, XP093029814, ISSN: 0305-0548, Retrieved from the Internet DOI: 10.1016/S0305-0548(02)00096-5
UNKNOWN: "Facility Layout Add-in", 1 January 2004 (2004-01-01), pages 1 - 39, XP093030252, Retrieved from the Internet [retrieved on 20230309]
SINGH S P ET AL: "A review of different approaches to the facility layout problems", THE INTERNATIONAL JOURNAL OF ADVANCED MANUFACTURING TECHNOLOGY, SPRINGER, BERLIN, DE, vol. 30, no. 5-6, 12 November 2005 (2005-11-12), pages 425 - 433, XP019419080, ISSN: 1433-3015, DOI: 10.1007/S00170-005-0087-9
Attorney, Agent or Firm:
PERDOK, Monique M. et al. (US)
Download PDF:
Claims:
Claims

1. A process for optimizing instances of a quadratic assignment problem (QAP) on a given lattice comprising: receiving into a computer processor facility data, the facility data comprising a given set of facilities on a finite lattice; storing the facility data in the computer processor as a first set of a plurality of facilities in a facility grid, wherein the facility grid is partitioned into a plurality of facility tiles, the plurality of facility tiles comprising the facilities; receiving into the computer processor location data, the location data comprising a given set of locations; storing the location data in the computer processor as a second set of a plurality of locations in a location grid, wherein the location grid is partitioned into a plurality of location tiles, the plurality of location tiles comprising the locations; associating each facility tile to a location tile; associating each facility in each facility tile to a location in an associated location tile; identifying a flow function as distances between the plurality of facilities in the facility grid; identifying a distance function as distances between the plurality of locations in the location grid; and identifying an association function relating the facilities to the locations such that a local minimum for a cost function depending on the flow function and the distance function is found; wherein the flow function and the distance function satisfy one or more constraints; and wherein dimensions of the facility grid are equal to dimensions of the location grid, wherein a number of the facilities is equal to a number of the locations, and wherein a number of the facility tiles is equal to a number of the location tiles.

2. The process of claim 1, wherein the flow function comprises an arbitrary norm between facilities in the facility grid.

3. The process of claim 1, wherein the distance function comprises an arbitrary norm between points in the locations grid.

4. The process of claim 1, wherein the cost function comprises: wherein P comprises a set of all the facilities such that a and b are the facilities; wherein f comprises the flow function f: P*P — R; wherein TI P — L comprises the association function such that 7t(a) comprises a first location associated with a first facility and 7t(b) comprises a second location associated with a second facility; and wherein d comprises the distance function d: L*L — R.

5. The process of claim 1, wherein a cardinality of facility tiles and a cardinality of location tiles comprise a value of 2 raised to a power of the location dimension.

6. The process of claim 1, comprising applying the minimized cost function to placing and routing connections on a circuit board; wherein the locations comprise sites in a backboard, the facilities comprise elements to a position in the backboard, the distance function comprises the Euclidian distance between the sites in the backboard and the flow function comprises a number of wires every two backboard elements share.

7. The process of claim 1, wherein the facility tiles and the location tiles are generated using a heuristic approach, thereby enabling a selection and mapping of locations in the locations grid and facilities in the facility grid that result in a minimum cost.

8. The process of claim 1, wherein the associating each facility in each facility tile to a location in the associated location tile is executed such that when two particular locations are close the corresponding facilities are distant.

9. A non-transitory machine-readable medium comprising instructions that when executed by a processor execute a process comprising: receiving into a computer processor facility data, the facility data comprising a given set of facilities on a finite lattice; storing the facility data in the computer processor as a first set of a plurality of facilities in a facility grid, wherein the facility grid is partitioned into a plurality of facility tiles, the plurality of facility tiles comprising the facilities; receiving into the computer processor location data, the location data comprising a given set of locations; storing the location data in the computer processor as a second set of a plurality of locations in a location grid, wherein the location grid is partitioned into a plurality of location tiles, the plurality of location tiles comprising the locations; associating each facility tile to a location tile; associating each facility in each facility tile to a location in an associated location tile; identifying a flow function as distances between the plurality of facilities in the facility grid; identifying a distance function as distances between the plurality of locations in the location grid; and identifying an association function relating the facilities to the locations such that a local minimum for a cost function depending on the flow function and the distance function is found; wherein the flow function and the distance function satisfy one or more constraints; and wherein dimensions of the facility grid are equal to dimensions of the location grid, wherein a number of the facilities is equal to a number of the locations, and wherein a number of the facility tiles is equal to a number of the location tiles.

10. The non-transitory machine-readable medium of claim 9, wherein the flow function comprises an arbitrary norm between facilities in the facility grid.

18

11. The non-transitory machine-readable medium of claim 9, wherein the distance function comprises an arbitrary norm between points in the locations grid.

12. The non-transitory machine-readable medium of claim 9, wherein the cost function comprises: wherein P comprises a set of all the facilities such that a and b are the facilities; wherein f comprises the flow function f: P*P — R; wherein TI P — L comprises the association function such that 7t(a) comprises a first location associated with a first facility and 7t(b) comprises a second location associated with a second facility; and wherein d comprises the distance function d: L*L — R.

13. The non-transitory machine-readable medium of claim 9, wherein a cardinality of facility tiles and a cardinality of location tiles comprise a value of 2 raised to a power of the location dimension.

14. The non-transitory machine-readable medium of claim 9, comprising applying the minimized cost function to placing and routing connections on a circuit board; wherein the locations comprise sites in a backboard, the facilities comprise elements to a position in the backboard, the distance function comprises the Euclidian distance between the sites in the backboard and the flow function comprises a number of wires every two backboard elements share.

15. The non-transitory machine-readable medium of claim 9, wherein the facility tiles and the location tiles are generated using a heuristic approach, thereby enabling a selection and mapping of locations in the locations grid and facilities in the facility grid that result in a minimum cost.

19

16. The non-transitory machine-readable medium of claim 9, wherein the associating each facility in each facility tile to a location in the associated location tile is executed such that when two particular locations are close the corresponding facilities are distant.

17. A system comprising: a computer processor; and a memory coupled to the computer processor; wherein the computer processor and the memory are operable for: receiving into a computer processor facility data, the facility data comprising a given set of facilities on a finite lattice; storing the facility data in the computer processor as a first set of a plurality of facilities in a facility grid, wherein the facility grid is partitioned into a plurality of facility tiles, the plurality of facility tiles comprising the facilities; receiving into the computer processor location data, the location data comprising a given set of locations; storing the location data in the computer processor as a second set of a plurality of locations in a location grid, wherein the location grid is partitioned into a plurality of location tiles, the plurality of location tiles comprising the locations; associating each facility tile to a location tile; associating each facility in each facility tile to a location in an associated location tile; identifying a flow function as distances between the plurality of facilities in the facility grid; identifying a distance function as distances between the plurality of locations in the location grid; and identifying an association function relating the facilities to the locations such that a local minimum for a cost function depending on the flow function and the distance function is found; wherein the flow function and the distance function satisfy one or more constraints; and

20 wherein dimensions of the facility grid are equal to dimensions of the location grid, wherein a number of the facilities is equal to a number of the locations, and wherein a number of the facility tiles is equal to a number of the location tiles.

18. The system of claim 17, wherein the flow function comprises an arbitrary norm between facilities in the facility grid; wherein the distance function comprises an arbitrary norm between points in the locations grid; wherein the facility tiles and the location tiles are generated using a heuristic approach, thereby enabling a selection and mapping of locations in the locations grid and facilities in the facility grid that result in a minimum cost; and wherein the associating each facility in each facility tile to a location in the associated location tile is executed such that when two particular locations are close the corresponding facilities are distant.

19. The system of claim 17, wherein the cost function comprises: wherein P comprises a set of all the facilities such that a and b are the facilities; wherein f comprises the flow function f: P*P — R; wherein TI P — L comprises the association function such that 7t(a) comprises a first location associated with a first facility and 7t(b) comprises a second location associated with a second facility; and wherein d comprises the distance function d: L*L — R.

20. The system of claim 17, wherein the computer processor and memory are operable for applying the minimized cost function to placing and routing connections on a circuit board; wherein the locations comprise sites in a backboard, the facilities comprise elements to a position in the backboard, the distance function comprises the Euclidian distance between the sites in the backboard and the flow function comprises a number of wires every two backboard elements share.

21

Description:
OPTIMIZATION OF A QUADRATIC ASSIGNMENT PROBLEM ON A LATTICE

CLAIM OF PRIORITY

[0000] This patent application claims the benefit of U.S. Provisional Patent Application No. 63/279,913, filed November 16, 2021, entitled “OPTIMIZATION OF A QUADRATIC ASSIGNMENT PROBLEM ON A LATTICE”, which is incorporated by reference herein in its entirety.

TECHNICAL FIELD

[0001] The present disclosure relates to the optimization of the quadratic assignment problem (QAP) on lattices, and in an embodiment, but not by way of limitation, given a set of facilities, a set of locations, a flow function, and a distance function, the associated cost function and corresponding solution to the minimization are automatically determined.

BACKGROUND

[0002] The quadratic assignment problem (QAP) was introduced by Koopmans and Beckman in 1957. The QAP objective is to assign a set of n facilities to a set of n locations to minimize the total assignment cost, which is a quadratic function of the flow between the facilities and the distance between the locations. It is a strongly NP-hard problem; thus, one is forced to resort to heuristics. Typical strategies for solving QAP instances involve heuristics to find feasible solutions which are subsequently improved over multiple iterations. But finding exact solutions for QAP instances is infeasible, even for small n (number of facilities and locations). The QAP can be interpreted as the problem of locating n facilities to n locations so as to minimize the assignment cost function that depends on the distances between locations and the flow between facilities.

[0003] More specifically, in any given instance of the QAP, one is given two sets, P ("facilities") and L ("locations"), of equal size n, together with a flow function f : P * P — ► R and a distance function d : L * L — ► R. One would like to find the bijection it : P — L ("assignment"/"permutation") that minimizes the following cost function: (ir(a), ir(b))

[0004] FIG. 1 illustrates a generic QAP problem. That is, where to place a certain number of facilities in an equal number of locations so as to minimize the quadratic assignment cost of flows and distances amongst the facilities and locations. More specifically, FIG. 1 illustrates four facilities in four locations, and the consideration of the distance between the locations and the flow between the facilities.

[0005] Steinberg (1961) introduced the “backboard wiring” problem that required the placement of n elements in a computer backboard such that two elements must be connected with a known number of wires. In the original paper the author states that the positions the elements shall occupy in the backboard can be interpreted as a set of lattice points. This problem is also known as wire-routing problem.

[0006] FIG. 2 illustrates an original formulation of a backboard wiring problem. This wiring problem illustrated in FIG. 2 can be interpreted as a QAP problem with thirty-six locations (sites in the backboard) and facilities (elements to position in the backboard), where the distance function is the actual distance between backboard sites and the flow function is the number of wires every two backboard elements share.

[0007] A feature of the QAP is its hardness, that is, an increase in hardness results in a disproportionately greater requirement in computation resources to compute the solution. The QAP is not only NP-complete, but also the search for an s-approximate solution is NP-complete, making it considered "among the hardest of the hard of all combinatorial optimization problems," as it often described in literature. A decision problem is NP-complete if it is in NP, and every problem in NP is reducible to it in polynomial time. Brief Description of the Drawings

[0008] FIG. 1 illustrates a generic QAP problem.

[0009] FIG. 2 illustrates an original formulation of a backboard wiring problem.

[0010] FIG. 3 illustrates an example of location and facility grids.

[0011] FIG. 4 illustrates a lattice in two dimensions.

[0012] FIG. 5 illustrates the shortest vector problem.

[0013] FIG. 6 illustrates the closest vector problem.

[0014] FIG. 7 illustrates a lattice defined by a “good” basis.

[0015] FIG. 8 illustrates the same lattice defined by a “bad” basis.

[0016] FIG. 9 illustrates a grid generated by k = 3, n= 8 3 , BL=(2,0,0)

(0,5,0) (0,0,9).

[0017] FIG. 10 illustrates a grid generated by k = 3, n= 8 3 , BF= (6,0,0) (0,6,0) (0,0,8).

[0018] FIGS. 11, 12, 13 and 13A illustrate an example of associating a location tile with a facility tile.

[0019] FIG. 14 is a block diagram of a computer system upon which one or more embodiments of the present disclosure can execute.

Detailed Description

[0020] In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the various aspects of different embodiments of the present invention. It will be evident, however, to one skilled in the art that the present invention may be practiced without all the specific details and/or with variations, permutations, and combinations of the various features and elements described herein.

[0021] An embodiment of the present disclosure provides a description of an innovative methodology for solving QAP instances defined on finite lattices (grids). It is assumed that locations are points on a k dimensional finite grid, and the distance function is the norm function defined on the set of these grid points. Facilities are points on a different k dimensional finite grid, and the flow function is the norm function defined on the set of these (other) grid points. A new heuristic for solving the QAP that arises in the Steinberg wiring problem is disclosed herein. An advantage of our proposed approach is that it does not involve iterations as required by state-of-the-art methods such as simulated annealing.

[0022] In either the generic lattice QAP problem or the more specific backboard wiring problem, the proposed strategy for a solution consists of three steps. At first, dividing the two grids of points (locations and facilities) into tiles. FIG. 3 shows the location grid and the facility grid on a simple example in two dimensions. In this example there are 36 locations (LI, L2, . . ., L36) and facilities (Fl, F2, . . ., F36). The location grid is divided into 9 tiles, LT1, LT2, LT3, LT4, LT5, LT6, LT7, LT8 and LT9, each containing 4 locations. The 9 tiles may contain the following locations:

LT1 = [LI, L6, L31, L36], LT2 = [L2, L5, L32, L35], LT3 = [L7, L12, L25, L30], LT4 = [L8, LI 1, L26, L29], LT5 = [L3, L4, L33, L34], LT6 = [L13, L19, L18, L24], LT7 = [L14, L17, L20, L23], LT8 = [L9, LIO, L27, L28], LT9 = [L15, L16, L21, L22], The facility grid is divided into 9 tiles, following the same strategy, thus having:

FT1 = [Fl, F6, F31, F36], FT2 = [F2, F5, F32, F35], FT3 = [F7, F12, F25, F30], FT4 = [F8, Fl 1, F26, F29], FT5 = [F3, F4, F33, F34], FT6 = [F13 F19, F18, F24], FT7 = [F14, F17, F20, F23], FT8 = [F9, F10, F27, F28], FT9 = [F15, F16, F21, F22], Second, every “location tile” is mapped to a unique “facility tile” such that the tiles with long edges in the location tile set are associated with tiles with short edges in the facility tile set. Following this example, the location and facility tiles can be mapped like this:

LT1 with FT9, LT2 with FT8, LT3 with FT7, LT4 with FT6, LT5 with FT5, LT6 with FT4, LT7 with FT3, LT8 with FT2, LT9 with FT1. Third, every point in a “location tile” (that is, a location) is associated to a point in the correspondent “facility tile” (that is, a facility). This means, for example, defining a mapping between elements of LT1 and FT9 as: LI with F15, L6 with F16, L31 with F21 and L36 with F22, and so on for the remaining pairs of tiles. At the end, there is a mapping (association) between every facility and one and only one location. In what follows the above sequence of steps is generalized for arbitrary dimensions. [0023] The definition of the three strategies and their implementation leads to a deterministic and non-iterative (consequently, the approach is faster than existing methods) heuristic for solving QAPs defined on lattices. This problem addresses the special case of the backboard wiring problem, as well as the generic QAP where flow and distance functions can be interpreted as distance functions on the sets of lattice points.

[0024] Definition !. A lattice is a discrete additive subgroup of R k . Definition 2. Let B = [bi; . . . ; bk] be linearly independent vectors in R A k. The lattice generated by B, L(B) is the set of all the integer linear combinations of the vectors of B. The matrix B is called a basis for the lattice L(B). FIG. 4 illustrates a lattice in two dimensions.

[0025] Some well-known computational problems on lattices are the following:

Shortest Vector Problem (SVP): As illustrated in FIG. 5, given a lattice basis B (B=[bl, b2]), one must find the shortest nonzero vector in the lattice generated by B, also named L(B).

Closest Vector Problem (CVP): As illustrated in FIG. 6, given a lattice basis B and a target vector t (not necessarily in the lattice), one must find the lattice point v in L(B) closest to t.

[0026] The strategy of resolution of problems relies on finding a “good basis” for the lattice.

A “good” basis is one such that:

• Its vectors are as short as possible,

• Its vectors are as orthogonal as possible.

The same lattice can be defined by a “good” basis and by a “bad” basis, and by any basis in between (it is easy in low dimensions to go from a bad basis to good basis, but computationally very challenging in high-dimensional settings). FIG.

7 and FIG. 8 show the same lattice generated by two different bases (one “good” in FIG. 7 and the other “bad” in FIG. 8).

[0027] Algorithms for solving the SVP and CVP are either exponential in the number of operations or have an exponential approximation factor. It is noted that there is no polynomial time algorithm that approximates lattice problems to within polynomial factors.

[0028] SVP and CVP problems are believed to be resistant to quantum attacks and consequently used for data encryption. It is noted that there is no polynomial time quantum algorithm that approximates lattice problems to within polynomial factors.

[0029] For QAP on lattices, consideration is given to special instances of QAP problems. Specifically, it is assumed that locations are points in a k- dimensional finite grid, and the distance function is the norm function between any pair of grid points. Similarly, facilities are points in a different k- dimensional finite grid, and flow function is the norm function between any pair of grid points. Referring to FIG. 9, k = 3, n= 8 3 , generated by basis BL=(2,0,0) (0,5,0) (0,0,9). The distance between grid points is the distance function. Referring to FIG. 10, k = 3, n= 8 3 , generated by basis BF= (6,0,0) (0,6,0) (0,0,8). The distance between grid points is the flow function. QAP is fully defined by (n, BF, BL).

[0030] Now, with the above as background, a novel approach for solving QAP lattices is disclosed. This novel approach can be used for wire-routing optimization, factory layout optimization, and other applications. The novel approach is deterministic and non-iterative.

[0031] As a first step, the two grids are partitioned into tiles of the same cardinality. Let L and P be the set of all locations and facilities, respectively. Let n be their cardinality (L and P have same cardinality by definition of the QAP problem). To partition the two grids into tiles, three things have to be decided: the cardinality of the tiles, a strategy to partition the location grid, and a strategy to partition the facility grid. For the first point, the grids are divided into tiles of cardinality 2 k , as the vertices of a k-dimensional cube (in this case the number of tiles is n/2 k ), but any cardinality divisor of the number of locations/facilities is also possible. Secondly (and thirdly), the same strategy is used to partition the two grids (in another embodiment, the strategies could differ). The volume of a tile is the volume of the polytope whose vertices consist of the grid points contained in the tile, i.e. if a tile is made of h grid points, T = [Al, A2, . . . Ah], then its volume is Vol(T)= Volume(Al, A2, . . . Ah). Although the strategy to partition the grids can be arbitrary, the knowledge of the (“good”) basis of the lattices associated to the grids to define tiles that vary from the one having biggest volume (the tile containing the 2 k vertices of the grid) to the smallest volume is leveraged. As depicted in connection with the example discussed above and in FIG. 13, tile LT1 contains the 4 locations with maximum distance (norm), while tile LT9 contains 4 locations with the shortest (nonunique) distance (norm). Tiles LT1, LT2, . . . , LT9 are ordered in decreasing order with respect to their volume, i.e. Vol(LTl)> Vol(LT2)> . . . . > Vol(LT9) . The same logic holds for facilities tiles. The sets of locations and facilities can therefore be addressed as follows:

[0032] After the partitioning, every tile of the locations grid is associated with a tile of the facilities grid. Although the association can be arbitrary, in an embodiment, tiles with a large volume are associated with tiles with a small volume. Since the tiles have already been ordered depending on their volume, the association T between tiles is the following: T (TLi ) = TFj , where j = (c/2 k )-i. FIG. 13 shows in the example above how tiles are associated, following the cited strategy. FIGS. 11, 12, 13 and 13A further illustrate this example. Specifically, FIGS. 11 and 12 illustrate that location tile LTI contains locations LI, L6, L31 and L36, and that location tile LTI is associated with facility tile FT9, which contains facilities F15, F16, F21 and F22. FIGS. 13 and 13A illustrate that location tile LT2 contains locations L7, LI 2, L25 and L30, and that location tile L2 is associated with facility tile FT8, which contains facilities F9, F10, F27 and F28.

[0033] Thereafter, every location tile point (location) contained in a location tile is deterministically associated with a facility tile point contained in the associated facility tile. The association is defined such that if two locations of the same tile are “close,” the correspondent facilities are “distant.” Specifically, let FX and FY be two facilities of the same tile FTi, a bijection TI P — L is defined such that if |(FX, FY)| is “small” then |( 7t(FX), 7t(FY))| is “big”, where both locations 7t(FX), 7t(FY) belong to the location tile T -1 (FTi). Function 7t, restricted to a tile FTi, can be defined listing in increasing order all distances between pairs of facilities in FTi and listing in decreasing order all distances between pairs of locations in T -1 (FTi) and finding the best association. Function it is the association between facilities to locations proposed as a heuristic solution for the QAP problem defined on lattices. It is noted that these concepts of distances are restricted to elements of tiles formed of finite, and in an embodiment only about four or so, locations and facilities. It is therefore possible to compute and list in order of magnitude all possible distances between pairs of facilities in tile T, and similarly, to compute and list in order of magnitude all possible distances between pairs of locations in the tile associated with tile T. In any particular application, one of skill in the art should use some interpretation because the exact function it cannot be defined independently from the particular application.

[0034] In summary, given a set of facilities F, a set of locations P, a flow function f and a distance function d (that satisfy some constraints), the disclosed embodiments find an assignment that is competitive in cost to the one found by simulated annealing but is orders of magnitude faster. In experiments, the additional cost penalty in the disclosed embodiments is less than 4%. The acceleration in computation emerges because the facilities/locations are first partitioned into tiles, then every facility tile is associated to a location tile, and finally every facility in every facility tile is associated to a location in the associated location tile.

[0035] FIG. 14 is a block diagram illustrating a computing and communications platform 1400 in the example form of a general -purpose machine on which some or all the operations of the present disclosure may be carried out according to various embodiments. In certain embodiments, programming of the computing platform 1400 according to one or more particular algorithms produces a special-purpose machine upon execution of that programming. In a networked deployment, the computing platform 1400 may operate in the capacity of either a server or a client machine in server-client network environments, or it may act as a peer machine in peer-to-peer (or distributed) network environments. [0036] Example computing platform 1400 includes at least one processor 1402 (e.g., a central processing unit (CPU), a graphics processing unit (GPU) or both, processor cores, compute nodes, etc.), a main memory 1401 and a static memory 1406, which communicate with each other via a link 1408 (e.g., bus). The computing platform 1400 may further include a video display unit 1410, input devices 1417 (e.g., a keyboard, camera, microphone), and a user interface (UI) navigation device 1411 (e.g., mouse, touchscreen). The computing platform 1400 may additionally include a storage device 1416 (e.g., a drive unit), a signal generation device 1418 (e.g., a speaker), and a network interface device 1420 for coupling to network 1426. A signal generation device 1418 and a sensor 1424 may also be present.

[0037] The storage device 1416 includes a non-transitory machine- readable medium 1422 on which is stored one or more sets of data structures and instructions 1423 (e.g., software) embodying or utilized by any one or more of the methodologies or functions described herein. The instructions 1423 may also reside, completely or at least partially, within the main memory 1401, static memory 1406, and/or within the processor 1402 during execution thereof by the computing platform 1400, with the main memory 1401, static memory 1406, and the processor 1402 also constituting machine-readable media.

[0038] While the machine-readable medium 1422 is illustrated in an example embodiment to be a single medium, the term “machine-readable medium” may include a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) that store the one or more instructions 1423. The term “machine-readable medium” shall also be taken to include any tangible medium that is capable of storing, encoding or carrying instructions for execution by the machine and that cause the machine to perform any one or more of the methodologies of the present disclosure or that is capable of storing, encoding or carrying data structures utilized by or associated with such instructions. The term “machine-readable medium” shall accordingly be taken to include, but not be limited to, solid-state memories, and optical and magnetic media. Specific examples of machine-readable media include nonvolatile memory, including but not limited to, by way of example, semiconductor memory devices (e.g., electrically programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM)) and flash memory devices; magnetic disks such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD- ROM disks; and field programmable gate arrays (FPGA).

[0039] Although embodiments have been described with reference to specific examples, it will be evident that various modifications and changes may be made to these embodiments without departing from the broader spirit and scope of the invention. Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense. The accompanying drawings that form a part hereof, show by way of illustration, and not of limitation, specific embodiments in which the subject matter may be practiced. The embodiments illustrated are described in sufficient detail to enable those skilled in the art to practice the teachings disclosed herein. Other embodiments may be utilized and derived therefrom, such that structural and logical substitutions and changes may be made without departing from the scope of this disclosure. This Detailed Description, therefore, is not to be taken in a limiting sense, and the scope of various embodiments is defined only by the appended claims, along with the full range of equivalents to which such claims are entitled.

Examples

[0040] In Example No. 1, a process for optimizing a quadratic assignment problem (QAP) on a lattice comprising receiving into a computer processor facility data, the facility data comprising a given set of facilities; storing the facility data in the computer processor as a first set of a plurality of facilities in a facility grid, wherein the facility grid is partitioned into a plurality of facility tiles, the plurality of facility tiles comprising the facilities; receiving into the computer processor location data, the location data comprising a given set of locations; storing the location data in the computer processor as a second set of a plurality of locations in a location grid (having the same dimension k as the facility grid), wherein the location grid is partitioned into a plurality of location tiles, the plurality of location tiles comprising the locations; associating each facility tile to a location tile; associating each facility in each facility tile to a location in an associated location tile; identifying a flow function as distances between the plurality of facilities in the facility grid; identifying a distance function as distances between the plurality of locations in the location grid; and identifying a mapping or association function relating the facilities to the locations such that a low cost function between the flow function and the distance function is satisfied; wherein the flow function and the distance functions satisfy one or more constraints; wherein the facility dimension is equal to the location dimension, wherein a number of the facilities is equal to a number of the locations, and wherein a number of the facility tiles is equal to a number of the location tiles. Example No. 1 generates the (flow and location) tiles using a heuristic approach that enables the selection and mapping of points in the two grids. In related experiments, the additional cost penalty in Example No. 1 was less than 4% worse than the one found using the standard simulated annealing approach, but orders of magnitude faster. Example No. 1 generates the tiles in a manner that exploits the knowledge of a “good” basis.

[0041] Example No. 2 includes all the features of Example No. 1, and further includes a process wherein the flow function comprises a distance function between facilities in the facility grid. The flow function is a function f: P x p — R (p is the set of facilities, R is the set of real numbers) that can be interpreted as a Euclidian distance function between points in a finite grid. The x in “P x p” simply means the domain (input of the function) is the set of all possible pairs of facilities, z.e., the input of the function is 2 facilities.

[0042] Example No. 3 includes all the features of Example Nos. 1-2, and further includes a process wherein the distance function comprises a distance between locations in the locations grid. In other words, the distance function is the usual Euclidian distance function d: L x L — R (L is the set of locations).

[0043] Example No. 4 includes all the features of Example Nos. 1-3, and further includes a process wherein the cost function comprises: wherein P comprises the set of all facilities; therefore a and b are facilities wherein f comprises the flow function f: PxP — R; wherein TI P — L comprises the association function, therefore 7t(a) denotes the location associated with the facility a and 7t(b) denotes the location associated with the facility b wherein d denotes the distance function d: L*L — R.

[0044] Example No. 5 includes all the features of Example Nos. 1-4, and further includes a process wherein a cardinality of facility tiles and a cardinality of location tiles comprise 2 raised to a power of the grids dimension (2 k is the cardinality of the vertices of a cube in k dimensions).

[0045] Example No. 6 includes all the features of Example Nos. 1-5, and further includes a process including applying the minimized cost function to placing and routing connections on a circuit board, setting up a factory layout, and other commercial and industrial applications.

[0046] Example No. 7 includes all the features of Example Nos. 1-6, and further includes a process wherein the facility tiles and location tiles are generated using a heuristic approach, thereby enabling a selection and mapping of locations in the locations grid and facilities in the facility grid that minimizes cost.

[0047] Example No. 8 includes all the features of Example Nos. 1-7, and further includes a process wherein the associating each facility in each facility tile to a location in the associated location tile such that when two particular locations are close, the corresponding facilities are distant.

[0048] Example No. 9 is a machine-readable medium comprising instructions that when executed by a processor execute a process comprising receiving into a computer processor facility data, the facility data comprising a given set of facilities on a finite lattice; storing the facility data in the computer processor as a first set of a plurality of facilities in a facility grid, wherein the facility grid is partitioned into a plurality of facility tiles, the plurality of facility tiles comprising the facilities; receiving into the computer processor location data, the location data comprising a given set of locations; storing the location data in the computer processor as a second set of a plurality of locations in a location grid, wherein the location grid is partitioned into a plurality of location tiles, the plurality of location tiles comprising the locations; associating each facility tile to a location tile; associating each facility in each facility tile to a location in an associated location tile; identifying a flow function as distances between the plurality of facilities in the facility grid; identifying a distance function as distances between the plurality of locations in the location grid; and identifying an association function relating the facilities to the locations such that a local minimum for a cost function depending on the flow function and the distance function is found; wherein the flow function and the distance function satisfy one or more constraints; and wherein dimensions of the facility grid are equal to dimensions of the location grid, wherein a number of the facilities is equal to a number of the locations, and wherein a number of the facility tiles is equal to a number of the location tiles.

[0049] Example No. 10 includes all the features of Example No. 9, and optionally includes a machine-readable medium wherein the flow function comprises an arbitrary norm between facilities in the facility grid.

[0050] Example No. 11 includes all the features of Example Nos. 9-10, and optionally includes a machine-readable medium wherein the distance function comprises an arbitrary norm between points in the locations grid.

[0051] Example No. 12 includes all the features of Example Nos. 9-11, and optionally includes a machine-readable medium wherein the cost function comprises: wherein P comprises a set of all the facilities such that a and b are the facilities; wherein f comprises the flow function f: P*P — R; wherein TI P — L comprises the association function such that 7t(a) comprises a first location associated with a first facility and 7t(b) comprises a second location associated with a second facility; and wherein d comprises the distance function d: L*L — R.

[0052] Example No. 13 includes all the features of Example Nos. 9-12, and optionally includes a machine-readable medium wherein a cardinality of facility tiles and a cardinality of location tiles comprise a value of 2 raised to a power of the location dimension.

[0053] Example No. 14 includes all the features of Example Nos. 9-13, and optionally includes a machine-readable medium comprising instructions for applying the minimized cost function to placing and routing connections on a circuit board; wherein the locations comprise sites in a backboard, the facilities comprise elements to a position in the backboard, the distance function comprises the Euclidian distance between the sites in the backboard and the flow function comprises a number of wires every two backboard elements share.

[0054] Example No. 15 includes all the features of Example Nos. 9-14, and optionally includes a machine-readable medium wherein the facility tiles and the location tiles are generated using a heuristic approach, thereby enabling a selection and mapping of locations in the locations grid and facilities in the facility grid that result in a minimum cost.

[0055] Example No. 16 includes all the features of Example Nos. 9-15, and optionally includes a machine-readable medium wherein the associating each facility in each facility tile to a location in the associated location tile is executed such that when two particular locations are close the corresponding facilities are distant.

[0056] Example No. 17 is a system comprising a computer processor; and a memory coupled to the computer processor; wherein the computer processor and the memory are operable for receiving into a computer processor facility data, the facility data comprising a given set of facilities on a finite lattice; storing the facility data in the computer processor as a first set of a plurality of facilities in a facility grid, wherein the facility grid is partitioned into a plurality of facility tiles, the plurality of facility tiles comprising the facilities; receiving into the computer processor location data, the location data comprising a given set of locations; storing the location data in the computer processor as a second set of a plurality of locations in a location grid, wherein the location grid is partitioned into a plurality of location tiles, the plurality of location tiles comprising the locations; associating each facility tile to a location tile; associating each facility in each facility tile to a location in an associated location tile; identifying a flow function as distances between the plurality of facilities in the facility grid; identifying a distance function as distances between the plurality of locations in the location grid; and identifying an association function relating the facilities to the locations such that a local minimum for a cost function depending on the flow function and the distance function is found; wherein the flow function and the distance function satisfy one or more constraints; and wherein dimensions of the facility grid are equal to dimensions of the location grid, wherein a number of the facilities is equal to a number of the locations, and wherein a number of the facility tiles is equal to a number of the location tiles.

[0057] Example No. 18 includes all the features of Example No. 17, and optionally includes a system wherein the flow function comprises an arbitrary norm between facilities in the facility grid; wherein the distance function comprises an arbitrary norm between points in the locations grid; wherein the facility tiles and the location tiles are generated using a heuristic approach, thereby enabling a selection and mapping of locations in the locations grid and facilities in the facility grid that result in a minimum cost; and wherein the associating each facility in each facility tile to a location in the associated location tile is executed such that when two particular locations are close the corresponding facilities are distant.

[0058] Example No. 19 includes all the features of Example Nos. 17-18, and optionally includes a system wherein the cost function comprises: wherein P comprises a set of all the facilities such that a and b are the facilities; wherein f comprises the flow function f: P*P — R; wherein TI P — L comprises the association function such that 7t(a) comprises a first location associated with a first facility and 7t(b) comprises a second location associated with a second facility; and wherein d comprises the distance function d: L*L — R.

[0059] Example No. 20 includes all the features of Example Nos. 17-19, and optionally includes a system wherein the computer processor and memory are operable for applying the minimized cost function to placing and routing connections on a circuit board; wherein the locations comprise sites in a backboard, the facilities comprise elements to a position in the backboard, the distance function comprises the Euclidian distance between the sites in the backboard and the flow function comprises a number of wires every two backboard elements share.