Methods for off-line/on-line optimization under uncertainty