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

NAG CL Interface Introduction
Example description

nag_mip_ilp_mpsx_convert (h02buc) Example Program Results

Optional parameter setting for h02buc.
--------------------------------------

Option file: h02buce.opt

list set to Nag_FALSE
output_level set to Nag_NoOutput
prob_name set to DIET2

Parameters to h02bbc
--------------------

Linear constraints............  3    Number of variables...........  6
Number of integer variables...  6

prob.................... Nag_MILP    
feas_tol...............  1.05e-08    machine precision......  1.11e-16
inf_bound..............  1.00e+20    max_iter................       50
first_soln............. Nag_FALSE    max_depth...............       10
max_nodes.............. ALL_NODES    int_tol................  1.00e-05
int_obj_bound..........  1.00e+20    soln_tol...............  1.05e-08
nodsel......... Nag_MinObj_Search    varsel............. Nag_First_Int
branch_dir....... Nag_Branch_Left    crnames................. supplied
print_level............. Nag_Soln
outfile.................   stdout

Memory allocation:
lower...................      Nag
upper...................      Nag
state...................      Nag
lambda..................      Nag

Final solution:

Varbl   State    Value       Lower Bound  Upper Bound    Lagr Mult    Residual

OATMEAL   EQ   4.00000e+00    4.0000e+00   4.0000e+00    3.000e+00   0.000e+00
CHICKEN   LL   0.00000e+00    0.0000e+00   3.0000e+00    2.400e+01   0.000e+00
EGGS      LL   0.00000e+00    0.0000e+00   2.0000e+00    1.300e+01   0.000e+00
MILK      LL   5.00000e+00    5.0000e+00   8.0000e+00    9.000e+00   0.000e+00
PIE       EQ   2.00000e+00    2.0000e+00   2.0000e+00    2.000e+01   0.000e+00
BACON     LL   0.00000e+00    0.0000e+00   2.0000e+00    1.900e+01   0.000e+00

Constr  State    Value       Lower Bound  Upper Bound    Lagr Mult    Residual

ENERGY    FR   2.08000e+03    2.0000e+03      None       0.000e+00   8.000e+01
PROTEIN   FR   6.40000e+01    5.5000e+01      None       0.000e+00   9.000e+00
CALCIUM   FR   1.47700e+03    8.0000e+02      None       0.000e+00   6.770e+02

Exit from branch and bound tree search after 27 nodes.

Optimal IP solution found.

Final IP objective value =   9.7000000e+01