Skip to content

Commit c2b7cc0

Browse files
Merge pull request #970 from Quantum-Software-Development/FabianaCampanari-patch-1
Update README.md
2 parents 0d7fabf + a2d6c24 commit c2b7cc0

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2287,20 +2287,24 @@ In cell **K2**, enter:
22872287
=SUMPRODUCT(B2:D4, G2:I4)
22882288
```
22892289

2290+
<br>
2291+
22902292
This formula multiplies each assignment by its cost and sums the total.
22912293

22922294

22932295
<br>
22942296

22952297

2296-
#### [.4](): Add Row and Column Sums for Constraints
2298+
#### [1.4](): Add Row and Column Sums for Constraints
22972299

22982300
#### [Row Sums]() (Each Task Assigned Once):
22992301

23002302
- In **J2**: `=SUM(G2:I2)`
23012303
- In **J3**: `=SUM(G3:I3)`
23022304
- In **J4**: `=SUM(G4:I4)`
23032305

2306+
<br>
2307+
23042308
#### [Column Sums]() (Each Machine Assigned Once):
23052309

23062310
- In **G5**: `=SUM(G2:G4)`
@@ -2312,17 +2316,24 @@ This formula multiplies each assignment by its cost and sums the total.
23122316

23132317
### [Step 2](): Configure Excel Solver
23142318

2319+
<br>
2320+
23152321
1. **Go to**: Data > Solver
2322+
23162323
2. **Set Objective**:
23172324
- Set **K2** (total cost) to **Minimize**.
2325+
23182326
3. **By Changing Variable Cells**:
23192327
- Select **G2:I4**.
2328+
23202329
4. **Add Constraints**:
23212330
- **J2:J4 = 1** (each task assigned once)
23222331
- **G5:I5 = 1** (each machine assigned once)
23232332
- **G2:I4 = binary** (only 0 or 1 allowed)
2333+
23242334
5. **Choose Solving Method**:
23252335
- Use "Simplex LP" or "GRG Nonlinear" (either works for this size).
2336+
23262337
6. **Click Solve**.
23272338

23282339
<br>

0 commit comments

Comments
 (0)