#include <OptNPSOL.h>
Inheritance diagram for OPTPP::OptNPSOL:

Public Member Functions | |
| OptNPSOL (int n, int nclin, int ncnln, USERFCN0 f, INITFCN i) | |
| OptNPSOL (int n, int nclin, int ncnln, USERFCN1 f, INITFCN i) | |
| OptNPSOL (int n, int nclin, int ncnln, USERFCN0 f, INITFCN i, USERNLNCON0 c) | |
| OptNPSOL (int n, int nclin, int ncnln, USERFCN1 f, INITFCN i, USERNLNCON0 c) | |
| OptNPSOL (int n, int nclin, int ncnln, USERFCN1 f, INITFCN i, USERNLNCON1 c) | |
| ~OptNPSOL () | |
| Destructor. | |
| void | initOpt () |
| Initialize algorithmic parameters. | |
| void | optimize () |
| Call the optimization method. | |
| void | allocate (int &, int &, int &, int &, int &) |
| void | readOptInput () |
| Read user-specifed input options. | |
| void | printStatus (char *) |
| Print status of opt. method. | |
| void | setX (const NEWMAT::ColumnVector &) |
| Set the control vector. | |
| void | setLower (const NEWMAT::ColumnVector &) |
| Set lower bounds on the constraints. | |
| void | setUpper (const NEWMAT::ColumnVector &) |
| Set upper bounds on the constraints. | |
| void | setMatrix (const NEWMAT::Matrix &) |
| Set linear constraint matrix. | |
| void | setDerivativeLevel (int &) |
| Set user-specifed der interval. | |
| void | setDifferenceInterval (double &) |
| Set user-specifed diff interval. | |
| void | setFcnAccrcy (double &) |
| Set user-specifed function accuracy. | |
| virtual void | acceptStep (int, int) |
| virtual int | checkConvg () |
| virtual NEWMAT::ColumnVector | computeSearch (NEWMAT::SymmetricMatrix &) |
| virtual void | updateModel (int k, int ndim, NEWMAT::ColumnVector x) |
| virtual void | reset () |
Private Attributes | |
| int | npsol_n |
| dimension of control vector | |
| int | npsol_nclin |
| number of linear constraints | |
| int | npsol_ncnln |
| number of nonlinear constraints | |
| int | buf_len |
| buffer length for Appl_Data_NPSOL | |
| int | deriv_level |
| NPSOL input variable. | |
| int | lda |
| NPSOL input variable. | |
| int | ldcjac |
| NPSOL input variable. | |
| int | liwork |
| NPSOL input variable. | |
| int | lwork |
| NPSOL input variable. | |
| int | maxiter |
| NPSOL input variable. | |
| int | iter_taken |
| NPSOL output variable. | |
| int | ret_code |
| NPSOL output variable. | |
| int * | istate |
| NPSOL input array. | |
| int * | iwork |
| NPSOL input array. | |
| double | diff_interval |
| a user-specified difference interval | |
| double | fcn_accrcy |
| a user-specified function accuracy | |
| double * | xvalue |
| control variables | |
| double | fvalue |
| function value | |
| double * | grad |
| gradient of the objective function | |
| double * | A |
| linear constraint coefficient matrix | |
| double * | cfcn |
| nonlinear constraint vector matrix | |
| double * | clambda |
| Lagrange multiplier. | |
| double * | cjac |
| Jacobian of constraints. | |
| double * | hessian |
| upper triangular Chol factor of Hessian | |
| double * | lowerbounds |
| lower bound for the constraints | |
| double * | upperbounds |
| upper bound for the constraints | |
| double * | work |
| NPSOL input array. | |
| bool | setXFlag |
| Flag which allows user to bypass initfcn. | |
| INITFCN | initfcn |
| pointer to initialization function | |
| USERFCN0 | usrfcn0 |
| function evaluator | |
| USERFCN1 | usrfcn1 |
| function evaluator (with gradient) | |
| USERNLNCON0 | confcn0 |
| constraint evaluator | |
| USERNLNCON1 | confcn1 |
| constraint evaluator (with Jacobian) | |
| Appl_Data_NPSOL * | application |
| data store for efficiency | |
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
|
|
|
Destructor.
|
|
||||||||||||
|
Implements OPTPP::OptimizeClass. |
|
||||||||||||||||||||||||
|
|
|
|
Implements OPTPP::OptimizeClass. |
|
|
Implements OPTPP::OptimizeClass. |
|
|
Initialize algorithmic parameters.
|
|
|
Call the optimization method.
Implements OPTPP::OptimizeClass. |
|
|
Print status of opt. method.
Implements OPTPP::OptimizeClass. |
|
|
Read user-specifed input options.
Implements OPTPP::OptimizeClass. |
|
|
Implements OPTPP::OptimizeClass. |
|
|
Set user-specifed der interval.
|
|
|
Set user-specifed diff interval.
|
|
|
Set user-specifed function accuracy.
|
|
|
Set lower bounds on the constraints.
|
|
|
Set linear constraint matrix.
|
|
|
Set upper bounds on the constraints.
|
|
|
Set the control vector.
|
|
||||||||||||||||
|
Implements OPTPP::OptimizeClass. |
|
|
linear constraint coefficient matrix
|
|
|
data store for efficiency
|
|
|
buffer length for Appl_Data_NPSOL
|
|
|
nonlinear constraint vector matrix
|
|
|
Jacobian of constraints.
|
|
|
Lagrange multiplier.
|
|
|
constraint evaluator
|
|
|
constraint evaluator (with Jacobian)
|
|
|
NPSOL input variable.
|
|
|
a user-specified difference interval
|
|
|
a user-specified function accuracy
|
|
|
function value
|
|
|
gradient of the objective function
|
|
|
upper triangular Chol factor of Hessian
|
|
|
pointer to initialization function
|
|
|
NPSOL input array.
|
|
|
NPSOL output variable.
Reimplemented from OPTPP::OptimizeClass. |
|
|
NPSOL input array.
|
|
|
NPSOL input variable.
|
|
|
NPSOL input variable.
|
|
|
NPSOL input variable.
|
|
|
lower bound for the constraints
|
|
|
NPSOL input variable.
|
|
|
NPSOL input variable.
|
|
|
dimension of control vector
|
|
|
number of linear constraints
|
|
|
number of nonlinear constraints
|
|
|
NPSOL output variable.
Reimplemented from OPTPP::OptimizeClass. |
|
|
Flag which allows user to bypass initfcn.
|
|
|
upper bound for the constraints
|
|
|
function evaluator
|
|
|
function evaluator (with gradient)
|
|
|
NPSOL input array.
|
|
|
control variables
|