nag_opt_sparse_convex_qp (e04nkc) Example Program Data Data for example 1. Values of n and m 7 8 Values of nnz, iobj and ncolh 48 8 7 Matrix nonzeros: value, row index, column index 0.02 7 1 0.02 5 1 0.03 3 1 1.00 1 1 0.70 6 1 0.02 4 1 0.15 2 1 -200.00 8 1 0.06 7 2 0.75 6 2 0.03 5 2 0.04 4 2 0.05 3 2 0.04 2 2 1.00 1 2 -2000.00 8 2 0.02 2 3 1.00 1 3 0.01 4 3 0.08 3 3 0.08 7 3 0.80 6 3 -2000.00 8 3 1.00 1 4 0.12 7 4 0.02 3 4 0.02 4 4 0.75 6 4 0.04 2 4 -2000.00 8 4 0.01 5 5 0.80 6 5 0.02 7 5 1.00 1 5 0.02 2 5 0.06 3 5 0.02 4 5 -2000.00 8 5 1.00 1 6 0.01 2 6 0.01 3 6 0.97 6 6 0.01 7 6 400.00 8 6 0.97 7 7 0.03 2 7 1.00 1 7 400.00 8 7 Lower bounds 0.0 0.0 4.0e+02 1.0e+02 0.0 0.0 0.0 2.0e+03 -1.0e+25 -1.0e+25 -1.0e+25 -1.0e+25 1.5e+03 2.5e+02 -1.0e+25 Upper bounds 2.0e+02 2.5e+03 8.0e+02 7.0e+02 1.5e+03 1.0e+25 1.0e+25 2.0e+03 6.0e+01 1.0e+02 4.0e+01 3.0e+01 1.0e+25 3.0e+02 1.0e+25 Initial estimate of x 0.0 0.0 0.0 0.0 0.0 0.0 0.1 Data for example 2. Values of n and m 7 8 Values of nnz, iobj and ncolh 48 8 7 Matrix nonzeros: value, row index, column index 0.02 7 1 0.02 5 1 0.03 3 1 1.00 1 1 0.70 6 1 0.02 4 1 0.15 2 1 -200.00 8 1 0.06 7 2 0.75 6 2 0.03 5 2 0.04 4 2 0.05 3 2 0.04 2 2 1.00 1 2 -2000.00 8 2 0.02 2 3 1.00 1 3 0.01 4 3 0.08 3 3 0.08 7 3 0.80 6 3 -2000.00 8 3 1.00 1 4 0.12 7 4 0.02 3 4 0.02 4 4 0.75 6 4 0.04 2 4 -2000.00 8 4 0.01 5 5 0.80 6 5 0.02 7 5 1.00 1 5 0.02 2 5 0.06 3 5 0.02 4 5 -2000.00 8 5 1.00 1 6 0.01 2 6 0.01 3 6 0.97 6 6 0.01 7 6 400.00 8 6 0.97 7 7 0.03 2 7 1.00 1 7 400.00 8 7 Lower bounds 0.0 0.0 4.0e+02 1.0e+02 0.0 0.0 0.0 2.0e+03 -1.0e+25 -1.0e+25 -1.0e+25 -1.0e+25 1.5e+03 2.5e+02 -1.0e+25 Upper bounds 2.0e+02 2.5e+03 8.0e+02 7.0e+02 1.5e+03 1.0e+25 1.0e+25 2.0e+03 6.0e+01 1.0e+02 4.0e+01 3.0e+01 1.0e+25 3.0e+02 1.0e+25 Column and row names 'COLUMN 1' 'COLUMN 2' 'COLUMN 3' 'COLUMN 4' 'COLUMN 5' 'COLUMN 6' 'COLUMN 7' 'OBJECTIV' 'ROW 1' 'ROW 2' 'ROW 3' 'ROW 4' 'ROW 5' 'ROW 6' 'ROW 7' Initial estimate of x 0.0 0.0 0.0 0.0 0.0 0.0 0.0 Number of hessian nonzeros 9 Hessian nonzeros: value, row index, col index (diagonal/lower triangle elements) 2.0 1 1 2.0 2 2 2.0 3 3 2.0 4 3 2.0 4 4 2.0 5 5 2.0 6 6 2.0 7 6 2.0 7 7 Data for example 2. Values of n and m 5 4 Values of nnz, iobj and ncolh 11 1 5 Matrix nonzeros: value, row index, column index 1.0 2 1 -4.0 1 2 3.0 2 2 1.0 4 2 -4.0 1 3 1.0 3 3 -2.0 1 4 1.0 3 4 -2.0 1 5 -2.0 3 5 -1.0 4 5 Lower bounds -1.0e+01 -1.0e+01 -1.0e+01 -1.0e+01 -1.0e+01 -1.0e+25 0.0 0.0 0.0 Upper bounds 1.0e+01 1.0e+01 1.0e+01 1.0e+01 1.0e+01 1.0e+25 0.0 0.0 0.0 Column and row names 'COLUMN 1' 'COLUMN 2' 'COLUMN 3' 'COLUMN 4' 'COLUMN 5' 'OBJECTIV' 'ROW 1' 'ROW 2' 'ROW 3' Initial estimate of x 2.0 2.0 2.0 2.0 2.0 Number of hessian nonzeros 7 Hessian nonzeros: value, row index, col index (diagonal/lower triangle elements) 2.0 1 1 -2.0 2 1 4.0 2 2 2.0 3 2 2.0 3 3 2.0 4 4 2.0 5 5