Finally, λ can be computed by ensuring that the approximate and exact expected marginals have the same partition function.
with the other parameters fixed, solve: which amounts to rescalingμ by some constant.