[][src]Struct totsu::pdipm::PDIPMParam

pub struct PDIPMParam {
    pub eps: FP,
    pub mu: FP,
    pub alpha: FP,
    pub beta: FP,
    pub s_coef: FP,
    pub margin: FP,
    pub n_loop: usize,
    pub use_iter: bool,
    pub log_vecs: bool,
    pub log_kkt: bool,
}

Primal-Dual Interior-Point Method solver parameters.

Fields

eps: FP

Tolerance of the surrogate duality gap. Tolerance of the primal and dual residuals.

mu: FP

The factor to squeeze complementary slackness.

alpha: FP

The factor to decrease residuals in the backtracking line search.

beta: FP

The factor to decrease a step size in the backtracking line search.

s_coef: FP

The factor to determine an initial step size in the backtracking line search.

margin: FP

Initial margin value for dual variables of inequalities.

n_loop: usize

Max iteration number of outer-loop for the Newton step. Max iteration number of inner-loop for the backtracking line search.

use_iter: bool

Use iterative linear solver to calculate Newton step.

log_vecs: bool

Enables to log vector status.

log_kkt: bool

Enables to log kkt matrix.

Trait Implementations

impl PartialEq<PDIPMParam> for PDIPMParam[src]

impl Clone for PDIPMParam[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for PDIPMParam[src]

impl Debug for PDIPMParam[src]

Auto Trait Implementations

impl Send for PDIPMParam

impl Sync for PDIPMParam

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]