I want to solve the following optimization problem:

min_x { f(x) + lambda * ||x||1 }

There are many source codes for solving L1-norm Regularization problems, but their loss functions are limited to least square and logistic regression.

Do you know any source code that f(x) could be defined by the user?

Similar questions and discussions