Struct osqp::Settings [] [src]

pub struct Settings { /* fields omitted */ }

The settings used when initialising a solver.

Methods

impl Settings
[src]

[src]

Sets the ADMM step rho.

[src]

Sets the ADMM step sigma.

[src]

Sets the number of heuristic data scaling iterations.

If None scaling is disabled.

Panics on 32-bit platforms if the value is above i32::max_value().

[src]

Enables choosing rho adaptively.

[src]

Sets the number of iterations between rho adaptations.

If None it is automatic.

Panics on 32-bit platforms if the value is above i32::max_value().

[src]

Sets the tolerance for adapting rho.

The new rho has to be x times larger or 1/x times smaller than the current rho to trigger a new factorization.

[src]

Set the interval for adapting rho as a fraction of the setup time.

[src]

Sets the maximum number of ADMM iterations.

Panics on 32-bit platforms if the value is above i32::max_value().

[src]

Sets the absolute convergence tolerance.

[src]

Sets the relative convergence tolerance.

[src]

Sets the primal infeasibility tolerance.

[src]

Sets the dual infeasibility tolerance.

[src]

Sets the linear solver relaxation parameter.

[src]

Sets the linear system solver to use.

[src]

Sets the polishing regularization parameter.

[src]

Enables polishing the ADMM solution.

[src]

Sets the number of iterative refinement steps to use when polishing.

Panics on 32-bit platforms if the value is above i32::max_value().

[src]

Enables writing progress to stdout.

[src]

Enables scaled termination criteria.

[src]

Sets the number of ADMM iterations between termination checks.

If None termination checking is disabled.

Panics on 32-bit platforms if the value is above i32::max_value().

[src]

Enables warm starting the primal and dual variables from the previous solution.

Trait Implementations

impl Clone for Settings
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Settings
[src]

[src]

Returns the "default value" for a type. Read more

impl Send for Settings
[src]

impl Sync for Settings
[src]