GP-accelerated geometry minimization. More...
#include <Eigen/Dense>#include <cstddef>#include <cstdint>#include <functional>#include <limits>#include <stdexcept>#include <string>#include <vector>#include "../../backend/Macros.h"#include "../../structures/Structures.h"#include "gpr/optimization/SecantCurvature.h"#include "gpr/optimization/SecantHessian.h"#include "gpr/policy/TrainingPolicy.h"Go to the source code of this file.
Classes | |
| struct | gpr::optim::MinimizationConfig |
| Configuration for GP-guided minimization. More... | |
| struct | gpr::optim::MinimizationResult |
| Result of GP-guided minimization. More... | |
| struct | gpr::optim::MinimizationLayoutStamp |
| Byte counts of the minimization structs this translation unit compiled. More... | |
Namespaces | |
| namespace | gpr |
| Gaussian-process regression, kernels, priors, and the searches that run on the surrogate. | |
| namespace | gpr::optim |
| namespace | gpr::io |
Typedefs | |
| using | gpr::optim::OracleFn |
| Oracle function: positions -> (energy, gradient). | |
Functions | |
| MinimizationLayoutStamp | gpr::optim::compiledMinimizationLayout () noexcept |
| MinimizationLayoutStamp | gpr::optim::libraryMinimizationLayout () |
| What libgpridge was built with. Defined in the library, not inline. | |
| std::string | gpr::optim::minimizationLayoutMismatch (const MinimizationLayoutStamp &driver, const MinimizationLayoutStamp &library) |
| void | gpr::optim::requireMinimizationLayout () |
| MinimizationResult | gpr::optim::gp_minimize (OracleFn oracle, const Eigen::VectorXd &x_init, const AtomsConfiguration &atoms_config, const MinimizationConfig &config={}) |
| GP-accelerated geometry minimization. | |
| MinimizationResult | gpr::optim::gp_minimize (OracleFn oracle, const Eigen::VectorXd &x_init, const AtomsConfiguration &atoms_config, const MinimizationConfig &config, const policy::TrainingPolicy *policy, const Observation *seed=nullptr, const io::TrainedGpState *gp_state=nullptr) |
| GP-accelerated geometry minimization with a training policy. | |
Variables | |
| constexpr std::uint32_t | gpr::optim::kMinimizationLayoutVersion = 2 |
GP-accelerated geometry minimization.
Uses a Gaussian process surrogate to accelerate minimization by reducing the number of expensive oracle (energy/force) evaluations. The surrogate is trained on accumulated observations and used for inner L-BFGS steps. The oracle is called when the step leaves the trust region and when the surrogate gradient proposes a stop: convergence is decided by the oracle gradient at the reported point, never by the surrogate.
From ChemGP minimize.rs.
Definition in file GPMinimizer.h.