Deakstadieđáhus: Discrete dynamic programming : an introduction to the optimization of staged processes.