Skip to content

Commit bce903a

Browse files
add cons_h and cons_j
1 parent de9276e commit bce903a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/tutorials/optimization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ u0 = [
6666
x => 1.0
6767
y => 2.0
6868
]
69-
prob = OptimizationProblem(sys, u0, grad=true, hess=true)
69+
prob = OptimizationProblem(sys, u0, grad=true, hess=true, cons_j=true, cons_h=true)
7070
solve(prob, IPNewton())
7171
```
7272

0 commit comments

Comments
 (0)