Skip to content

Commit 0741876

Browse files
Fix a typo found in tutorial update (#21815)
1 parent 8cfe6db commit 0741876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/updating_costs_and_constraints.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"metadata": {},
9999
"source": [
100100
"## Update linear constraint coefficients and bounds\n",
101-
"For a linear constraint $lower \\le Ax \\le upper$, we can call [`LinearConstraint.UpdateCoefficients(new_A, new_lb, new_ub)`](https://drake.mit.edu/pydrake/pydrake.solvers.html#pydrake.solvers.LinearConstraint.UpdateCoefficients) to update the constraint as $new_{lb} \\le new_A* x\\le new_ub$.\n",
101+
"For a linear constraint $lower \\le Ax \\le upper$, we can call [`LinearConstraint.UpdateCoefficients(new_A, new_lb, new_ub)`](https://drake.mit.edu/pydrake/pydrake.solvers.html#pydrake.solvers.LinearConstraint.UpdateCoefficients) to update the constraint as $new_{lb} \\le new_A* x\\le new_{ub}$.\n",
102102
"\n",
103103
"For a linear equality constraint $Ax = b$, we can call [`LinearEqualityConstraint.UpdateCoefficients(Aeq, beq)`](https://drake.mit.edu/pydrake/pydrake.solvers.html#pydrake.solvers.LinearEqualityConstraint.UpdateCoefficients) to update the constraint to $\\text{Aeq}*x=\\text{beq}$."
104104
]

0 commit comments

Comments
 (0)