Skip to content

Commit 9b16e64

Browse files
authored
Fix typo in documentation
The constraint values were inconsistent with the actual call ```julia prob = OptimizationProblem(optprob, x0, _p, lcons = [-Inf, -1.0], ucons = [0.8, 2.0]) ``` a few lines below
1 parent 673a0cb commit 9b16e64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/tutorials/constraints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Let's define the rosenbrock function as our objective function and consider the
1111
1212
x_1^2 + x_2^2 \leq 0.8 \\
1313
14-
0.0 \leq x_1 * x_2 \leq 5.0
14+
-1.0 \leq x_1 * x_2 \leq 2.0
1515
\end{aligned}
1616
```
1717

0 commit comments

Comments
 (0)