10#ifndef ROL_TYPEU_LINESEARCHALGORITHM_H
11#define ROL_TYPEU_LINESEARCHALGORITHM_H
70 Ptr<DescentDirection_U<Real>>
desc_;
116 std::ostream &outStream = std::cout)
override;
118 void writeHeader( std::ostream& os )
const override;
120 void writeName( std::ostream& os )
const override;
122 void writeOutput( std::ostream& os,
const bool print_header =
false )
const override;
Provides the interface to compute unconstrained optimization steps for line search.
Provides interface for and implements line searches.
Provides the interface to evaluate objective functions.
Provides interface for and implements limited-memory secant operators.
Provides an interface to run unconstrained optimization algorithms.
const Ptr< CombinedStatusTest< Real > > status_
const Ptr< AlgorithmState< Real > > state_
Provides an interface to run unconstrained line search algorithms.
Ptr< DescentDirection_U< Real > > desc_
Unglobalized step object.
bool acceptLastAlpha_
For backwards compatibility. When max function evaluations are reached take last step.
void writeHeader(std::ostream &os) const override
Print iterate header.
bool usePreviousAlpha_
If true, use the previously accepted step length (if any) as the new initial step length.
Ptr< LineSearch_U< Real > > lineSearch_
Line-search object.
void writeName(std::ostream &os) const override
Print step name.
EDescentU edesc_
enum determines type of descent direction
void run(Vector< Real > &x, const Vector< Real > &g, Objective< Real > &obj, std::ostream &outStream=std::cout) override
Run algorithm on unconstrained problems (Type-U). This general interface supports the use of dual opt...
std::string lineSearchName_
ELineSearchU els_
enum determines type of line search
void initialize(const Vector< Real > &x, const Vector< Real > &g, Objective< Real > &obj, std::ostream &outStream=std::cout)
void writeOutput(std::ostream &os, const bool print_header=false) const override
Print iterate status.
ECurvatureConditionU econd_
enum determines type of curvature condition
Defines the linear algebra or vector space interface.