Pallas Solver
0.1
C++ Global Optimization Algorithms
|
Fast cooling schedule updates. More...
#include <cooling_schedule.h>
Public Member Functions | |
FastCooling (const CoolingSchedule::Options &options) | |
Default constructor. More... | |
void | update_temperature () |
Updates the temperature member variable according to the cooling schedule method. | |
![]() | |
virtual | ~CoolingSchedule () |
Default destructor. | |
double | get_temperature () const |
Returns the current temperature stored withing the cooling schedule. | |
double | get_initial_temperature () const |
Returns the initial temperature to start the minimization at. | |
void | set_temperature (double T) |
Sets the current temperature. More... | |
void | calc_start_temperature (const GradientProblem &problem, internal::State &state, StepFunction *step_function) |
Estimates an appropriate starting temperature. More... | |
Additional Inherited Members | |
![]() | |
static CoolingSchedule * | Create (const Options &options) |
Creates a pointer to a cooling schedule. More... | |
![]() | |
double | temperature |
double | initial_temperature |
double | boltzmann_constant |
Fast cooling schedule updates.
Updates the temperature according to the formula:
where c = m * exp(-n * quench)
and k = boltzmann_constant
.
options | Configurable options for modifying the default behaviour of the cooling schedule. Can be used to the m, n, k, and quench parameters for the cooling schedule. |
pallas::FastCooling::FastCooling | ( | const CoolingSchedule::Options & | options | ) |
Default constructor.
options |