3 integer,
parameter :: rk = kind(1.0d0)
4 integer,
intent(in) :: n
5 real(kind=rk),
dimension(n),
intent(in) :: x
6 real(kind=rk),
dimension(n),
intent(out) :: g
16 g(1) = 2.d0*(x(1) - 1.d0) - 1.6d1*x(1)*t1
20 g(i) = 8.d0*t2 - 1.6d1*x(i)*t1
subroutine objective_gradient(n, x, g)