A constrained variational model of biomolecular solvation and its numerical implementation. (1st February 2022)