Skip to content

Commit 8543d14

Browse files
committed
fixes
1 parent df791be commit 8543d14

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

lectures/lp_intro.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ kernelspec:
99
name: python3
1010
---
1111

12+
(lp_intro)=
13+
1214
In this lecture, we will need the following library. Install [ortools](https://developers.google.com/optimization) using `pip`.
1315

1416
```{code-cell} ipython3
@@ -601,7 +603,7 @@ You might notice the difference in the values of optimal solution using OR-Tools
601603
## Exercises
602604
603605
```{exercise-start}
604-
:label: ex1
606+
:label: lp_intro_ex1
605607
```
606608
607609
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
610612
```
611613
612614
613-
```{solution-start} ex1
615+
```{solution-start} lp_intro_ex1
614616
:class: dropdown
615617
```
616618
@@ -669,7 +671,7 @@ else:
669671
```
670672
671673
```{exercise-start}
672-
:label: ex2
674+
:label: lp_intro_ex2
673675
```
674676
675677
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
687689
```
688690
689691
690-
691-
Solution:
692-
693-
```{solution-start} ex1
692+
```{solution-start} lp_intro_ex1
694693
:class: dropdown
695694
```
696695

0 commit comments

Comments
 (0)