#  MINLP written by GAMS Convert at 05/15/20 00:50:54
#  
#  Equation counts
#      Total        E        G        L        N        X        C        B
#          2        1        1        0        0        0        0        0
#  
#  Variable counts
#                   x        b        i      s1s      s2s       sc       si
#      Total     cont   binary  integer     sos1     sos2    scont     sint
#          4        1        0        3        0        0        0        0
#  FX      0        0        0        0        0        0        0        0
#  
#  Nonzero counts
#      Total    const       NL      DLL
#          7        4        3        0
# 
#  Reformulation has removed 1 variable and 1 equation


from pyomo.environ import *

model = m = ConcreteModel()


m.i1 = Var(within=Integers,bounds=(0,200),initialize=100)
m.i2 = Var(within=Integers,bounds=(0,200),initialize=100)
m.i3 = Var(within=Integers,bounds=(0,200),initialize=100)

m.obj = Objective(expr=2*m.i1**2 - 8*m.i1 + 2*m.i2**2 - 6*m.i2 + m.i3**2 - 4*m.i3 + 2*m.i1*m.i2 + 2*m.i1*m.i3
                        + 9, sense=minimize)

m.c1 = Constraint(expr= - m.i1 - m.i2 - 2*m.i3 >= -3)
