primal-dual-optimization Primal-Dual algorithm for smooth regularization of non-smooth optimization functions