Struct osqp::Problem [] [src]

pub struct Problem { /* fields omitted */ }

An instance of the OSQP solver.

Methods

impl Problem
[src]

[src]

Sets the ADMM step rho.

[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 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.

[src]

Sets the solve time limit.

impl Problem
[src]

[src]

Initialises the solver and validates the problem.

Panics if the problem is invalid.

[src]

Sets the linear part of the cost function to q.

[src]

Sets the lower and upper bounds of the constraints to l and u.

[src]

Sets the lower bound of the constraints to l.

[src]

Sets the upper bound of the constraints to u.

[src]

Warm starts the primal variables at x and the dual variables at y.

[src]

Warm starts the primal variables at x.

[src]

Warms start the dual variables at y.

[src]

Updates the elements of matrix P without changing its sparsity structure.

[src]

Updates the elements of matrix A without changing its sparsity structure.

[src]

Updates the elements of matrices P and A without changing either's sparsity structure.

[src]

Attempts to solve the quadratic program.

Trait Implementations

impl Drop for Problem
[src]

[src]

Executes the destructor for this type. Read more

impl Send for Problem
[src]

impl Sync for Problem
[src]

Auto Trait Implementations