Variational path-integral approach to a nonlinear open system.