pub struct ProximalGradientSolver;Expand description
Proximal Gradient solver (for non-smooth regularization)
Trait Implementations§
Source§impl Debug for ProximalGradientSolver
impl Debug for ProximalGradientSolver
Source§impl OptimizationSolver for ProximalGradientSolver
impl OptimizationSolver for ProximalGradientSolver
Source§type Config = ProximalGradientConfig
type Config = ProximalGradientConfig
Configuration type for this solver
Source§type Result = ProximalGradientResult
type Result = ProximalGradientResult
Result type returned by this solver
Source§fn solve(
&self,
_objective: &dyn Objective,
_initial_guess: &Array1<Float>,
_config: &Self::Config,
) -> Result<Self::Result>
fn solve( &self, _objective: &dyn Objective, _initial_guess: &Array1<Float>, _config: &Self::Config, ) -> Result<Self::Result>
Solve the optimization problem
Source§fn supports_objective(&self, _objective: &dyn Objective) -> bool
fn supports_objective(&self, _objective: &dyn Objective) -> bool
Check if this solver supports the given objective type
Source§fn get_recommendations(&self, _data: &ObjectiveData) -> SolverRecommendations
fn get_recommendations(&self, _data: &ObjectiveData) -> SolverRecommendations
Get solver-specific recommendations for the given problem
Auto Trait Implementations§
impl Freeze for ProximalGradientSolver
impl RefUnwindSafe for ProximalGradientSolver
impl Send for ProximalGradientSolver
impl Sync for ProximalGradientSolver
impl Unpin for ProximalGradientSolver
impl UnwindSafe for ProximalGradientSolver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more