Skip to content

Any suggestion for setting params for float? #273

@whtqh

Description

@whtqh

I am testing the time cost for proxqp, and I wonder if the time could be less using T = float compared to T = double.
However, using the same setting will make the qp unstable and unsolved.
I guess the default setting params in proxqp/setting.hpp is tuned for double.
Is there any suggestion for tuning and the most important params for time cost?

btw, I have adjusted the eps_abs and eps_rel

// float -> 0.0035
problem_.settings.eps_abs = sqrt(std::numeric_limits<T>::epsilon()) * 10;
problem_.settings.eps_rel = sqrt(std::numeric_limits<T>::epsilon()) * 10;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions