ADMB Documentation
-a65f1c97
|
Source code for quasi-Newton function minimizer. More...
#include <fvar.hpp>
#include <admodel.h>
#include <signal.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
Go to the source code of this file.
Macros | |
#define | getch getchar |
Functions | |
void | check_for_params_on_bounds (ostream &os) |
check for active parameters near bounds More... | |
void | clrscr () |
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More... | |
double | dafsqrt (double x) |
Robust square root. More... | |
std::string | get_elapsed_time (const std::chrono::time_point< std::chrono::system_clock > &from, const std::chrono::time_point< std::chrono::system_clock > &to) |
int | get_maxpar (const dvector &g) |
adstring | get_maxparname (const int index) |
adstring_array | get_param_names () |
Get names of active parameters. More... | |
ofstream | logstream ("fmin.log") |
void | onintr (int k) |
void | print_values (const double &f, const dvector &x, const dvector &g) |
Description not yet available. More... | |
void | tracing_message (int _traceflag, const char *s) |
Description not yet available. More... | |
void | tracing_message (int _traceflag, const char *s, int *pn) |
Description not yet available. More... | |
void | tracing_message (int _traceflag, const char *s, double *pd) |
Description not yet available. More... | |
void | tracing_message (int _traceflag, const char *s, double d) |
Description not yet available. More... | |
Variables | |
int | ctlc_flag |
Description not yet available. More... | |
int | log_values_switch =0 |
int * | pointer_to_phase = 0 |
std::chrono::time_point < std::chrono::system_clock > | start_time |
int | traceflag |
Source code for quasi-Newton function minimizer.
Definition in file newfmin.cpp.
#define getch getchar |
Definition at line 54 of file newfmin.cpp.
Referenced by fmm::fmin().
void check_for_params_on_bounds | ( | ostream & | os | ) |
check for active parameters near bounds
os | - ostream object to write results to |
Definition at line 293 of file output_checks.cpp.
Referenced by fmm::fmin().
void clrscr | ( | ) |
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Definition at line 8 of file clrscr.cpp.
Referenced by fmm::fmin(), fmmt1::fmin(), and fmmc::fmin().
double dafsqrt | ( | double | x | ) |
Robust square root.
x | Double precision argument . |
Definition at line 1295 of file newfmin.cpp.
Referenced by fmm::fmin(), and fmmt1::fmin().
std::string get_elapsed_time | ( | const std::chrono::time_point< std::chrono::system_clock > & | from, |
const std::chrono::time_point< std::chrono::system_clock > & | to | ||
) |
Definition at line 41 of file mod_sd.cpp.
Referenced by function_minimizer::computations(), fmm::fmin(), and print_elapsed_time().
int get_maxpar | ( | const dvector & | g | ) |
Definition at line 186 of file newfmin.cpp.
Referenced by fmm::fmin().
adstring get_maxparname | ( | const int | index | ) |
Definition at line 173 of file newfmin.cpp.
Referenced by fmm::fmin().
adstring_array get_param_names | ( | ) |
Get names of active parameters.
Definition at line 239 of file output_checks.cpp.
Referenced by get_maxparname(), and function_minimizer::hess_step().
ofstream logstream | ( | "fmin.log" | ) |
Referenced by print_values().
void onintr | ( | int | k | ) |
Definition at line 77 of file newfmin.cpp.
Description not yet available.
Definition at line 156 of file newfmin.cpp.
Referenced by fmm::fmin().
void tracing_message | ( | int | _traceflag, |
const char * | s | ||
) |
Description not yet available.
Definition at line 94 of file newfmin.cpp.
Referenced by function_minimizer::computations(), function_minimizer::computations1(), fmm::fmin(), and function_minimizer::minimize().
void tracing_message | ( | int | _traceflag, |
const char * | s, | ||
int * | pn | ||
) |
void tracing_message | ( | int | _traceflag, |
const char * | s, | ||
double * | pd | ||
) |
void tracing_message | ( | int | _traceflag, |
const char * | s, | ||
double | d | ||
) |
int ctlc_flag |
int log_values_switch =0 |
Definition at line 149 of file newfmin.cpp.
Referenced by fmm::fmin().
int* pointer_to_phase = 0 |
Definition at line 86 of file newfmin.cpp.
Referenced by fmm::fmin(), and initial_params::initial_params().
std::chrono::time_point<std::chrono::system_clock> start_time |
Definition at line 171 of file newfmin.cpp.
Referenced by function_minimizer::computations(), and fmm::fmin().
Generated on Wed Sep 7 2022 00:01:32 for ADMB Documentation by 1.8.5 |