Model Formulation for Physics Problem Solving