pub struct SDPSolver {
pub max_iters: usize,
pub tolerance: f64,
pub step_size: f64,
}Expand description
Simple projected gradient SDP solver
Fields§
§max_iters: usizeMaximum iterations
tolerance: f64Tolerance
step_size: f64Step size
Implementations§
Source§impl SDPSolver
impl SDPSolver
Sourcepub fn solve(&self, problem: &SDPProblem) -> SDPSolution
pub fn solve(&self, problem: &SDPProblem) -> SDPSolution
Solve SDP problem
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SDPSolver
impl RefUnwindSafe for SDPSolver
impl Send for SDPSolver
impl Sync for SDPSolver
impl Unpin for SDPSolver
impl UnwindSafe for SDPSolver
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