class funcmin::Ceres

Overview

Wrapper for the Ceres Solver for robust nonlinear optimization. More…

#include <Ceres.h>
 
class Ceres {
public:
    // fields
 
    bool failedOptim;
 
    // construction
 
    Ceres();
    virtual ~Ceres();
 
    // methods
 
    template <typename ClassName, typename FuncName>
    void optimize(const gpr::EigenMatrix& x_data, const Eigen::VectorXd& x_ind, const Eigen::VectorXd& y, Eigen::VectorXd& w, FuncName func_to_min, ClassName& holder, double);
 
    void setAlgorithmSettings(const gpr::CeresOptimizationSettings& _settings);
};

Detailed Documentation

Wrapper for the Ceres Solver for robust nonlinear optimization.

This class uses Ceres ‘s trust-region minimizer, which natively handles the bounds constraints required for stable hyperparameter optimization.