Provides the interface for the evaluation of Lagrange multipliers. More...
#include <Aristos_LagMult.hpp>
Public Member Functions | |
virtual void | getValue (const Vector &x, const Vector &g, Vector &l, double &tol) const =0 |
Returns Lagrange multiplier estimate. More... | |
Provides the interface for the evaluation of Lagrange multipliers.
|
pure virtual |
Returns Lagrange multiplier estimate.
x | [in] - Current SQP iterate vector. |
g | [in] - The gradient of the objective function. |
l | [out] - The vector of Lagrange multiplier estimates. |
tol | [in] - Tolerance for inexact computations. |
Interface function that estimates the Lagrange multipliers. To be subclassed and implemented by the user.
Teuchos::RefCountPtr<const YourVectorClass> ex = (Teuchos::dyn_cast<Aristos::YourVectorAdapter>(const_cast<Aristos::Vector&>(x))).getVector();