Skip to content

Commit

Permalink
added benchmarking for the oracles to nonlinear.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
pokutta committed Nov 7, 2023
1 parent 8633cf0 commit f274dc7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/nonlinear.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ function grad!(storage, x)
return mul!(storage, A, y, -2, 2)
end

# benchmarking Oracles
FrankWolfe.benchmark_oracles(f, grad!, () -> rand(n), lmo; k=100)

x, _, _ = Boscia.solve(f, grad!, lmo, verbose=true, print_iter=500)

@show x

0 comments on commit f274dc7

Please sign in to comment.