Optimization Under Connected Uncertainty