More Examples
See the quadratic assignment in the following examples:
Assign each department to a location
- Compute: calculate the solution value
- Optimal: optimal solution
Calculating cost
Calculated Cost:
Data Used in Calculations
Flows
between departments| Dep-1 | Dep-2 | Dep-3 | Dep-4 | |
| Dep-1 | 0 | 3 | 0 | 2 |
| Dep-2 | 3 | 0 | 0 | 1 |
| Dep-3 | 0 | 0 | 0 | 4 |
| Dep-4 | 2 | 1 | 4 | 0 |
Distances
between locations| L1 | L2 | L3 | L4 | |
| L1 | 0 | 80 | 150 | 170 |
| L2 | 80 | 0 | 130 | 100 |
| L3 | 150 | 130 | 0 | 120 |
| L4 | 170 | 100 | 120 | 0 |