struct gpr::optim::MinimizationResult¶
Overview¶
Result of GP-guided minimization. More…
#include <gpr/optimization/GPMinimizer.h>
struct MinimizationResult {
// fields
Eigen::VectorXd x_final;
double e_final = 0.0;
Eigen::VectorXd g_final;
bool converged = false;
int oracle_calls = 0;
int prior_observations = 0;
int total_iterations = 0;
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::numeric_limits<double>::quiet_NaN();
std::vector<double> energy_trajectory;
};
Detailed Documentation¶
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.
Fields¶
int prior_observations = 0
Rows supplied by the caller. They are not included in oracle_calls.
int 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.