pmelchior / proxmin

Proximal optimization in pure python
MIT License
109 stars 23 forks source link

Updates to optimization variables #13

Closed pmelchior closed 5 years ago

pmelchior commented 5 years ago

This PR contains two related changes

The second part is important for a new feature of scarlet (namely to resize the sources without having to restart the optimization by exception). It allows user code to change the shape of X internally during a call to prox_f.