The desirability functions in the Profiler provide the optimization that you're looking for.
The Target desirability will allow you try to match a specific value.
The optimization routines underlying the profiler are the same ones used in the Maximize and Minimize and LPSolve JSL functions but using the Profiler, even through JSL, may be more straightforward than calling the functions directly.
-Jeff