class funcmin::RgminScg

Overview

SCG waist through rgmin. More…

#include <gpr/ml/RgminScg.h>
 
class RgminScg {
public:
    // fields
 
    bool failedOptim = false;
    bool exhaustedIterationBudget = false;
    int completedIterations = 0;
    bool hessianVectorFallback = false;
 
    // methods
 
    void setAlgorithmSettings(const gpr::ScgOptimizationSettings& s);
 
    template <typename ClassName, typename FuncName>
    void optimize(const gpr::EigenMatrix& x, const Eigen::VectorXd& x_ind, const Eigen::VectorXd& y, Eigen::VectorXd& w, FuncName func_to_min, ClassName& holder, double current_barrier_strength, const Eigen::VectorXd& lengthscale_rho0 = Eigen::VectorXd(), const MapObjectiveConfig* objective_config = nullptr);
};

Detailed Documentation

SCG waist through rgmin. The loop lives in Rust. SCG mode selects this optimizer.

Fields

bool hessianVectorFallback = false

True when nlml_hessian_vector continued with rgmin’s finite-difference curvature probe.