12 using std::istringstream;
34 cerr <<
"Usage -fntrap option needs two non-negative integers -- ignored"
44 double & f= (
double&)_f;
60 cerr <<
"Usage -iprint option needs integer -- ignored" <<
endl;
74 cerr <<
"Usage -iprint option needs integer -- ignored" <<
endl;
96 cerr <<
"Usage -dfn option needs number -- ignored" <<
endl;
105 cerr <<
"Usage -dfn option needs positive number -- ignored" <<
endl;
146 cerr <<
"failed sanity check in "
147 "void function_minimizer::quasi_newton_block" <<
endl;
159 while (fmc.ireturn>=0)
184 for (i=1;i<=nx;i++) u(i)=1.e-3;
187 while (fmc.ireturn>=0)
196 x+=u(i)*(*negdirections)(i);
208 gu=(*negdirections)*g;
214 x+=u(i)*(*negdirections)(i);
248 df1b2variable::adpool_counter=0;
254 cerr <<
"Error allocating memory for lapprox" <<
endl;
302 while (fmc.ireturn>=0)
309 if (ifn_trap==fmc.ifn && itn_trap == fmc.itn)
311 cout <<
"we are here" <<
endl;
314 g=(*lapprox)(
x,f,
this);
340 for (i=1;i<=nx;i++) u(i)=1.e-3;
341 while (fmc.ireturn>=0)
349 x+=u(i)*(*negdirections)(i);
351 g=(*lapprox)(
x,f,
this);
352 gu=(*negdirections)*g;
358 x+=u(i)*(*negdirections)(i);
373 g=fmc.gbest(1,fmc.gbest.indexmax());
laplace_approximation_calculator * lapprox
static dvar_vector * variance_components_vector
static void reset_all(const dvector &)
Description not yet available.
static adpool * adpool_vector[]
static void set_no_derivatives(void)
Description not yet available.
static void set_NO_DERIVATIVES(void)
Disable accumulation of derivative information.
Description not yet available.
void limited_memory_quasi_newton_block(int nvar, int _crit, independent_variables &x, const dvector &_g, const double &_f, int nsteps)
Description not yet available.
Vector of double precision numbers.
static void xinit_all(const dvector &x)
Description not yet available.
static int separable_flag
static unsigned int nvar_vector[]
void get_hessian_components_banded_lme(function_minimizer *pfmin)
Description not yet available.
df1_two_variable fabs(const df1_two_variable &x)
static dvariable reset(const dvar_vector &x)
static void restore_start_phase(void)
void check_hessian_type(const dvector &_x, function_minimizer *)
Description not yet available.
void check_hessian_type2(function_minimizer *pfmin)
Description not yet available.
void gradcalc(int nvar, const dvector &g)
int atoi(adstring &s)
Returns a integer converted from input s.
static void save_varsptr(void)
Description not yet available.
void deallocate(void)
Description not yet available.
prnstream & endl(prnstream &)
Description not yet available.
static void set_active_only_random_effects(void)
static dvector maximum_function_evaluations
int indexmax() const
Get maximum valid index.
static objective_function_value * pobjfun
Description not yet available.
static int nvarcalc_all(void)
Description not yet available.
static void set_inactive_random_effects(void)
int option_match(int argc, char *argv[], const char *string)
Checks if the program has been invoked with a particular command line argument ("string").
std::ostream & get_output_stream()
Description not yet available.
Description not yet available.
void reset_gradient_stack(void)
Rewind buffer.
static void set_YES_DERIVATIVES(void)
Enable accumulation of derivative information.
dvector value(const df1_one_vector &v)
void pre_userfunction(void)
static init_df1b2vector * py
static int adpool_counter
static int get_num_quadratic_prior(void)
static void restore_varsptr(void)
Description not yet available.
static dvector convergence_criteria
Fundamental data type for reverse mode automatic differentiation.
static void set_inactive_only_random_effects(void)
static int random_effects_flag
static void get_M_calculations(void)
Description not yet available.