You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lectures/lp_intro.md
+14-8Lines changed: 14 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -698,7 +698,9 @@ $$
698
698
\end{aligned}
699
699
$$
700
700
701
-
We then solve this dual problem by function *linprog*. Since parameters used here are defined before when solving the primal problem, we don't need to define them here.
701
+
We solve this dual problem by using the function *linprog*.
702
+
703
+
Since parameters used here are defined before when solving the primal problem, we won't define them here.
The optimal of the dual problem is 27.5, which is the same as the primal problem's. This matches the strong duality. The shadow prices for materials and labor are 0.625 and 0.4375, respectively.
712
+
The optimal value for the dual problem equals 27.5.
713
+
714
+
This equals the optimal value of the primal problem, an illustration of strong duality.
715
+
716
+
Shadow prices for materials and labor are 0.625 and 0.4375, respectively.
711
717
712
718
### Example 2: Investment Problem
713
719
@@ -727,7 +733,7 @@ $$
727
733
\end{aligned}
728
734
$$
729
735
730
-
We then solve this dual problem by function *linprog*.
736
+
We solve this dual problem by using the function *linprog*.
The optimal value for the dual problem is 141018.24, which is the same as the primal problem's.
770
+
The optimal value for the dual problem is 141018.24, which equals the value of the primal problem.
765
771
766
772
Now, let's interpret the dual variables.
767
773
@@ -781,19 +787,19 @@ We can also interpret $p_1$ as the prospective value in the end of the third ye
781
787
782
788
If the mutual fund can raise money at a cost lower than $p_1 - 1$, then it should raise more money to increase its revenue.
783
789
784
-
But if it bears a cost of funds higher than $p_1 - 1$, it shouldn't do that.
790
+
But if it bears a cost of funds higher than $p_1 - 1$, the mutual fund shouldn't do that.
785
791
786
-
For $i = 4, 5, 6$, this means, if the amount of capital that the fund is permitted to borrow from the bank changes by one dollar, the optimal pay out at the end of the third year will change $p_i$ dollars.
792
+
For $i = 4, 5, 6$, this means that if the amount of capital that the fund is permitted to borrow from the bank changes by one dollar, the optimal pay out at the end of the third year will change $p_i$ dollars.
787
793
788
-
Thus, for $i = 4, 5, 6$, $|p_i|$ reflects the value of one dollar that the mutual fund can borrow from the bank at the beginning of the $i-3$-th year.
794
+
Thus, for $i = 4, 5, 6$, $|p_i|$ indicates the value of one dollar that the mutual fund can borrow from the bank at the beginning of the $i-3$-th year.
789
795
790
796
$|p_i|$ is the shadow price for the loan amount. (We use absolute value here since $p_i \le 0$.)
791
797
792
798
If the interest rate is lower than $|p_i|$, then the mutual fund should borrow to increase its optimal payoff; if the interest rate is higher, it is better to not do this.
793
799
794
800
For $i = 7$, this means that if the amount of the corporate bond the mutual fund can buy changes one dollar, then the optimal payoff will change $p_7$ dollars at the end of the third year. Again, $p_7$ is the shadow price for the amount of the corporate bond the mutual fund can buy.
795
801
796
-
As for numerical results,
802
+
As for numerical results
797
803
798
804
1. $p_1 = 1.38$, which means one dollar of initial capital is worth $\$ 1.38$ at the end of the third year.
0 commit comments