Step-by-step quadratic penalty solution of a quadratic programming problem