Exact Penalty Methods and Lagrangian Methods