tp023.apm


Model tp023
  ! Source version 1

  Variables
    x[1] = 3, >= -50, <= 50
    x[2] = 1, >= -50, <= 50
    obj
  End Variables

  Equations
    x[1] + x[2] - 1 >= 0
    x[1]^2 + x[2]^2 - 1 >= 0
    9*x[1]^2 + x[2]^2 - 9 >= 0
    x[1]^2 - x[2] >= 0
    x[2]^2 - x[1] >= 0

    obj = x[1]^2 + x[2]^2

    ! best known objective = 2
    ! begin of best known solution
    ! x[1] = 1
    ! x[2] = 1
    ! end of best known solution
  End Equations
End Model

Stephan K.H. Seidl