Here we have the experimental enthalpy of melting (fusion) and some models activity coefficient(macroscopic equation of state, free energy calculation, divine intervention ...). note that the activity coefficient depends on the composition, so the composition (solubility) is on the left and right hand side. Thus, we have to solve this iteratively, which is why isit is nice for macroscopic models, which takes fractions of seconds, and, not so nice for molecular models which take hours(have not actually done this yet using MD, it is on my list of things to do). I find that a simple secant method is fine when doing it using macroscopic equations of state. Simply updating will unfortunately lead to divergence sometimes.