Dynamic strategy for personalized medicine : an application to metastatic breast cancer