An expression of the chemical equilibrium problem in the form of minimizing the free energy of a mixture to compute the chemical composition at equilibrium. By piece-wise linear approximations to the free energy function, the problem becomes a linear...