Adjoint Equations and Perturbation Algorithms in Nonlinear Problems