NLSSOLLeastSq Class Reference

Wrapper class for the NLSSOL nonlinear least squares library. More...

Inheritance diagram for NLSSOLLeastSq:

LeastSq SOLBase Minimizer Iterator List of all members.

Public Member Functions

 NLSSOLLeastSq (Model &model)
 standard constructor
 NLSSOLLeastSq (NoDBBaseConstructor, Model &model)
 alternate constructor
 ~NLSSOLLeastSq ()
 destructor
void minimize_residuals ()
 for the least squares branch.

Static Private Member Functions

static void least_sq_eval (int &mode, int &m, int &n, int &nrowfj, double *x, double *f, double *gradf, int &nstate)
 least squares terms (passed by function pointer to NLSSOL).

Static Private Attributes

static NLSSOLLeastSqnlssolInstance
 functions in order to avoid the need for static data

Detailed Description

Wrapper class for the NLSSOL nonlinear least squares library.

The NLSSOLLeastSq class provides a wrapper for NLSSOL, a Fortran 77 sequential quadratic programming library from Stanford University marketed by Stanford Business Associates. It uses a function pointer approach for which passed functions must be either global functions or static member functions. Any nonstatic attribute used within static member functions must be either local to that function or accessed through a static pointer.

The user input mappings are as follows: max_function_evaluations is implemented directly in NLSSOLLeastSq's evaluator functions since there is no NLSSOL parameter equivalent, and max_iterations, convergence_tolerance, output verbosity, verify_level, function_precision, and linesearch_tolerance are mapped into NLSSOL's "Major Iteration Limit", "Optimality Tolerance", "Major Print Level" (verbose: Major Print Level = 20; quiet: Major Print Level = 10), "Verify Level", "Function Precision", and "Linesearch Tolerance" parameters, respectively, using NLSSOL's npoptn() subroutine (as wrapped by npoptn2() from the npoptn_wrapper.f file). Refer to [Gill, P.E., Murray, W., Saunders, M.A., and Wright, M.H., 1986] for information on NLSSOL's optional input parameters and the npoptn() subroutine.


Constructor & Destructor Documentation

NLSSOLLeastSq ( Model model  ) 

standard constructor

This is the primary constructor. It accepts a Model reference.

NLSSOLLeastSq ( NoDBBaseConstructor  ,
Model model 
)

alternate constructor

This is an alternate constructor which accepts a Model but does not have a supporting method specification from the ProblemDescDB.


The documentation for this class was generated from the following files:
Generated on Wed Nov 5 19:54:07 2008 for DAKOTA by  doxygen 1.5.1