Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

AmplSparseFunctional Class Reference
[AmplSupport]

An implementation of a AmplFunctional that uses dense matrices. More...

#include <AmplSparseFunctional.hh>

Inheritance diagram for AmplSparseFunctional:

AmplFunctional ConcreteFunctional Functional IotrRefCount List of all members.

Public Methods

virtual void concreteGrads (IotrVector &g, GenMatrix &J, IotrVector &x)
 Computes the constraint Jacobian and the Lagrangian evaluated at x and Lm.

virtual void concreteHess (SymMatrix &H, IotrVector &x, IotrVector &Lm)
 Computes the Hessian evaluated at x and Lm.

virtual GenMatrixnewJacobianMatrix () const
virtual SymMatrixnewHessianMatrix () const
virtual PrimalDualSystemnewPrimalDualSystem (ElementGather *iclow, ElementGather *icupp, ElementGather *ieq, ElementGather *ixlow, ElementGather *ixupp, IotrMask *aXmask)
virtual void writeConfiguration (std::ostream &out, char indent[])

Detailed Description

An implementation of a AmplFunctional that uses dense matrices.


Member Function Documentation

virtual void AmplSparseFunctional::concreteGrads IotrVector   g,
GenMatrix   J,
IotrVector   x
[virtual]
 

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().

Parameters:
g  the gradient of the objective function
J  the Jacobian of the constraints
x  point at which the objective and constraint function are to be evaluated.

Implements AmplFunctional.

virtual void AmplSparseFunctional::concreteHess SymMatrix   H,
IotrVector   x,
IotrVector   Lm
[virtual]
 

Computes the Hessian evaluated at x and Lm.

The actual implementation of this evaluation is contained in concreteHess() which is called by hessian().

Parameters:
H  denotes the Hessian.
Lm  points to the vector whose elements are the Lagrange multipliers.
x  points the current point at which the objective and constraint function are to be evaluated.

Implements AmplFunctional.


The documentation for this class was generated from the following file:
Generated on Wed Aug 27 10:03:42 2003 for iotr by doxygen1.2.18