Drake
Drake C++ Documentation
Loading...
Searching...
No Matches
DaqpSolverDetails Struct Reference

Detailed Description

The DAQP solver details after calling the Solve() function.

The user can call MathematicalProgramResult::get_solver_details<DaqpSolver>() to obtain the details.

#include <drake/solvers/daqp_solver.h>

Public Attributes

int exitflag {}
 The exit flag returned by DAQP; 1 means that an optimal solution was found.
int iterations {}
 Number of active-set iterations.
double setup_time {}
 Time spent in DAQP's setup phase (seconds).
double solve_time {}
 Time spent in DAQP's solve phase (seconds).
Eigen::VectorXd multipliers {}
 The Lagrange multipliers computed by DAQP, in DAQP's sign convention (positive at an active upper bound).

Member Data Documentation

◆ exitflag

int exitflag {}

The exit flag returned by DAQP; 1 means that an optimal solution was found.

Refer to DAQP_EXIT_* in https://github.com/darnstrom/daqp/blob/master/include/constants.h

◆ iterations

int iterations {}

Number of active-set iterations.

◆ multipliers

Eigen::VectorXd multipliers {}

The Lagrange multipliers computed by DAQP, in DAQP's sign convention (positive at an active upper bound).

The first MathematicalProgram:: num_vars() entries are for the variable bounds, followed by the rows of the linear inequality constraints, and then the rows of the linear equality constraints. Set only when DAQP solves the problem.

◆ setup_time

double setup_time {}

Time spent in DAQP's setup phase (seconds).

◆ solve_time

double solve_time {}

Time spent in DAQP's solve phase (seconds).


The documentation for this struct was generated from the following file: