Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
do_bfgs_optimize.hpp File Reference
#include <fstream>
#include <iostream>
#include <iomanip>
#include <vector>
#include <stan/gm/error_codes.hpp>
#include <stan/common/do_print.hpp>
#include <stan/common/write_iteration_csv.hpp>
#include <stan/common/write_iteration.hpp>

Go to the source code of this file.

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::common
 

Functions

template<typename ModelT , typename BFGSOptimizerT , typename RNGT , typename StartIterationCallback >
int stan::common::do_bfgs_optimize (ModelT &model, BFGSOptimizerT &bfgs, RNGT &base_rng, double &lp, std::vector< double > &cont_vector, std::vector< int > &disc_vector, std::fstream *output_stream, std::ostream *notice_stream, bool save_iterations, int refresh, StartIterationCallback &callback)
 

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