tp027.apm


Model tp027
  ! Source version 1

  Variables
    x[1:3] = 2
    obj
  End Variables

  Equations
    x[1] + x[3]^2 + 1 = 0

    obj = (1/100)*(x[1] - 1)^2 + (x[2] - x[1]^2)^2

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

Stephan K.H. Seidl