Proximal gradient method with automatic selection of the parameter by automatic differentiation. (2nd November 2018)