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
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ kernelspec:
9
9
name: python3
10
10
---
11
11
12
+
(lp_intro)=
13
+
12
14
In this lecture, we will need the following library. Install [ortools](https://developers.google.com/optimization) using `pip`.
13
15
14
16
```{code-cell} ipython3
@@ -601,7 +603,7 @@ You might notice the difference in the values of optimal solution using OR-Tools
601
603
## Exercises
602
604
603
605
```{exercise-start}
604
-
:label: ex1
606
+
:label: lp_intro_ex1
605
607
```
606
608
607
609
Implement a new extended solution for the Problem 1 where in the factory owner decides that number of units of Product 1 should not be less than the number of units of Product 2.
@@ -610,7 +612,7 @@ Implement a new extended solution for the Problem 1 where in the factory owner d
610
612
```
611
613
612
614
613
-
```{solution-start} ex1
615
+
```{solution-start} lp_intro_ex1
614
616
:class: dropdown
615
617
```
616
618
@@ -669,7 +671,7 @@ else:
669
671
```
670
672
671
673
```{exercise-start}
672
-
:label: ex2
674
+
:label: lp_intro_ex2
673
675
```
674
676
675
677
A carpenter manufactures $2$ products - $A$ and $B$.
@@ -687,10 +689,7 @@ Find the number of units of $A$ and product $B$ that he should manufacture in or
0 commit comments