Title: Iterative Algorithms for Multilayer Optimizing Control