A closed-loop optimization framework for personalized cancer therapy design