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

NAG CL Interface Introduction
Example description

nag_glopt_nlp_pso (e05sbc) Example Program Results

Minimization of the Schwefel function.
Subject to one linear and two nonlinear constraints.

  Default Option Queries:

Constraint Norm                       :            L1
Maximum Iterations Completed          :          1000          DEFAULT
Distance Tolerance                    :        0.0001

1. Solution without using coupled local minimizer.

(User-supplied callback confun, first invocation.)
(User-supplied callback objfun_schwefel, first invocation.)
(User-supplied callback monmod, first invocation.)
 Algorithm Statistics
 --------------------
Total complete iterations             :           277
Complete iterations since improvement :             1
Total particles converged to xb       :             0
Total improvements to global optimum  :           117
Total function evaluations            :          4222
Total particles re-initialized        :             0
Total constraints violated            :             0

Solution Status : Target value achieved
  Known constrained objective optimum :      -731.707
  Achieved objective value            :      -731.708

  Comparison between the known optimum and the achieved solution.
          x_target            xb
   1       -394.15       -394.17
   2       -433.48       -433.53

  Comparison between scaled constraint violations.
          c_target            cb
   1       0.00000       0.00000
   2       0.00000       0.00000
   3       0.00000       0.00002

2. Solution using coupled local minimizer nag_opt_nlp1_solve (e04ucc).

 Algorithm Statistics
 --------------------
Total complete iterations             :             4
Complete iterations since improvement :             1
Total particles converged to xb       :             0
Total improvements to global optimum  :             7
Total function evaluations            :           155
Total particles re-initialized        :             0
Total constraints violated            :             0

Solution Status : Target value achieved
  Known constrained objective optimum :      -731.707
  Achieved objective value            :      -731.706

  Comparison between the known optimum and the achieved solution.
          x_target            xb
   1       -394.15       -394.15
   2       -433.48       -433.49

  Comparison between scaled constraint violations.
          c_target            cb
   1       0.00000       0.00000
   2       0.00000       0.00000
   3       0.00000       0.00000