pmelchior / scarlet

hyperspectral galaxy modeling and deblending
MIT License
49 stars 22 forks source link

Leaky prox #268

Closed pmelchior closed 2 years ago

pmelchior commented 2 years ago

implements a class that wraps around a constraint to make the prox leaky. This is to prevent the optimization to get stuck when the subgradients exactly cancel the gradients and can be beneficial especially early on in the optimization.

This is an experimental feature that is not used in any standard source type, but may help with issues like #222

pmelchior commented 2 years ago

this is a clean-up PR. Without travis to run tests and no side effects to existing code, I will merge without review