Optimizing complex phenotypes through model