treatment optimization and control