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

Public Member Functions | |
| NLP0 () | |
| NLP0 (int ndim) | |
| NLP0 (int ndim, int nlncons) | |
| NLP0 (int ndim, CompoundConstraint *constraint) | |
| NLP0 () | |
| NLP0 (int ndim) | |
| NLP0 (int ndim, int nlncons) | |
| NLP0 (int ndim, CompoundConstraint *constraint) | |
| virtual void | setX (const int i, const real &x) |
| Functions for setting various properties of this NLP problem. | |
| virtual void | setX (const NEWMAT::ColumnVector &x) |
| virtual void | setF (const real &fx) |
| virtual void | setIsExpensive (const int e) |
| virtual void | setFcnAccrcy (const int i, const real &accrcy) |
| virtual void | setFcnAccrcy (const NEWMAT::ColumnVector &accrcy) |
| virtual int | getDim () const |
| virtual int | getFevals () const |
| virtual int | getIsExpensive () const |
| virtual void | setModeOverride (bool override_mode) |
| virtual bool | getModeOverride () const |
| virtual real | getF () const |
| virtual NEWMAT::ColumnVector | getFcnAccrcy () const |
| virtual NEWMAT::ColumnVector | getXc () const |
| virtual real | getFcnTime () const |
| virtual void | setDebug () |
| virtual bool | getDebug () const |
| void | setDerivOption (DerivOption d) |
| DerivOption | getDerivOption () const |
| void | setSpecOption (SpecOption SpecEval) |
| SpecOption | getSpecOption () const |
| virtual void | reset ()=0 |
| virtual void | initFcn ()=0 |
| virtual void | eval ()=0 |
| virtual real | evalF ()=0 |
| virtual real | evalF (const NEWMAT::ColumnVector &x)=0 |
| int | getNumOfCons () const |
| int | getNumOfNLCons () const |
| NEWMAT::ColumnVector | getConstraintValue () const |
| void | setConstraintValue (const NEWMAT::ColumnVector &cfx) |
| Set the constraint value. | |
| bool | hasConstraints () |
| void | printConstraints () |
| CompoundConstraint * | getConstraints () |
| void | setConstraints (CompoundConstraint *constraintSet) |
| Set a pointer to a CompoundConstraint object. | |
| virtual | ~NLP0 () |
| Destructor. | |
| NEWMAT::ColumnVector | FDGrad (const NEWMAT::ColumnVector &, const NEWMAT::ColumnVector &, double &, NEWMAT::ColumnVector &) |
| Finite-difference gradient and Hessian. | |
| NEWMAT::ColumnVector | BDGrad (const NEWMAT::ColumnVector &, const NEWMAT::ColumnVector &, double &, NEWMAT::ColumnVector &) |
| NEWMAT::ColumnVector | CDGrad (const NEWMAT::ColumnVector &, const NEWMAT::ColumnVector &, double &, NEWMAT::ColumnVector &) |
| NEWMAT::SymmetricMatrix | FD2Hessian (NEWMAT::ColumnVector &) |
| NEWMAT::Matrix | CONFDGrad (const NEWMAT::ColumnVector &) |
| Finite-difference gradient and Hessian of nonlinear constraints. | |
| NEWMAT::Matrix | CONBDGrad (const NEWMAT::ColumnVector &) |
| NEWMAT::Matrix | CONCDGrad (const NEWMAT::ColumnVector &) |
| virtual NEWMAT::ColumnVector | evalG ()=0 |
| Evaluate a finite-difference gradient and Hessian. | |
| virtual NEWMAT::ColumnVector | evalG (const NEWMAT::ColumnVector &x)=0 |
| virtual NEWMAT::SymmetricMatrix | evalH ()=0 |
| virtual NEWMAT::SymmetricMatrix | evalH (NEWMAT::ColumnVector &x)=0 |
| virtual real | evalLagrangian (const NEWMAT::ColumnVector &x, NEWMAT::ColumnVector &mult, const NEWMAT::ColumnVector &type)=0 |
| Evaluate the Lagrangian. | |
| virtual NEWMAT::ColumnVector | evalLagrangianGradient (const NEWMAT::ColumnVector &x, const NEWMAT::ColumnVector &mult, const NEWMAT::ColumnVector &type)=0 |
| Evaluate the Lagrangian gradient. | |
| virtual NEWMAT::ColumnVector | evalCF (const NEWMAT::ColumnVector &x)=0 |
| Evaluate the constraint at x. | |
| virtual NEWMAT::Matrix | evalCG (const NEWMAT::ColumnVector &x)=0 |
| Evaluate the constraint gradient at x. | |
| virtual NEWMAT::SymmetricMatrix | evalCH (NEWMAT::ColumnVector &x)=0 |
| virtual OptppArray< NEWMAT::SymmetricMatrix > | evalCH (NEWMAT::ColumnVector &x, int darg)=0 |
| Evaluate the constraint Hessian at x. | |
| virtual void | evalC (const NEWMAT::ColumnVector &x)=0 |
| virtual void | printState (char *) |
| Print the function. | |
| virtual void | fPrintState (ostream *, char *) |
| Print state of the function to a file. | |
| void | saveState () |
| Save current state of the function. | |
Protected Attributes | |
| int | dim |
| Dimension of the problem. | |
| NEWMAT::ColumnVector | mem_xc |
| Current point. | |
| real | fvalue |
| Objective function value at mem_xc. | |
| char | nlp_name [80] |
| Optional identifying name. | |
| NEWMAT::ColumnVector | mem_fcn_accrcy |
| Accuracy available from function. | |
| int | nfevals |
| Number of function evaluations. | |
| int | is_expensive |
| Is this an expensive function? | |
| bool | debug_ |
| Print debug statements. | |
| bool | modeOverride |
| double | function_time |
| Function compute time. | |
| CompoundConstraint * | constraint_ |
| Pointer to constraints. | |
| NEWMAT::ColumnVector | constraint_value |
| Constraint residual. | |
| int | ncnln |
| Number of nonlinear constraints. | |
| Appl_Data | application |
| DerivOption | finitediff |
| User-specified derivative option. | |
| SpecOption | SpecFlag |
| Speculative gradient information. | |
| NEWMAT::ColumnVector | partial_grad |
| double | specF |
|
|
Default Constructor |
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Default Constructor |
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Destructor.
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
Finite-difference gradient and Hessian of nonlinear constraints.
|
|
|
Implements OPTPP::NLPBase. Implemented in OPTPP::LSQNLF, OPTPP::NLF0, OPTPP::NLF1, OPTPP::NLF2, OPTPP::FDNLF1, OPTPP::NLF0APP, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
|
Implements OPTPP::NLPBase. Implemented in OPTPP::LSQNLF, OPTPP::NLF0, OPTPP::NLF1, OPTPP::NLF2, OPTPP::FDNLF1, OPTPP::NLF0APP, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
|
Evaluate the constraint at x.
Implements OPTPP::NLPBase. Implemented in OPTPP::LSQNLF, OPTPP::NLF0, OPTPP::NLF1, OPTPP::NLF2, OPTPP::FDNLF1, OPTPP::NLF0APP, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
|
Evaluate the constraint gradient at x.
Implements OPTPP::NLPBase. Implemented in OPTPP::LSQNLF, OPTPP::NLF0, OPTPP::NLF1, OPTPP::NLF2, OPTPP::FDNLF1, OPTPP::NLF0APP, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
||||||||||||
|
Evaluate the constraint Hessian at x.
Implements OPTPP::NLPBase. Implemented in OPTPP::LSQNLF, OPTPP::NLF0, OPTPP::NLF1, OPTPP::NLF2, OPTPP::FDNLF1, OPTPP::NLF0APP, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
|
Implements OPTPP::NLPBase. Implemented in OPTPP::LSQNLF, OPTPP::NLF0, OPTPP::NLF1, OPTPP::NLF2, OPTPP::FDNLF1, OPTPP::NLF0APP, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
|
Implements OPTPP::NLPBase. Implemented in OPTPP::LSQNLF, OPTPP::NLF0, OPTPP::NLF1, OPTPP::NLF2, OPTPP::FDNLF1, OPTPP::NLF0APP, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
|
Implements OPTPP::NLPBase. Implemented in OPTPP::LSQNLF, OPTPP::NLF0, OPTPP::NLF1, OPTPP::NLF2, OPTPP::FDNLF1, OPTPP::NLF0APP, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
|
Implements OPTPP::NLPBase. Implemented in OPTPP::LSQNLF, OPTPP::NLF0, OPTPP::NLF1, OPTPP::NLF2, OPTPP::FDNLF1, OPTPP::NLF0APP, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
|
Evaluate a finite-difference gradient and Hessian.
Implements OPTPP::NLPBase. Implemented in OPTPP::LSQNLF, OPTPP::NLF0, OPTPP::NLF1, OPTPP::NLF2, OPTPP::FDNLF1, OPTPP::NLF0APP, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
|
Implements OPTPP::NLPBase. Implemented in OPTPP::LSQNLF, OPTPP::NLF0, OPTPP::NLF1, OPTPP::NLF2, OPTPP::FDNLF1, OPTPP::NLF0APP, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
|
Implements OPTPP::NLPBase. Implemented in OPTPP::LSQNLF, OPTPP::NLF0, OPTPP::NLF1, OPTPP::NLF2, OPTPP::FDNLF1, OPTPP::NLF0APP, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
||||||||||||||||
|
Evaluate the Lagrangian.
Implemented in OPTPP::LSQNLF, OPTPP::NLF0, OPTPP::NLF1, OPTPP::NLF2, OPTPP::FDNLF1, OPTPP::NLF0APP, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
||||||||||||||||
|
Evaluate the Lagrangian gradient.
Implemented in OPTPP::LSQNLF, OPTPP::NLF0, OPTPP::NLF1, OPTPP::NLF2, OPTPP::FDNLF1, OPTPP::NLF0APP, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
|
|
|
||||||||||||||||||||
|
Finite-difference gradient and Hessian.
|
|
||||||||||||
|
Print state of the function to a file.
Implements OPTPP::NLPBase. Reimplemented in OPTPP::FDNLF1, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
|
|
|
|
|
|
|
Implements OPTPP::NLPBase. |
|
|
|
|
|
Implements OPTPP::NLPBase. |
|
|
Implements OPTPP::NLPBase. |
|
|
Implements OPTPP::NLPBase. |
|
|
Implements OPTPP::NLPBase. |
|
|
Implements OPTPP::NLPBase. |
|
|
Implements OPTPP::NLPBase. |
|
|
|
|
|
Implements OPTPP::NLPBase. |
|
|
Implements OPTPP::NLPBase. |
|
|
|
|
|
Implements OPTPP::NLPBase. |
|
|
Implements OPTPP::NLPBase. |
|
|
Implements OPTPP::NLPBase. Implemented in OPTPP::LSQNLF, OPTPP::NLF0, OPTPP::NLF1, OPTPP::NLF2, OPTPP::FDNLF1, OPTPP::NLF0APP, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
|
Print constraints to standard output Implements OPTPP::NLPBase. |
|
|
Print the function.
Implements OPTPP::NLPBase. Reimplemented in OPTPP::FDNLF1, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
|
Implements OPTPP::NLPBase. Implemented in OPTPP::LSQNLF, OPTPP::NLF0, OPTPP::NLF1, OPTPP::NLF2, OPTPP::FDNLF1, OPTPP::NLF0APP, OPTPP::FDNLF1APP, OPTPP::NLP1, and OPTPP::NLP2. |
|
|
Save current state of the function.
|
|
|
Set a pointer to a CompoundConstraint object.
|
|
|
Set the constraint value.
|
|
|
Implements OPTPP::NLPBase. |
|
|
|
|
|
Implements OPTPP::NLPBase. |
|
|
Implements OPTPP::NLPBase. |
|
||||||||||||
|
Implements OPTPP::NLPBase. |
|
|
Implements OPTPP::NLPBase. |
|
|
|
|
|
|
|
|
Implements OPTPP::NLPBase. |
|
||||||||||||
|
Functions for setting various properties of this NLP problem.
Implements OPTPP::NLPBase. |
|
|
|
|
|
Pointer to constraints.
|
|
|
Constraint residual.
|
|
|
Print debug statements.
|
|
|
Dimension of the problem.
|
|
|
User-specified derivative option.
|
|
|
Function compute time.
|
|
|
Objective function value at mem_xc.
|
|
|
Is this an expensive function?
|
|
|
Accuracy available from function.
|
|
|
Current point.
|
|
|
|
|
|
Number of nonlinear constraints.
|
|
|
Number of function evaluations.
|
|
|
Optional identifying name.
|
|
|
|
|
|
|
|
|
Speculative gradient information.
|