nag_ip_bb (h02bbc) Example Program Data Data for example 1 Values of m, n 3 2 Objective coefficients, cvec -3.0 -4.0 Constraint matrix a 2.0 5.0 2.0 -2.0 3.0 2.0 Lower bounds 0.0 0.0 -1.0e+20 -1.0e+20 5.0 Upper bounds 1.0e+20 1.0e+20 15.0 5.0 1.0e+20 Integer variables (1 if integer, 0 if not) 1 1 Initial estimate of x 1.0 1.0 Data for example 2 Values of m, n 3 6 Variable and constraint names OATMEAL CHICKEN EGGS MILK PIE BACON ENERGY PROTEIN CALCIUM Objective coefficients, cvec 3.0 24.0 13.0 9.0 20.0 19.0 Constraint matrix a 110.0 205.0 160.0 160.0 420.0 260.0 4.0 32.0 13.0 8.0 4.0 14.0 2.0 12.0 54.0 285.0 22.0 80.0 Lower bounds 0.0 0.0 0.0 0.0 0.0 0.0 2000.0 55.0 800.0 Upper bounds 4.0 3.0 2.0 8.0 2.0 2.0 1.0e+20 1.0e+20 1.0e+20 Integer variables (1 if integer, 0 if not) 1 1 1 1 1 1 Initial estimate of x 0.0 0.0 0.0 0.0 0.0 0.0 Reduction in first constraint lower bound for re-run 30.0