holistic planning and optimization