Noise-free optimal controller