dense_qp_interface

Enums

enum dense_qp_solver_t

Values:

enumerator DENSE_QP_HPIPM
enumerator DENSE_QP_QORE
enumerator DENSE_QP_QPOASES
enumerator DENSE_QP_OOQP

Functions

qp_solver_config *dense_qp_config_create(dense_qp_solver_plan *plan)
dense_qp_dims *dense_qp_dims_create()
dense_qp_in *dense_qp_in_create(qp_solver_config *config, dense_qp_dims *dims)
dense_qp_out *dense_qp_out_create(qp_solver_config *config, dense_qp_dims *dims)
void *dense_qp_opts_create(qp_solver_config *config, dense_qp_dims *dims)
int dense_qp_calculate_size(qp_solver_config *config, dense_qp_dims *dims, void *opts_)
dense_qp_solver *dense_qp_assign(qp_solver_config *config, dense_qp_dims *dims, void *opts_, void *raw_memory)
dense_qp_solver *dense_qp_create(qp_solver_config *config, dense_qp_dims *dims, void *opts_)
int dense_qp_solve(dense_qp_solver *solver, dense_qp_in *qp_in, dense_qp_out *qp_out)
void dense_qp_inf_norm_residuals(dense_qp_dims *dims, dense_qp_in *qp_in, dense_qp_out *qp_out, double *res)
bool dense_qp_set_field_double_array(const char *field, double *arr, dense_qp_in *qp_in)
bool dense_qp_set_field_int_array(const char *field, int *arr, dense_qp_in *qp_in)
bool dense_qp_get_field_double_array(const char *field, dense_qp_in *qp_in, double *arr)
bool dense_qp_get_field_int_array(const char *field, dense_qp_in *qp_in, int *arr)
struct dense_qp_solver_plan
#include <dense_qp_interface.h>

Public Members

dense_qp_solver_t qp_solver
struct dense_qp_solver
#include <dense_qp_interface.h>

Public Members

qp_solver_config *config
void *dims
void *opts
void *mem
void *work

Defines

QP_SOLVER_CONFIG_
QP_INFO_

Typedefs

typedef struct d_dense_qp_dim dense_qp_dims
typedef struct d_dense_qp dense_qp_in
typedef struct d_dense_qp_sol dense_qp_out
typedef struct d_dense_qp_res dense_qp_res
typedef struct d_dense_qp_res_ws dense_qp_res_ws

Functions

int dense_qp_solver_config_calculate_size()
qp_solver_config *dense_qp_solver_config_assign(void *raw_memory)
int dense_qp_dims_calculate_size()
dense_qp_dims *dense_qp_dims_assign(void *raw_memory)
void dense_qp_dims_set(void *config_, void *dims_, const char *field, const int *value)
int dense_qp_in_calculate_size(dense_qp_dims *dims)
dense_qp_in *dense_qp_in_assign(dense_qp_dims *dims, void *raw_memory)
int dense_qp_out_calculate_size(dense_qp_dims *dims)
dense_qp_out *dense_qp_out_assign(dense_qp_dims *dims, void *raw_memory)
void dense_qp_out_get(dense_qp_out *out, const char *field, void *value)
int dense_qp_res_calculate_size(dense_qp_dims *dims)
dense_qp_res *dense_qp_res_assign(dense_qp_dims *dims, void *raw_memory)
int dense_qp_res_workspace_calculate_size(dense_qp_dims *dims)
dense_qp_res_ws *dense_qp_res_workspace_assign(dense_qp_dims *dims, void *raw_memory)
void dense_qp_compute_t(dense_qp_in *qp_in, dense_qp_out *qp_out)
void dense_qp_res_compute(dense_qp_in *qp_in, dense_qp_out *qp_out, dense_qp_res *qp_res, dense_qp_res_ws *res_ws)
void dense_qp_res_compute_nrm_inf(dense_qp_res *qp_res, double res[4])
void dense_qp_stack_slacks_dims(dense_qp_dims *in, dense_qp_dims *out)
void dense_qp_stack_slacks(dense_qp_in *in, dense_qp_in *out)
void dense_qp_unstack_slacks(dense_qp_out *in, dense_qp_in *qp_out, dense_qp_out *out)
struct qp_solver_config
#include <ocp_qp_common.h>
struct qp_info
#include <ocp_qp_common.h>