47 #include "MoochoPack_NLPAlgo.hpp"
49 namespace MoochoPack {
52 : algo_cntr_(NULL), nlp_(NULL), first_step_poss_(1)
65 case IterationPack::TERMINATE_TRUE:
66 return NLPSolverClientInterface::SOLUTION_FOUND;
67 case IterationPack::TERMINATE_FALSE:
68 return NLPSolverClientInterface::ALGORITHMIC_ERROR;
69 case IterationPack::MAX_ITER_EXCEEDED:
70 return NLPSolverClientInterface::MAX_ITER_EXCEEDED;
71 case IterationPack::MAX_RUN_TIME_EXCEEDED:
72 return NLPSolverClientInterface::MAX_RUN_TIME_EXCEEDED;
73 case IterationPack::INTERRUPTED_TERMINATE_TRUE:
74 return NLPSolverClientInterface::SOLUTION_FOUND;
75 case IterationPack::INTERRUPTED_TERMINATE_FALSE:
76 return NLPSolverClientInterface::ALGORITHMIC_ERROR;
80 return NLPSolverClientInterface::SOLUTION_FOUND;
virtual EAlgoReturn do_algorithm(poss_type step_poss=1)
void interface_print_algorithm(std::ostream &out) const
virtual void print_steps(std::ostream &out) const
virtual bool algo_timing() const
NLPAlgo()
Constructs with no step, added_step, pre_step, post_step, state, or decomp_sys objects added...
void print_algorithm(std::ostream &out) const
overridden from Algorihth.
virtual void print_algorithm(std::ostream &out) const
void interface_set_algo_timing(bool algo_timing)
Reduced space SQP state encapsulation interface.
NLPSolverClientInterface::EFindMinReturn dispatch()
This is the main control function for the rSQP algorithm.
bool interface_algo_timing() const
virtual void print_algorithm_times(std::ostream &out) const
void interface_print_algorithm_times(std::ostream &out) const
virtual void set_algo_timing(bool algo_timing)
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)
std::string typeName(const T &t)
const NLPAlgoState & retrieve_state() const