42 #ifndef RSQP_ALGO_CONFIG_H
43 #define RSQP_ALGO_CONFIG_H
47 namespace OptionsFromStreamPack {
48 class OptionsFromStream;
51 namespace MoochoPack {
53 class NLPAlgoContainer;
54 class NLPAlgoInterface;
70 {
public:
InvalidNLPType(
const std::string& what_arg) : std::logic_error(what_arg) {}};
146 ,std::ostream* trase_out = 0
176 #ifdef DOXYGEN_COMPILE // Strictly for doxygen diagrams
185 #endif // RSQP_ALGO_CONFIG_H
Extracts options from a text stream and then allows convenient access to them.
virtual void init_algo(NLPAlgoInterface *algo)=0
Initialize the rSQP algorithm object for the start of SQP iterations.
virtual const options_ptr_t & get_options() const =0
Get the OptionsFromStream object being used to extract the options from.
Teuchos::RCP< const OptionsFromStreamPack::OptionsFromStream > options_ptr_t
Thrown if NLP type is incompatible with this config.
virtual void config_algo_cntr(NLPAlgoContainer *algo_cntr, std::ostream *trase_out=0)=0
Configure the rSQP algorithm container with an rSQP algorithm object.
Interface NLPAlgoContainer uses to access NLPAlgo.
OptionsFromStreamPack::OptionsFromStream * options
Implementation for NLPAlgo solver.
Interface for objects responsible for configuring an rSQP algorithm.
InvalidNLPType(const std::string &what_arg)
virtual void set_options(const options_ptr_t &options)=0
Set the OptionsFromStreamPack::OptionsFromStream to extract the options for the configuration from...