MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
MoochoPack::NLPAlgoConfigIP Class Reference

This is a do all configuration class for NLPAlgo. More...

#include <MoochoPack_NLPAlgoConfigIP.hpp>

Inheritance diagram for MoochoPack::NLPAlgoConfigIP:
Inheritance graph
[legend]

Classes

struct  SOptionValues
 

Public Member Functions

 NLPAlgoConfigIP ()
 
 ~NLPAlgoConfigIP ()
 
- Public Member Functions inherited from MoochoPack::NLPAlgoConfig
virtual ~NLPAlgoConfig ()
 

Static Private Member Functions

static void readin_options (const OptionsFromStreamPack::OptionsFromStream &options, SOptionValues *option_values, std::ostream *trase_out)
 Read in the options from a stream. More...
 
static void set_default_options (const SOptionValues &user_option_values, SOptionValues *current_option_values, std::ostream *trase_out)
 Set the defaults for options not set by the user. More...
 

Private Attributes

DecompositionSystemStateStepBuilderStd decomp_sys_step_builder_
 Builder class for some common code. More...
 
options_ptr_t options_
 Smart pointer to options. More...
 
SOptionValues uov_
 Options structs. More...
 
SOptionValues cov_
 
void set_options (const options_ptr_t &options)
 Set the OptionsFromStream object that will be used for specifying the options. More...
 
const options_ptr_tget_options () const
 
void config_algo_cntr (NLPAlgoContainer *algo_cntr, std::ostream *trase_out)
 
void init_algo (NLPAlgoInterface *algo)
 

Enums for variaous options categories

enum  EQuasiNewton {
  QN_AUTO, QN_BFGS, QN_PBFGS, QN_LBFGS,
  QN_LPBFGS
}
 
enum  EHessianInitialization {
  INIT_HESS_AUTO, INIT_HESS_IDENTITY, INIT_HESS_FIN_DIFF_SCALE_IDENTITY, INIT_HESS_FIN_DIFF_SCALE_DIAGONAL,
  INIT_HESS_FIN_DIFF_SCALE_DIAGONAL_ABS
}
 
enum  EQPSolverType {
  QP_AUTO, QP_QPSOL, QP_QPOPT, QP_QPKWIK,
  QP_QPSCHUR
}
 
enum  ELineSearchMethod {
  LINE_SEARCH_AUTO, LINE_SEARCH_NONE, LINE_SEARCH_DIRECT, LINE_SEARCH_2ND_ORDER_CORRECT,
  LINE_SEARCH_WATCHDOG, LINE_SEARCH_FILTER
}
 
enum  EMeritFunctionType { MERIT_FUNC_AUTO, MERIT_FUNC_L1, MERIT_FUNC_MOD_L1, MERIT_FUNC_MOD_L1_INCR }
 
enum  EL1PenaltyParamUpdate { L1_PENALTY_PARAM_AUTO, L1_PENALTY_PARAM_WITH_MULT, L1_PENALTY_PARAM_MULT_FREE }
 

Detailed Description

This is a do all configuration class for NLPAlgo.

Options specific for to this configuration class and the classes that it works with that can be set through this->set_options(), see the file Moocho.opt.NLPAlgoConfigIP.

Note that all built-in support for basis permutations and direct sparse solvers can be left out if the macro MOOCHO_NO_BASIS_PERM_DIRECT_SOLVERS is defined.

ToDo: Finish documentation!

Definition at line 63 of file MoochoPack_NLPAlgoConfigIP.hpp.

Member Enumeration Documentation

Enumerator
QN_AUTO 
QN_BFGS 
QN_PBFGS 
QN_LBFGS 
QN_LPBFGS 

Definition at line 101 of file MoochoPack_NLPAlgoConfigIP.hpp.

Enumerator
INIT_HESS_AUTO 
INIT_HESS_IDENTITY 
INIT_HESS_FIN_DIFF_SCALE_IDENTITY 
INIT_HESS_FIN_DIFF_SCALE_DIAGONAL 
INIT_HESS_FIN_DIFF_SCALE_DIAGONAL_ABS 

Definition at line 104 of file MoochoPack_NLPAlgoConfigIP.hpp.

Enumerator
QP_AUTO 
QP_QPSOL 
QP_QPOPT 
QP_QPKWIK 
QP_QPSCHUR 

