#include <Functional.hh>
Inheritance diagram for ConcreteFunctional:
Public Methods | |
virtual EvaluationContext * | evaluate (IotrVector *x, IotrVector *Lm) |
Creates an evalutation context to hold partial computation at a given point. | |
Protected Methods | |
virtual void | concreteValues (double &obj, IotrVector &c, IotrVector &x)=0 |
Computes the value of the constraint and objective functions at the current iterate x. | |
virtual void | concreteGrads (IotrVector &g, GenMatrix &J, IotrVector &x)=0 |
Computes the constraint Jacobian and the Lagrangian evaluated at x and Lm. | |
virtual void | concreteHess (SymMatrix &H, IotrVector &x, IotrVector &Lm)=0 |
Computes the Hessian evaluated at x and Lm. |
|
Computes the constraint Jacobian and the Lagrangian evaluated at x and Lm. concreteValues() contains the implementation for the evaluation of the Jacobian and Lagrangian and is called by grads().
Implemented in AmplDenseFunctional, AmplFunctional, AmplSparseFunctional, CuterDenseFunctional, CuterFunctional, and CuterSparseFunctional. |
|
Computes the Hessian evaluated at x and Lm. The actual implementation of this evaluation is contained in concreteHess() which is called by hessian().
Implemented in AmplDenseFunctional, AmplFunctional, AmplSparseFunctional, CuterDenseFunctional, CuterFunctional, and CuterSparseFunctional. |
|
Computes the value of the constraint and objective functions at the current iterate x. This is where the actual evaluation of the functional is implemented. concreteValues() is called by values().
Implemented in AmplFunctional, and CuterFunctional. |
|
Creates an evalutation context to hold partial computation at a given point. Will return an instance of the class ConcreteEvaluationContext
Implements Functional. |