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

NAG CL Interface Introduction
Example description

nag_glopt_bnd_pso (e05sac) Example Program Results

Minimization of the Schwefel function.

  Default Option Queries:

Boundary                              :      FLOATING
Maximum Iterations Completed          :          1000          DEFAULT
Distance Tolerance                    :        0.0001

1. Solution without using coupled local minimizer.

(User-supplied callback objfun_schwefel, first invocation.)
(User-supplied callback monmod, first invocation.)
 Algorithm Statistics
 --------------------
Total complete iterations             :           395
Complete iterations since improvement :           152
Total particles converged to xb       :             2
Total improvements to global optimum  :            59
Total function evaluations            :          2773
Total particles re-initialized        :             2

Solution Status : Maximum static iterations attained
  Known objective optimum             :    -837.96577
  Achieved objective value            :    -837.96567

  Comparison between the known optimum and the achieved solution.
          x_target            xb
   1       -420.97       -420.95
   2       -420.97       -420.94

2. Solution using coupled local minimizer nag_opt_uncon_simplex (e04cbc).

 Algorithm Statistics
 --------------------
Total complete iterations             :            51
Complete iterations since improvement :             1
Total particles converged to xb       :             0
Total improvements to global optimum  :            12
Total function evaluations            :           537
Total particles re-initialized        :             0

Solution Status : Target value achieved
  Known objective optimum             :    -837.96577
  Achieved objective value            :    -837.96577

  Comparison between the known optimum and the achieved solution.
          x_target            xb
   1       -420.97       -420.97
   2       -420.97       -420.97

3. Solution using coupled local minimizer nag_opt_uncon_conjgrd_comp (e04dgc).

 Algorithm Statistics
 --------------------
Total complete iterations             :           123
Complete iterations since improvement :             1
Total particles converged to xb       :             0
Total improvements to global optimum  :            10
Total function evaluations            :           898
Total particles re-initialized        :             0

Solution Status : Target value achieved
  Known objective optimum             :    -837.96577
  Achieved objective value            :    -837.96568

  Comparison between the known optimum and the achieved solution.
          x_target            xb
   1       -420.97       -420.95
   2       -420.97       -420.95