dual gradient ascent: Nonlinear Function