Skip to content

Commit

Permalink
docs example fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 committed Dec 20, 2023
1 parent 7494ec4 commit 31086b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/examples/rosenbrock.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function con2_c(res, x, p)
end
optf = OptimizationFunction(rosenbrock, Optimization.AutoZygote(); cons = con2_c)
prob = OptimizationProblem(optf, x0, _p, lcons = [-Inf, -Inf], ucons = [Inf, Inf])
prob = OptimizationProblem(optf, x0, _p, lcons = [-Inf, -Inf], ucons = [100.0, 100.0])
sol = solve(prob, Ipopt.Optimizer())
```

Expand Down

0 comments on commit 31086b5

Please sign in to comment.