constant_proximal_weight
Constant proximal-weight autotuner.
Keeps lam_prox fixed across iterations while still relaxing lam_cost
after the configured lam_cost_drop iteration.
ConstantProximalWeight
¶
Bases: AutotuningBase
Hold lam_prox constant; relax lam_cost after lam_cost_drop.
Useful when you want a fixed trust-region size without adaptation.
update_weights is a pure functional update on the
:class:AlgorithmState pytree; see the base-class contract.
Source code in openscvx/algorithms/autotuner/constant_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/constant_proximal_weight.py
ConstantProximalWeightHyper
¶
Bases: LamCostRelaxHyper
Declared hyperparameters for :class:ConstantProximalWeight.
The lam_cost relaxation knobs are this autotuner's only tunables, so it
declares no fields beyond the shared :class:LamCostRelaxHyper ones.
Source code in openscvx/algorithms/autotuner/constant_proximal_weight.py
ConstantProximalWeightSpec
¶
Bases: BaseModel
Validates ConstantProximalWeight configuration from dict/YAML input.