Optimization Under Uncertainty of Nonlinear Energy Sinks