Skip to content

Commit

Permalink
Update polyopt.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 authored Nov 17, 2023
1 parent eafd82f commit be24c48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/src/optimization_packages/polyopt.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Right now we support the following polyalgorithms.
`PolyOpt`: Runs Adam followed by BFGS for an equal number of iterations. This is useful in scientific machine learning use cases, by exploring the loss surface with the stochastic optimizer and converging to the minima faster with BFGS.

```@example polyopt
using Optimization, OptimizationPolyalgorithms
rosenbrock(x, p) = (p[1] - x[1])^2 + p[2] * (x[2] - x[1]^2)^2
x0 = zeros(2)
_p = [1.0, 100.0]
Expand Down

0 comments on commit be24c48

Please sign in to comment.