A comparison between robust and risk-based optimization under uncertainty