Loading...
Searching...
No Matches
gpr::optim::MinimizationResult Struct Reference

Result of GP-guided minimization. More...

#include <gpr/optimization/GPMinimizer.h>

Public Attributes

Eigen::VectorXd x_final
double e_final = 0.0
Eigen::VectorXd g_final
bool converged = false
int oracle_calls = 0
int prior_observations = 0
 Rows supplied by the caller. They are not included in oracle_calls.
int total_iterations
int secant_pairs = 0
int secant_update_failures = 0
int finite_difference_hvp_calls = 0
int secant_curvature_seed_steps = 0
int secant_curvature_seed_refusals = 0
SecantSeedStatus last_secant_seed_status = SecantSeedStatus::NoAcceptedPair
double last_secant_relative_error
std::vector< double > energy_trajectory

Detailed Description

Result of GP-guided minimization.

x_final, e_final and g_final are exact oracle values from an evaluation at x_final (never surrogate predictions or merged/averaged session rows). When converged, they are an oracle evaluation whose gradient norm is below conv_tol; otherwise they are the lowest-energy finite oracle evaluation of the run.

Definition at line 96 of file GPMinimizer.h.

Member Data Documentation

◆ converged

bool gpr::optim::MinimizationResult::converged = false

Definition at line 100 of file GPMinimizer.h.

◆ e_final

double gpr::optim::MinimizationResult::e_final = 0.0

Definition at line 98 of file GPMinimizer.h.

◆ energy_trajectory

std::vector<double> gpr::optim::MinimizationResult::energy_trajectory

Definition at line 116 of file GPMinimizer.h.

◆ finite_difference_hvp_calls

int gpr::optim::MinimizationResult::finite_difference_hvp_calls = 0

Definition at line 108 of file GPMinimizer.h.

◆ g_final

Eigen::VectorXd gpr::optim::MinimizationResult::g_final

Definition at line 99 of file GPMinimizer.h.

◆ last_secant_relative_error

double gpr::optim::MinimizationResult::last_secant_relative_error
Initial value:
=
std::numeric_limits<double>::quiet_NaN()

Definition at line 114 of file GPMinimizer.h.

◆ last_secant_seed_status

SecantSeedStatus gpr::optim::MinimizationResult::last_secant_seed_status = SecantSeedStatus::NoAcceptedPair

Definition at line 113 of file GPMinimizer.h.

◆ oracle_calls

int gpr::optim::MinimizationResult::oracle_calls = 0

Definition at line 101 of file GPMinimizer.h.

◆ prior_observations

int gpr::optim::MinimizationResult::prior_observations = 0

Rows supplied by the caller. They are not included in oracle_calls.

Definition at line 103 of file GPMinimizer.h.

◆ secant_curvature_seed_refusals

int gpr::optim::MinimizationResult::secant_curvature_seed_refusals = 0

Inner steps whose secant Newton step was refused. The step then follows the surrogate gradient; the reason is the last status.

Definition at line 112 of file GPMinimizer.h.

◆ secant_curvature_seed_steps

int gpr::optim::MinimizationResult::secant_curvature_seed_steps = 0

Definition at line 109 of file GPMinimizer.h.

◆ secant_pairs

int gpr::optim::MinimizationResult::secant_pairs = 0

Definition at line 106 of file GPMinimizer.h.

◆ secant_update_failures

int gpr::optim::MinimizationResult::secant_update_failures = 0

Definition at line 107 of file GPMinimizer.h.

◆ total_iterations

int gpr::optim::MinimizationResult::total_iterations
Initial value:
=
0

Definition at line 104 of file GPMinimizer.h.

◆ x_final

Eigen::VectorXd gpr::optim::MinimizationResult::x_final

Definition at line 97 of file GPMinimizer.h.


The documentation for this struct was generated from the following file: