nag_opt_nlp2_sparse_jacobian (e04vjc) Example Program Results NEA (the number of nonzero entries in A) = 4 I IAFUN(I) JAVAR(I) A(I) ---- -------- -------- ----------- 1 4 1 -1.0000e+00 2 5 1 1.0000e+00 3 4 2 1.0000e+00 4 5 2 -1.0000e+00 NEG (the number of nonzero entries in G) = 10 I IGFUN(I) JGVAR(I) ---- -------- -------- 1 1 1 2 2 1 3 3 1 4 1 2 5 2 2 6 3 2 7 6 3 8 6 4 9 1 3 10 2 4 Final objective value = 5126.5 Optimal X = 0.12 -0.40 679.95 1026.07