ramp_proximal_weight
Ramp proximal-weight autotuner.
Ramps lam_prox up by a constant factor each iteration until it hits the
configured maximum, then holds it constant.
RampProximalWeight
¶
Bases: AutotuningBase
Ramp lam_prox toward lam_prox_max then hold.
update_weights is a pure functional update on the
:class:AlgorithmState pytree; see the base-class contract.
Source code in openscvx/algorithms/autotuner/ramp_proximal_weight.py
update_weights(state: AlgorithmState, candidate: CandidateIterate, nodal_constraints: LoweredJaxConstraints, settings: Config, params: dict) -> AlgorithmState
¶
Return the next-iterate state.
Pure functional update — see class docstring.
Source code in openscvx/algorithms/autotuner/ramp_proximal_weight.py
RampProximalWeightHyper
¶
Bases: LamCostRelaxHyper
Declared hyperparameters for :class:RampProximalWeight.
Extends the shared :class:LamCostRelaxHyper lam_cost relaxation knobs
with the ramp factor and the lam_prox ceiling.
Source code in openscvx/algorithms/autotuner/ramp_proximal_weight.py
RampProximalWeightSpec
¶
Bases: BaseModel
Validates RampProximalWeight configuration from dict/YAML input.