Let the user supply a callback for solving the nonlinear system any way
that he or she likes.