Skip to content

Commit 2c2187f

Browse files
committed
[lp_intro] update notations
Dear John @jstac, This pull request finishes the issue #469 by - add the notation for $z$, $A_{eq},b_{eq}, A_{ub},b_{ub}$. - change the orange to black to correspond to the changes in the visualization plot. Best, Longye
1 parent 18952a9 commit 2c2187f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lectures/lp_intro.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Required per unit material and labor inputs and revenues are shown in table b
7676

7777
A firm's problem is to construct a production plan that uses its 30 units of materials and 20 units of labor to maximize its revenue.
7878

79-
Let $x_i$ denote the quantity of Product $i$ that the firm produces.
79+
Let $x_i$ denote the quantity of Product $i$ that the firm produces and $z$ denote the total revenue.
8080

8181
This problem can be formulated as:
8282

@@ -132,11 +132,11 @@ plt.show()
132132

133133
The blue region is the feasible set within which all constraints are satisfied.
134134

135-
Parallel orange lines are iso-revenue lines.
135+
Parallel black lines are iso-revenue lines.
136136

137-
The firm's objective is to find the parallel orange lines to the upper boundary of the feasible set.
137+
The firm's objective is to find the parallel black lines to the upper boundary of the feasible set.
138138

139-
The intersection of the feasible set and the highest orange line delineates the optimal set.
139+
The intersection of the feasible set and the highest black line delineates the optimal set.
140140

141141
In this example, the optimal set is the point $(2.5, 5)$.
142142

@@ -451,6 +451,8 @@ $$
451451
\end{aligned}
452452
$$
453453
454+
$A_{eq}, b_{eq}$ denote the equality constraint matrix and vector, and $A_{ub}, b_{ub}$ denote the inequality constraint matrix and vector.
455+
454456
```{note}
455457
By default $l = 0$ and $u = \text{None}$ unless explicitly specified with the argument `bounds`.
456458
```

0 commit comments

Comments
 (0)