21 #ifndef __OPTIMISATION_PROBLEM_H 22 #define __OPTIMISATION_PROBLEM_H 24 #include "NonlinearProblem.h" OptimisationProblem()
Constructor.
Definition: OptimisationProblem.h:43
virtual void F(GenericVector &b, const GenericVector &x)=0
Compute the gradient :math:`F(x) = f'(x)`.
virtual double f(const GenericVector &x)=0
Compute the objective function :math:f(x)
Definition: NonlinearProblem.h:36
This class defines a common interface for matrices.
Definition: GenericMatrix.h:46
virtual void J(GenericMatrix &A, const GenericVector &x)=0
Compute the Hessian :math:`J(x) = f''(x)`.
virtual void J_pc(GenericMatrix &P, const GenericVector &x)
Definition: OptimisationProblem.h:73
virtual void form(GenericMatrix &A, GenericMatrix &P, GenericVector &b, const GenericVector &x)
Definition: OptimisationProblem.h:54
virtual ~OptimisationProblem()
Destructor.
Definition: OptimisationProblem.h:46
This class defines a common interface for vectors.
Definition: GenericVector.h:47
Definition: OptimisationProblem.h:38