Skip to content

Different QP solvers for MPC #39

@Ahmadreza-Shahrokhshahi

Description

Hi,

I am trying to have a better understanding about the QP solvers that can be used to solve the MPC problem. There are five different solvers in COPRA that is suggested for solving the QP for MPC:

  • LSSOL
  • GUROBI
  • QLD
  • OSQP
  • QuadProg

Two solvers QuadProg and QLD can readily be used in the codes. I want to know about the other solvers' behavior in terms of computation time, and dependency on the number of prediction horizon steps (e.g., is it O(N^2) or something else based on the sparsity of the matrices, etc.). Since GUROBI and LSSOL are not free and I have not installed osqp-eigen on my system yet, I was curious if you have compared different solvers so far.
There might be other QP solvers such as qpOASES, qpswift, which are not included in COPRA.

  1. Do you think that we can use solvers like qpOASES and qpswift? (based on the structure of our problem here)
  2. My ultimate goal is to find the solver which fits our MPC problem, and its computation costs increases the least by increasing N.

P.S. I have seen this QP solvers copmarison, but I thought that you might have done a more particular comparison for the LIPM walking control MPC problem, which typically has N≈10-30, and the problem-specific constraints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions