Mantid
Loading...
Searching...
No Matches
BFGS_Minimizer.cpp
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7//----------------------------------------------------------------------
8// Includes
9//----------------------------------------------------------------------
11
14
15#include "MantidKernel/Logger.h"
16
18namespace {
20Kernel::Logger g_log("BFGS_Minimizer");
21} // namespace
22
23DECLARE_FUNCMINIMIZER(BFGS_Minimizer, BFGS)
24
25
27const gsl_multimin_fdfminimizer_type *BFGS_Minimizer::getGSLMinimizerType() {
28 return gsl_multimin_fdfminimizer_vector_bfgs2;
29}
30
31} // namespace Mantid::CurveFitting::FuncMinimisers
#define DECLARE_FUNCMINIMIZER(classname, username)
Macro for declaring a new type of minimizers to be used with the FuncMinimizerFactory.
Implementing Broyden-Fletcher-Goldfarb-Shanno (BFGS) algorithm by wrapping the IFuncMinimizer interfa...
Kernel::Logger g_log("ExperimentInfo")
static logger object