Adaptive multi-scale optimization sim from MS thesis research