Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
arg_bfgs.hpp
Go to the documentation of this file.
1 #ifndef STAN__GM__ARGUMENTS__BFGS__HPP
2 #define STAN__GM__ARGUMENTS__BFGS__HPP
3 
5 
8 
9 namespace stan {
10 
11  namespace gm {
12 
14 
15  public:
16 
18 
19  _name = "bfgs";
20  _description = "BFGS with linesearch";
21 
22  _subarguments.push_back(new arg_init_alpha());
23  _subarguments.push_back(new arg_tolerance("tol_obj","Convergence tolerance on absolute changes in objective function value",1e-12));
24  _subarguments.push_back(new arg_tolerance("tol_rel_obj","Convergence tolerance on relative changes in objective function value",1e+4));
25  _subarguments.push_back(new arg_tolerance("tol_grad","Convergence tolerance on the norm of the gradient",1e-8));
26  _subarguments.push_back(new arg_tolerance("tol_rel_grad","Convergence tolerance on the relative norm of the gradient",1e+7));
27  _subarguments.push_back(new arg_tolerance("tol_param","Convergence tolerance on changes in parameter value",1e-8));
28 
29  }
30 
31  };
32 
33  } // gm
34 
35 } // stan
36 
37 #endif
38 
std::vector< argument * > _subarguments
std::string _name
Definition: argument.hpp:76
double e()
Return the base of the natural logarithm.
Definition: constants.hpp:86
std::string _description
Definition: argument.hpp:77

     [ Stan Home Page ] © 2011–2014, Stan Development Team.