Skip to content

Equality Constraints in Hierarchical Solver #161

Description

@nilslandin-png

Hi!

I'm trying to use the hierarchical solver of DAQP with 9 simple bounds on the variables and 3 equality constraints of the type Ax=b. Only the 3 equality constraints are hierarchical. I'm encountering infeasibility as soon as any of the hierarchical equality constraints cannot be fulfilled. Then I have a few questions:

  1. The break point array should then look like {9, 10, 11, 12} if the rows in Ax=b is arranged in falling order of hierarchy?
  2. Are equality constraints supported in the HIQP-solver? How should I specify them? Sense=5? ub=lb?
  3. In single precision arithmetics, are there any specific solver parameters I need to be careful with? I'm using
    #define DAQP_DEFAULT_PRIM_TOL 1e-4
    #define DAQP_DEFAULT_DUAL_TOL 1e-5
    #define DAQP_DEFAULT_ZERO_TOL 1e-5
    #define DAQP_DEFAULT_PROG_TOL 1e-5
    #define DAQP_DEFAULT_LP_PROG_TOL 1e-5
    #define DAQP_DEFAULT_PIVOT_TOL 1e-4
    #define DAQP_DEFAULT_CYCLE_TOL 12
    #define DAQP_DEFAULT_ETA 1e-3
    //#define DAQP_DEFAULT_ETA 0
    #define DAQP_DEFAULT_ITER_LIMIT 10000
    #define DAQP_DEFAULT_RHO_SOFT 1e-3
    #define DAQP_DEFAULT_REL_SUBOPT 0
    #define DAQP_DEFAULT_ABS_SUBOPT 0
    #define DAQP_DEFAULT_SING_TOL (4e-4)
    #define DAQP_DEFAULT_REFACTOR_TOL 1e-4
    #define DAQP_DEFAULT_EPS_PROX 3e-3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions