10 #ifndef ROL_SOLVER_HPP
11 #define ROL_SOLVER_HPP
19 #include "ROL_ParameterList.hpp"
29 template<
typename Real>
33 const Ptr<Problem<Real>>
opt_;
62 bool combineStatus =
true);
72 int solve( std::ostream &outStream,
74 bool combineStatus =
true );
100 #endif // ROL_SOLVER_HPP
Provides a simplified interface for solving a wide range of optimization problems.
Defines a no-output stream class ROL::NullStream and a function makeStreamPtr which either wraps a re...
int solve(const Ptr< StatusTest< Real >> &status=nullPtr, bool combineStatus=true)
Solve optimization problem with no iteration output.
Ptr< TypeG::Algorithm< Real > > algoG_
Provides interface for and implements limited-memory secant operators.
Solver(const Ptr< Problem< Real >> &opt, ParameterList &list, const Ptr< Secant< Real >> &secant=nullPtr)
Constructor.
Ptr< TypeU::Algorithm< Real > > algoU_
const Ptr< Problem< Real > > opt_
Provides an interface to check status of optimization algorithms.
void reset()
Reset both Algorithm and Step.
const EProblem problemType_
Ptr< const AlgorithmState< Real > > getAlgorithmState() const
Return the AlgorithmState.
Ptr< TypeE::Algorithm< Real > > algoE_
Ptr< TypeB::Algorithm< Real > > algoB_