We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2868cc commit a9f74e5Copy full SHA for a9f74e5
docs/src/tutorials/reusage_interface.md
@@ -65,6 +65,7 @@ sweep(cache, p_values)
65
u0_values = [[0.0, 0.0], [0.5, 0.5], [1.0, 1.0]]
66
67
for u0 in u0_values
68
+ local cache
69
cache = Optimization.reinit!(cache; u0 = u0)
70
sol = Optimization.solve!(cache)
71
println("Starting from ", u0, " converged to ", sol.u)
0 commit comments