# NLP written by GAMS Convert at 02/17/22 17:19:05
#
# Equation counts
#     Total        E        G        L        N        X        C        B
#         5        1        0        4        0        0        0        0
#
# Variable counts
#                  x        b        i      s1s      s2s       sc       si
#     Total     cont   binary  integer     sos1     sos2    scont     sint
#         4        4        0        0        0        0        0        0
# FX      0
#
# Nonzero counts
#     Total    const       NL
#        18        6       12
#
# Reformulation has removed 1 variable and 1 equation

from pyomo.environ import *

model = m = ConcreteModel()

m.x1 = Var(within=Reals, bounds=(1e-06,1), initialize=0.624)
m.x2 = Var(within=Reals, bounds=(1e-06,1), initialize=0.376)
m.x3 = Var(within=Reals, bounds=(20,80), initialize=58.129)
m.x4 = Var(within=Reals, bounds=(0,None), initialize=0)

m.obj = Objective(sense=minimize, expr= m.x4)

m.e1 = Constraint(expr= log(m.x1 + 0.191987347447993 * m.x2) + m.x1 / (m.x1 +
    0.191987347447993 * m.x2) + (0.315693799947296 * m.x2) / (0.315693799947296
    * m.x1 + m.x2) + 3643.31361767678 / (239.726 + m.x3) - m.x4
    <= 12.9738026256517)
m.e2 = Constraint(expr= log(0.315693799947296 * m.x1 + m.x2) + (
    0.191987347447993 * m.x1) / (m.x1 + 0.191987347447993 * m.x2) + m.x2 / (
    0.315693799947296 * m.x1 + m.x2) + 2755.64173589155 / (219.161 + m.x3) -
    m.x4 <= 10.2081676704566)
m.e3 = Constraint(expr= -log(m.x1 + 0.191987347447993 * m.x2) - m.x1 / (m.x1 +
    0.191987347447993 * m.x2) - (0.315693799947296 * m.x2) / (0.315693799947296
    * m.x1 + m.x2) - 3643.31361767678 / (239.726 + m.x3) - m.x4
    <= -12.9738026256517)
m.e4 = Constraint(expr= -log(0.315693799947296 * m.x1 + m.x2) - (
    0.191987347447993 * m.x1) / (m.x1 + 0.191987347447993 * m.x2) - m.x2 / (
    0.315693799947296 * m.x1 + m.x2) - 2755.64173589155 / (219.161 + m.x3) -
    m.x4 <= -10.2081676704566)
m.e5 = Constraint(expr= m.x1 + m.x2 == 1)
