Geometric programming, chemical equilibrium, and the anti-entropy function.