An approach to minimization under a constraint: the added mass technique