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

NAG CL Interface Introduction
Example description

nag_opt_nlin_lsq (e04unc) Example Program Results

Parameters to e04unc
--------------------

Number of variables...........   2
Linear constraints............   1    Nonlinear constraints.........   1

start...................  Nag_Cold
step_limit..............  2.00e+00    machine precision.......  1.11e-16
lin_feas_tol............  1.05e-08    nonlin_feas_tol.........  1.05e-08
optim_tol...............  3.26e-12    linesearch_tol..........  9.00e-01
crash_tol...............  1.00e-02    f_prec..................  4.37e-15
inf_bound...............  1.00e+20    inf_step................  1.00e+20
max_iter................        50    minor_max_iter..........        50
hessian................. Nag_FALSE    h_reset_freq............         2
h_unit_init............. Nag_FALSE
f_diff_int.............. Automatic    c_diff_int.............. Automatic
obj_deriv...............  Nag_TRUE    con_deriv...............  Nag_TRUE
verify_grad....... Nag_SimpleCheck    print_deriv............ Nag_D_Full
print_level......... Nag_Soln_Iter    minor_print_level..... Nag_NoPrint
outfile.................    stdout


Verification of the objective gradients.
----------------------------------------

All objective gradient elements have been set.

Simple Check:

The Jacobian seems to be ok.

The largest relative error was 1.04e-08 in subfunction 3  


Verification of the constraint gradients.
-----------------------------------------

All constraint gradient elements have been set.

Simple Check:

The Jacobian seems to be ok.

The largest relative error was 1.91e-08 in constraint 1  

   Maj  Mnr    Step   Merit function  Violtn  Norm Gz  Cond Hz
    0    2  0.0e+00    2.224070e-02  3.6e-02  8.5e-02  1.0e+00       
    1    1  1.0e+00    1.455402e-02  9.8e-03  1.5e-03  1.0e+00    
    2    1  1.0e+00    1.436491e-02  7.2e-04  4.9e-03  1.0e+00    
    3    1  1.0e+00    1.427013e-02  9.2e-06  2.9e-03  1.0e+00    
    4    1  1.0e+00    1.422989e-02  3.6e-05  1.6e-04  1.0e+00    
    5    1  1.0e+00    1.422983e-02  6.4e-08  5.4e-07  1.0e+00    
    6    1  1.0e+00    1.422983e-02  9.8e-13  3.4e-09  1.0e+00    
Exit from NP problem after 6 major iterations, 8 minor iterations.


Varbl State     Value      Lower Bound   Upper Bound    Lagr Mult    Residual
V   1   FR   4.19953e-01   4.00000e-01      None       0.0000e+00   1.9953e-02
V   2   FR   1.28485e+00  -4.00000e+00      None       0.0000e+00   5.2848e+00


L Con State     Value      Lower Bound   Upper Bound    Lagr Mult    Residual
L   1   FR   1.70480e+00   1.00000e+00      None       0.0000e+00   7.0480e-01


N Con State     Value      Lower Bound   Upper Bound    Lagr Mult    Residual
N   1   LL   9.00000e-02   9.00000e-02      None       3.3358e-02  -9.7691e-13

Optimal solution found.

Final objective value =    1.4229835e-02