Go to the documentation of this file.
23 class IpoptCalculatedQuantities;
61 virtual bool GetSpaces(
79 virtual bool GetBoundsInformation(
94 virtual bool GetStartingPoint(
127 virtual bool Eval_grad_f(
137 virtual bool Eval_jac_c(
147 virtual bool Eval_jac_d(
240 "You have set options for user provided scaling, but have not implemented GetScalingParameters in the NLP interface");
#define THROW_EXCEPTION(__except_type, __msg)
Class to organize all the data required by the algorithm.
virtual bool ProcessOptions(const OptionsList &, const std::string &)
Overload if you want the chance to process options or parameters that may be specific to the NLP.
virtual void GetScalingParameters(const SmartPtr< const VectorSpace >, const SmartPtr< const VectorSpace >, const SmartPtr< const VectorSpace >, Number &, SmartPtr< Vector > &, SmartPtr< Vector > &, SmartPtr< Vector > &) const
Routines to get the scaling parameters.
Class for all IPOPT specific calculated quantities.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
double Number
Type of all numbers.
int Index
Type of all indices of vectors, matrices etc.
virtual bool GetWarmStartIterate(IteratesVector &)
Method for obtaining an entire iterate as a warmstart point.
Template class for Smart Pointers.
virtual void GetQuasiNewtonApproximationSpaces(SmartPtr< VectorSpace > &approx_space, SmartPtr< Matrix > &P_approx)
Method for obtaining the subspace in which the limited-memory Hessian approximation should be done.
virtual void FinalizeSolution(SolverReturn, const Vector &, const Vector &, const Vector &, const Vector &, const Vector &, const Vector &, const Vector &, Number, const IpoptData *, IpoptCalculatedQuantities *)
This method is called at the very end of the optimization.
NLP()
Default constructor.
This is the base class for all derived symmetric matrix types.
DECLARE_STD_EXCEPTION(FATAL_ERROR_IN_LINEAR_SOLVER)
SolverReturn
enum for the return from the optimize algorithm
This class stores a list of user set options.
virtual bool IntermediateCallBack(AlgorithmMode, Index, Number, Number, Number, Number, Number, Number, Number, Number, Index, const IpoptData *, IpoptCalculatedQuantities *)
This method is called once per iteration, after the iteration summary output has been printed.
Storing the reference count of all the smart pointers that currently reference it.
virtual ~NLP()
Default destructor.
AlgorithmMode
enum to indicate the mode in which the algorithm is
Specialized CompoundVector class specifically for the algorithm iterates.