Optimization under Uncertainty of a Chain of Nonlinear Resonators using a Field Representation