Generalized mixed-integer nonlinear programming modeling of eco-industrial networks to reduce cost and emissions. (15th July 2015)