Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2287,20 +2287,24 @@ In cell **K2**, enter:
=SUMPRODUCT(B2:D4, G2:I4)
```

<br>

This formula multiplies each assignment by its cost and sums the total.


<br>


#### [.4](): Add Row and Column Sums for Constraints
#### [1.4](): Add Row and Column Sums for Constraints

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

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

<br>

#### [Column Sums]() (Each Machine Assigned Once):

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

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

<br>

1. **Go to**: Data > Solver

2. **Set Objective**:
- Set **K2** (total cost) to **Minimize**.

3. **By Changing Variable Cells**:
- Select **G2:I4**.

4. **Add Constraints**:
- **J2:J4 = 1** (each task assigned once)
- **G5:I5 = 1** (each machine assigned once)
- **G2:I4 = binary** (only 0 or 1 allowed)

5. **Choose Solving Method**:
- Use "Simplex LP" or "GRG Nonlinear" (either works for this size).

6. **Click Solve**.

<br>
Expand Down