I have the following function form as one of my constraints :
f(x) = MIN(0, x)
Because of the MIN, it is non-differentiable.
As I would like to use an optimizer that uses derivative based methods, I need my objective function and constraints to be differentiable.
How could I convert (or approximate) this function into a differentiable one?
Here is an example of data and the function chart, even if it is trivial.