1 // -- 2 // parameter structures for GSS algorithms 3 //-- 4 5 #ifndef OPT_PARAMS 6 #define OPT_PARAMS 7 8 namespace OPTPP { 9 10 class OptGSS_params { 11 public: 12 double Delta; 13 double Delta_tol; 14 double Phi; 15 double Theta; 16 int Iter_max; 17 bool SearchAll; 18 bool printCOPYRIGHT; 19 bool printXiter; 20 bool printGiter; 21 22 // constructor -- sets default parameters OptGSS_params()23 OptGSS_params() : Delta(0.0), 24 Delta_tol(1e-12), 25 Phi(1.3), 26 Theta(0.5), 27 Iter_max(10000), 28 SearchAll(true), 29 printCOPYRIGHT(false), 30 printXiter(false), 31 printGiter(false) 32 {;} 33 }; 34 35 } // namespace OPTPP 36 37 #endif 38