Definition at line 108 of file MoochoPack_NLPAlgoConfigIP.hpp.

Enumerator
LINE_SEARCH_AUTO 
LINE_SEARCH_NONE 
LINE_SEARCH_DIRECT 
LINE_SEARCH_2ND_ORDER_CORRECT 
LINE_SEARCH_WATCHDOG 
LINE_SEARCH_FILTER 

Definition at line 111 of file MoochoPack_NLPAlgoConfigIP.hpp.

Enumerator
MERIT_FUNC_AUTO 
MERIT_FUNC_L1 
MERIT_FUNC_MOD_L1 
MERIT_FUNC_MOD_L1_INCR 

Definition at line 116 of file MoochoPack_NLPAlgoConfigIP.hpp.

Enumerator
L1_PENALTY_PARAM_AUTO 
L1_PENALTY_PARAM_WITH_MULT 
L1_PENALTY_PARAM_MULT_FREE 

Definition at line 120 of file MoochoPack_NLPAlgoConfigIP.hpp.

Constructor & Destructor Documentation

MoochoPack::NLPAlgoConfigIP::NLPAlgoConfigIP ( )

Definition at line 177 of file MoochoPack_NLPAlgoConfigIP.cpp.

MoochoPack::NLPAlgoConfigIP::~NLPAlgoConfigIP ( )

Definition at line 180 of file MoochoPack_NLPAlgoConfigIP.cpp.

Member Function Documentation

void MoochoPack::NLPAlgoConfigIP::set_options ( const options_ptr_t options)
virtual

Set the OptionsFromStream object that will be used for specifying the options.

Overridden from NLPAlgoConfig

Parameters
options[in] If NULL then no options will be set. If !=NULL then this is the OptionsFromStream object that will be used to extract the options to use for the algorithm. The state of this object must be maintained by the client until config_algo_cntr() is called and it is at this point that the options are read.

Implements MoochoPack::NLPAlgoConfig.

Definition at line 185 of file MoochoPack_NLPAlgoConfigIP.cpp.

const NLPAlgoConfig::options_ptr_t & MoochoPack::NLPAlgoConfigIP::get_options ( ) const
virtual

Implements MoochoPack::NLPAlgoConfig.

Definition at line 192 of file MoochoPack_NLPAlgoConfigIP.cpp.

void MoochoPack::NLPAlgoConfigIP::config_algo_cntr ( NLPAlgoContainer algo_cntr,
std::ostream *  trase_out 
)
virtual





Implements MoochoPack::NLPAlgoConfig.

Definition at line 197 of file MoochoPack_NLPAlgoConfigIP.cpp.

void MoochoPack::NLPAlgoConfigIP::init_algo ( NLPAlgoInterface algo)
virtual

Implements MoochoPack::NLPAlgoConfig.

Definition at line 1269 of file MoochoPack_NLPAlgoConfigIP.cpp.

void MoochoPack::NLPAlgoConfigIP::readin_options ( const OptionsFromStreamPack::OptionsFromStream options,
SOptionValues option_values,
std::ostream *  trase_out 
)
staticprivate

Read in the options from a stream.

Definition at line 1301 of file MoochoPack_NLPAlgoConfigIP.cpp.

void MoochoPack::NLPAlgoConfigIP::set_default_options ( const SOptionValues user_option_values,
SOptionValues current_option_values,
std::ostream *  trase_out 
)
staticprivate

Set the defaults for options not set by the user.

Definition at line 1527 of file MoochoPack_NLPAlgoConfigIP.cpp.

Member Data Documentation

DecompositionSystemStateStepBuilderStd MoochoPack::NLPAlgoConfigIP::decomp_sys_step_builder_
private

Builder class for some common code.

Definition at line 156 of file MoochoPack_NLPAlgoConfigIP.hpp.

options_ptr_t MoochoPack::NLPAlgoConfigIP::options_
private

Smart pointer to options.

Definition at line 159 of file MoochoPack_NLPAlgoConfigIP.hpp.

SOptionValues MoochoPack::NLPAlgoConfigIP::uov_
private

Options structs.

Definition at line 162 of file MoochoPack_NLPAlgoConfigIP.hpp.

SOptionValues MoochoPack::NLPAlgoConfigIP::cov_
private

Definition at line 163 of file MoochoPack_NLPAlgoConfigIP.hpp.


The documentation for this class was generated from the following files: