You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the optimal solution with all reduced costs non-negative.
2146
+
***This is the optimal solution with all reduced costs non-negative.***
2137
2147
2138
2148
2139
2149
<br>
@@ -2151,7 +2161,7 @@ This is the optimal solution with all reduced costs non-negative.
2151
2161
2152
2162
### Theoretical Explanation
2153
2163
2154
-
The **Assignment Problem** aims to allocate *n* tasks to *n* agents (machines, workers) at minimum cost, ensuring each task and agent is assigned exactly once.**
2164
+
The [**Assignment Problem**]() aims to allocate *n* tasks to *n* agents (machines, workers) at minimum cost, ensuring each task and agent is assigned exactly once.
2155
2165
2156
2166
2157
2167
### [Problem Statement]():
@@ -2169,20 +2179,25 @@ The **Assignment Problem** aims to allocate *n* tasks to *n* agents (machines, w
2169
2179
2170
2180
<br>
2171
2181
2182
+
🏄🏄🏄🏄🏄
2172
2183
2173
2184
## 1. [Hungarian Method]() (Step by Step):
2174
2185
2175
-
### [**Step 1](): Subtract Row Minimums**
2186
+
### [Step 1](): Subtract Row Minimums
2176
2187
2177
-
#### Subtract the minimum value in each row from all elements in that row.
2188
+
#### [Subtract the minimum value in each row from all elements in that row]().
2178
2189
2179
-
- Row 1 min: 2 → [0, 2, 1]
2180
-
- Row 2 min: 1 → [0, 2, 1]
2181
-
- Row 3 min: 2 → [3, 0, 2]
2190
+
<br>
2191
+
2192
+
-[Row 1 min: 2]() → [0, 2, 1]
2193
+
-[Row 2 min: 1]() → [0, 2, 1]
2194
+
-[Row 3 min: 2]() → [3, 0, 2]
2182
2195
2183
2196
<br>
2184
2197
2185
-
#### [**Matrix after row subtraction:**]()
2198
+
#### [Matrix after row subtraction]():
2199
+
2200
+
<br>
2186
2201
2187
2202
|| M1 | M2 | M3 |
2188
2203
|---------|----|----|----|
@@ -2193,16 +2208,23 @@ The **Assignment Problem** aims to allocate *n* tasks to *n* agents (machines, w
2193
2208
2194
2209
<br>
2195
2210
2196
-
### [**Step 2](): Subtract Column Minimums**
2211
+
### [Step 2](): Subtract Column Minimums
2197
2212
2198
-
### Problem Recap
2213
+
### [Problem Recap]():
2214
+
2215
+
<br>
2199
2216
2200
2217
-**3 tasks** must be assigned to **3 machines**.
2201
2218
- Each task can be done by any machine, but with different costs.
2202
2219
- Each task must be assigned to exactly one machine, and each machine to exactly one task.
0 commit comments