Solver-o-matic
"These days, even the most pure and abstract mathematics is in danger to be applied."
- Anonymous
Decision Tree for Nonsmooth Optimization Software
So, you need a derivative free method or a method which automatically calculates the difference approximations. Is your problem convex?