free writing: optimization problem formulation