Skip to content

Commit c393d33

Browse files
committed
fix typo about the bounds of inputs in exercise 4 and 8 problem descriptions
1 parent 587b1d4 commit c393d33

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

programming_exercises/exercise4_mpc/ex4_mpc.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"x^+ = \\begin{bmatrix}0.9752 & 1.4544 \\\\ -0.0327 & 0.9315 \\end{bmatrix} x + \\begin{bmatrix}0.0248 \\\\ 0.0327 \\end{bmatrix} u\n",
2626
"$$\n",
2727
"with constraints\n",
28-
"$$ \\mathcal{X} = \\{x \\mid |x_1|\\leq 5, |x_2|\\leq 0.2 \\},\\quad \\mathcal{U} = \\{ u \\mid |u| \\leq 1 \\} $$\n",
28+
"$$ \\mathcal{X} = \\{x \\mid |x_1|\\leq 5, |x_2|\\leq 0.2 \\},\\quad \\mathcal{U} = \\{ u \\mid |u| \\leq 1.75 \\} $$\n",
2929
"\n",
3030
"This is a second-order system with a natural frequency of $0.15r/s$, a damping ratio of $\\eta= 0.1$, which has been discretized at $1.5r/s$. The first state is the position, and the second is velocity.\n",
3131
"\n",

programming_exercises/exercise4_mpc/ex4_sol_mpc.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"x^+ = \\begin{bmatrix}0.9752 & 1.4544 \\\\ -0.0327 & 0.9315 \\end{bmatrix} x + \\begin{bmatrix}0.0248 \\\\ 0.0327 \\end{bmatrix} u\n",
2626
"$$\n",
2727
"with constraints\n",
28-
"$$ \\mathcal{X} = \\{x \\mid |x_1|\\leq 5, |x_2|\\leq 0.2 \\},\\quad \\mathcal{U} = \\{ u \\mid |u| \\leq 1 \\} $$\n",
28+
"$$ \\mathcal{X} = \\{x \\mid |x_1|\\leq 5, |x_2|\\leq 0.2 \\},\\quad \\mathcal{U} = \\{ u \\mid |u| \\leq 1.75 \\} $$\n",
2929
"\n",
3030
"This is a second-order system with a natural frequency of $0.15r/s$, a damping ratio of $\\eta= 0.1$, which has been discretized at $1.5r/s$. The first state is the position, and the second is velocity.\n",
3131
"\n",

programming_exercises/exercise8_explicit_mpc/ex8_explicit_mpc.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"x^+ = \\begin{bmatrix}0.9752 & 1.4544 \\\\ -0.0327 & 0.9315 \\end{bmatrix} x + \\begin{bmatrix}0.0248 \\\\ 0.0327 \\end{bmatrix} u\n",
2626
"$$\n",
2727
"with constraints\n",
28-
"$$ \\mathcal{X} = \\{x \\mid |x_1|\\leq 5, |x_2|\\leq 0.2 \\},\\quad \\mathcal{U} = \\{ u \\mid |u| \\leq 1 \\} $$\n",
28+
"$$ \\mathcal{X} = \\{x \\mid |x_1|\\leq 5, |x_2|\\leq 0.2 \\},\\quad \\mathcal{U} = \\{ u \\mid |u| \\leq 1.75 \\} $$\n",
2929
"\n",
3030
"\n",
3131
"## Problem 1 | Implement Explicit MPC\n",

programming_exercises/exercise8_explicit_mpc/ex8_sol_explicit_mpc.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"x^+ = \\begin{bmatrix}0.9752 & 1.4544 \\\\ -0.0327 & 0.9315 \\end{bmatrix} x + \\begin{bmatrix}0.0248 \\\\ 0.0327 \\end{bmatrix} u\n",
2626
"$$\n",
2727
"with constraints\n",
28-
"$$ \\mathcal{X} = \\{x \\mid |x_1|\\leq 5, |x_2|\\leq 0.2 \\},\\quad \\mathcal{U} = \\{ u \\mid |u| \\leq 1 \\} $$\n",
28+
"$$ \\mathcal{X} = \\{x \\mid |x_1|\\leq 5, |x_2|\\leq 0.2 \\},\\quad \\mathcal{U} = \\{ u \\mid |u| \\leq 1.75 \\} $$\n",
2929
"\n",
3030
"\n",
3131
"## Problem 1 | Implement Explicit MPC\n",

0 commit comments

Comments
 (0)