Skip to content

Commit 3b1eb22

Browse files
Merge pull request #288 from Quantum-Software-Development/FabianaCampanari-patch-1
Update README.md
2 parents d4a472d + 9c380ec commit 3b1eb22

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ A chocolate manufacturer has a stock of chocolates, consisting of 130 kg with ch
141141

142142
### ***Objective Function***
143143

144-
### [Maximize]():
144+
### [Maximize]():
145145

146146
$$
147147
Z = 20x_1 + 12.5x_2
@@ -153,7 +153,7 @@ Z = 20x_1 + 12.5x_2
153153

154154
<br>
155155

156-
### [Subject to Constraints]():
156+
### [Subject to Constraints]():
157157

158158
$$
159159
\begin{cases}
@@ -173,12 +173,12 @@ $$
173173

174174
<br>
175175

176-
### [Solution Steps()
176+
### [Solution Steps():
177+
177178

178179
1. Express the cherry chocolate constraint:
179-
180-
$$\frac{x_1}{2} + \frac{x_2}{3} \leq 130$$
181180

181+
$$\frac{x_1}{2} + \frac{x_2}{3} \leq 130$$
182182

183183
```latex
184184
\frac{x_1}{2} + \frac{x_2}{3} \leq 130
@@ -188,21 +188,21 @@ $$\frac{x_1}{2} + \frac{x_2}{3} \leq 130$$
188188

189189
2. Express the mint chocolate constraint:
190190

191-
$$\frac{x_1}{2} + \frac{2x_2}{3} \leq 170$$
191+
$$\frac{x_1}{2} + \frac{2x_2}{3} \leq 170$$
192192

193-
```latex
194-
\frac{x_1}{2} + \frac{2x_2}{3} \leq 170
195-
```
193+
```latex
194+
\frac{x_1}{2} + \frac{2x_2}{3} \leq 170
195+
```
196196

197-
<br>
197+
<br><br>
198198

199-
## Solve the system using the **Simplex Method** or an optimization tool.
199+
## Solve the system using the **Simplex Method** or an optimization tool.
200200

201201
<br>
202202

203-
### Optimal Solution:
203+
### [Optimal Solution]():
204204

205-
#### [Solving the system yields]():
205+
#### Solving the system yields:
206206

207207
$$
208208
(x_1, x_2) = (180, 120)

0 commit comments

Comments
 (0)