algorithmsbooks / optimization

Errata for Algorithms for Optimization book
67 stars 16 forks source link

pg. 96 #70

Closed alextzik closed 2 years ago

alextzik commented 2 years ago

What does the command push!(qs, zeros(length(x))) contribute to the algorithm?

tawheeler commented 2 years ago

That line allocates the storage vectors, and thereby ensures that we have a storage vector for every step difference and gradient change.