Skip to content

Commit c56d13a

Browse files
Update README.md
Signed-off-by: Fabiana 🚀 Campanari <113218619+FabianaCampanari@users.noreply.github.com>
1 parent cabaa16 commit c56d13a

File tree

1 file changed

+49
-3
lines changed

1 file changed

+49
-3
lines changed

README.md

Lines changed: 49 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ constraints.
10061006

10071007
### [Example: Unbalanced Transportation Problem]():
10081008

1009-
### ➠ Initial Unbalanced Model:
1009+
### [Initial Unbalanced Model]():
10101010

10111011
<br>
10121012

@@ -1047,8 +1047,7 @@ O3 & 6 & 12 & 10 & 10 \\
10471047

10481048
#
10491049

1050-
### ➠ Adjusted Balanced Model (Dummy Origin A Added):
1051-
1050+
### [Adjusted Balanced Model (Dummy Origin A Added)]():
10521051

10531052
<br>
10541053

@@ -1087,6 +1086,53 @@ A & 0 & 0 & 0 & 6 \\
10871086

10881087
### ➢ Now the model is **balanced**: [66 = 66]()
10891088

1089+
<br>
1090+
1091+
#
1092+
1093+
### [Feasible Solution Example]():
1094+
1095+
<br>
1096+
1097+
$$
1098+
\
1099+
\begin{array}{c|ccc|c}
1100+
& D1 & D2 & D3 & \text{Supply} \\
1101+
\hline
1102+
O1 & 0 & 20 & 0 & 20 \\
1103+
O2 & 5 & 25 & 0 & 30 \\
1104+
O3 & 0 & 10 & 0 & 10 \\
1105+
A & 20 & 1 & 5 & 6 \\
1106+
\hline
1107+
\text{Demand} & 25 & 36 & 5 & 66 \\
1108+
\end{array}
1109+
\
1110+
$$
1111+
1112+
<br>
1113+
1114+
```latex
1115+
\[
1116+
\begin{array}{c|ccc|c}
1117+
& D1 & D2 & D3 & \text{Supply} \\
1118+
\hline
1119+
O1 & 0 & 20 & 0 & 20 \\
1120+
O2 & 5 & 25 & 0 & 30 \\
1121+
O3 & 0 & 10 & 0 & 10 \\
1122+
A & 20 & 1 & 5 & 6 \\
1123+
\hline
1124+
\text{Demand} & 25 & 36 & 5 & 66 \\
1125+
\end{array}
1126+
\]
1127+
```
1128+
1129+
🟡 The values in the matrix represent the **quantities transported**.
1130+
🟠 $begin:math:text$ X_{A2} = 1 $end:math:text$, $begin:math:text$ X_{A3} = 5 $end:math:text$: These are **unsatisfied demands**.
1131+
1132+
<br>
1133+
1134+
#
1135+
10901136

10911137

10921138

0 commit comments

Comments
 (0)