NAG Library Manual, Mark 29.3
Interfaces:  FL   CL   CPP   AD 

NAG AD Library Introduction
Example description

E05UC_A1W_F C++ Header Example Program Results


 Solution number 1

 Local minimization exited with code 0

 Varbl  Istate   Value         Lagr Mult

 V    1   0 -3.9415e+02  0.0000e+00
 V    2   0 -4.3349e+02  0.0000e+00

 L con  Istate   Value         Lagr Mult

 L    1   0 -3.1547e+02  0.0000e+00

 N con  Istate   Value         Lagr Mult

 N    1   0  4.8002e+05  0.0000e+00
 N    2   2  9.0000e-01 -7.1894e+02

 Final objective value =  -7.3171e+02
 QP multipliers
  0.0000e+00
  0.0000e+00
  0.0000e+00
  0.0000e+00
 -7.1894e+02


 ---------------------------------------------------------

 Solution number 2

 Local minimization exited with code 0

 Varbl  Istate   Value         Lagr Mult

 V    1   0 -3.9415e+02  0.0000e+00
 V    2   0 -4.3349e+02  0.0000e+00

 L con  Istate   Value         Lagr Mult

 L    1   0 -3.1547e+02  0.0000e+00

 N con  Istate   Value         Lagr Mult

 N    1   0  4.8002e+05  0.0000e+00
 N    2   2  9.0000e-01 -7.1896e+02

 Final objective value =  -7.3171e+02
 QP multipliers
  0.0000e+00
  0.0000e+00
  0.0000e+00
  0.0000e+00
 -7.1896e+02


 ---------------------------------------------------------

 Derivatives calculated: First order adjoints
 Computational mode    : algorithmic

 Derivatives:

  derivatives of objf[0] w.r.t ruser[0:5]:
   0  -6.8817e+02
   1  -3.4464e-08
   2   4.7442e-08
   3  -4.0689e-08
   4   4.8685e+05
   5  -1.3585e+05