26 std::chrono::microseconds
max_time = std::chrono::minutes(5);
43 10 * std::numeric_limits<real_t>::epsilon();
87template <
class DirectionProv
iderT>
105 bool always_overwrite_results,
131template <
class InnerSolverStats>
137 unsigned iterations = 0;
138 unsigned linesearch_failures = 0;
139 unsigned lbfgs_failures = 0;
140 unsigned lbfgs_rejected = 0;
141 unsigned τ_1_accepted = 0;
142 unsigned count_τ = 0;
std::string get_name() const
std::function< void(const ProgressInfo &)> progress_cb
PANOCSolver & set_progress_callback(std::function< void(const ProgressInfo &)> cb)
DirectionProviderT DirectionProvider
AtomicStopSignal stop_signal
PANOCSolver(Params params, PANOCDirection< DirectionProvider > &&direction_provider)
const Params & get_params() const
Stats operator()(const Problem &problem, crvec Σ, real_t ε, bool always_overwrite_results, rvec x, rvec y, rvec err_z)
PANOCDirection< DirectionProvider > direction_provider
PANOCSolver(Params params, const PANOCDirection< DirectionProvider > &direction_provider)
LipschitzEstimateParams Lipschitz
Parameters related to the Lipschitz constant estimate and step size.
InnerStatsAccumulator< PolymorphicInnerSolverWrapper::Stats > & operator+=(InnerStatsAccumulator< PolymorphicInnerSolverWrapper::Stats > &acc, const PolymorphicInnerSolverWrapper::Stats &s)
@ ApproxKKT
Find an ε-approximate KKT point in the ∞-norm:
bool alternative_linesearch_cond
Eigen::Ref< const vec > crvec
Default type for immutable references to vectors.
bool update_lipschitz_in_linesearch
unsigned max_no_progress
Maximum number of iterations without any progress before giving up.
real_t L_max
Maximum Lipschitz constant estimate.
const PANOCParams & params
SolverStatus
Exit status of a numerical solver such as ALM or PANOC.
std::chrono::microseconds max_time
Maximum duration.
real_t quadratic_upperbound_tolerance_factor
std::chrono::microseconds elapsed_time
double real_t
Default floating point type.
unsigned linesearch_failures
unsigned print_interval
When to print progress.
real_t τ_min
Minimum weight factor between Newton step and projected gradient step.
real_t L_min
Minimum Lipschitz constant estimate.
LBFGSStepSize lbfgs_stepsize
LBFGSStepSize
Which method to use to select the L-BFGS step size.
unsigned max_iter
Maximum number of inner PANOC iterations.
PANOCStopCrit stop_crit
What stopping criterion to use.
Eigen::Ref< vec > rvec
Default type for mutable references to vectors.
Tuning parameters for the PANOC algorithm.
Problem description for minimization problems.