alpaqa pantr
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Public Attributes | List of all members
alpaqa_control_problem_functions_t Struct Reference

#include <interop/dl-api/include/alpaqa/dl/dl-problem.h>

Detailed Description

Definition at line 171 of file dl-problem.h.

+ Collaboration diagram for alpaqa_control_problem_functions_t:

Public Attributes

char version [16]
 
alpaqa_length_t N
 
alpaqa_length_t nx
 
alpaqa_length_t nu
 
alpaqa_length_t nh
 
alpaqa_length_t nh_N
 
alpaqa_length_t nc
 
alpaqa_length_t nc_N
 
void(* get_U )(void *instance, alpaqa_real_t *lb, alpaqa_real_t *ub)
 
void(* get_D )(void *instance, alpaqa_real_t *lb, alpaqa_real_t *ub)
 
void(* get_D_N )(void *instance, alpaqa_real_t *lb, alpaqa_real_t *ub)
 
void(* get_x_init )(void *instance, alpaqa_real_t *x_init)
 
void(* eval_f )(void *instance, alpaqa_index_t timestep, const alpaqa_real_t *x, const alpaqa_real_t *u, alpaqa_real_t *fxu)
 
void(* eval_jac_f )(void *instance, alpaqa_index_t timestep, const alpaqa_real_t *x, const alpaqa_real_t *u, alpaqa_real_t *J_fxu)
 
void(* eval_grad_f_prod )(void *instance, alpaqa_index_t timestep, const alpaqa_real_t *x, const alpaqa_real_t *u, const alpaqa_real_t *p, alpaqa_real_t *grad_fxu_p)
 
void(* eval_h )(void *instance, alpaqa_index_t timestep, const alpaqa_real_t *x, const alpaqa_real_t *u, alpaqa_real_t *h)
 
void(* eval_h_N )(void *instance, const alpaqa_real_t *x, alpaqa_real_t *h)
 
alpaqa_real_t(* eval_l )(void *instance, alpaqa_index_t timestep, const alpaqa_real_t *h)
 
alpaqa_real_t(* eval_l_N )(void *instance, const alpaqa_real_t *h)
 
void(* eval_qr )(void *instance, alpaqa_index_t timestep, const alpaqa_real_t *xu, const alpaqa_real_t *h, alpaqa_real_t *qr)
 
void(* eval_q_N )(void *instance, const alpaqa_real_t *x, const alpaqa_real_t *h, alpaqa_real_t *q)
 
void(* eval_add_Q )(void *instance, alpaqa_index_t timestep, const alpaqa_real_t *xu, const alpaqa_real_t *h, alpaqa_real_t *Q)
 
void(* eval_add_Q_N )(void *instance, const alpaqa_real_t *x, const alpaqa_real_t *h, alpaqa_real_t *Q)
 
void(* eval_add_R_masked )(void *instance, alpaqa_index_t timestep, const alpaqa_real_t *xu, const alpaqa_real_t *h, const alpaqa_index_t *mask, alpaqa_real_t *R, alpaqa_real_t *work)
 
void(* eval_add_S_masked )(void *instance, alpaqa_index_t timestep, const alpaqa_real_t *xu, const alpaqa_real_t *h, const alpaqa_index_t *mask, alpaqa_real_t *S, alpaqa_real_t *work)
 
void(* eval_add_R_prod_masked )(void *instance, alpaqa_index_t timestep, const alpaqa_real_t *xu, const alpaqa_real_t *h, const alpaqa_index_t *mask_J, const alpaqa_index_t *mask_K, const alpaqa_real_t *v, alpaqa_real_t *out, alpaqa_real_t *work)
 
void(* eval_add_S_prod_masked )(void *instance, alpaqa_index_t timestep, const alpaqa_real_t *xu, const alpaqa_real_t *h, const alpaqa_index_t *mask_K, const alpaqa_real_t *v, alpaqa_real_t *out, alpaqa_real_t *work)
 
alpaqa_length_t(* get_R_work_size )(void *instance)
 
alpaqa_length_t(* get_S_work_size )(void *instance)
 
void(* eval_constr )(void *instance, alpaqa_index_t timestep, const alpaqa_real_t *x, alpaqa_real_t *c)
 
void(* eval_constr_N )(void *instance, const alpaqa_real_t *x, alpaqa_real_t *c)
 
void(* eval_grad_constr_prod )(void *instance, alpaqa_index_t timestep, const alpaqa_real_t *x, const alpaqa_real_t *p, alpaqa_real_t *grad_cx_p)
 
void(* eval_grad_constr_prod_N )(void *instance, const alpaqa_real_t *x, const alpaqa_real_t *p, alpaqa_real_t *grad_cx_p)
 
void(* eval_add_gn_hess_constr )(void *instance, alpaqa_index_t timestep, const alpaqa_real_t *x, const alpaqa_real_t *M, alpaqa_real_t *out)
 
void(* eval_add_gn_hess_constr_N )(void *instance, const alpaqa_real_t *x, const alpaqa_real_t *M, alpaqa_real_t *out)
 

Member Data Documentation

◆ version

char version[16]

Definition at line 172 of file dl-problem.h.

◆ N

Definition at line 173 of file dl-problem.h.

◆ nx

Definition at line 173 of file dl-problem.h.

◆ nu

Definition at line 173 of file dl-problem.h.

◆ nh

Definition at line 173 of file dl-problem.h.

◆ nh_N

Definition at line 173 of file dl-problem.h.

◆ nc

Definition at line 173 of file dl-problem.h.

◆ nc_N

Definition at line 173 of file dl-problem.h.

◆ get_U

void(* get_U) (void *instance, alpaqa_real_t *lb, alpaqa_real_t *ub)

Definition at line 176 of file dl-problem.h.

◆ get_D

void(* get_D) (void *instance, alpaqa_real_t *lb, alpaqa_real_t *ub)

Definition at line 180 of file dl-problem.h.

◆ get_D_N

void(* get_D_N) (void *instance, alpaqa_real_t *lb, alpaqa_real_t *ub)

Definition at line 184 of file dl-problem.h.

◆ get_x_init

void(* get_x_init) (void *instance, alpaqa_real_t *x_init)

Definition at line 188 of file dl-problem.h.

◆ eval_f

void(* eval_f) (void *instance, alpaqa_index_t timestep, const alpaqa_real_t *x, const alpaqa_real_t *u, alpaqa_real_t *fxu)

Definition at line 191 of file dl-problem.h.

◆ eval_jac_f

void(* eval_jac_f) (void *instance, alpaqa_index_t timestep, const alpaqa_real_t *x, const alpaqa_real_t *u, alpaqa_real_t *J_fxu)

Definition at line 197 of file dl-problem.h.

◆ eval_grad_f_prod

void(* eval_grad_f_prod) (void *instance, alpaqa_index_t timestep, const alpaqa_real_t *x, const alpaqa_real_t *u, const alpaqa_real_t *p, alpaqa_real_t *grad_fxu_p)

Definition at line 203 of file dl-problem.h.

◆ eval_h

void(* eval_h) (void *instance, alpaqa_index_t timestep, const alpaqa_real_t *x, const alpaqa_real_t *u, alpaqa_real_t *h)

Definition at line 210 of file dl-problem.h.

◆ eval_h_N

void(* eval_h_N) (void *instance, const alpaqa_real_t *x, alpaqa_real_t *h)

Definition at line 216 of file dl-problem.h.

◆ eval_l

alpaqa_real_t(* eval_l) (void *instance, alpaqa_index_t timestep, const alpaqa_real_t *h)

Definition at line 220 of file dl-problem.h.

◆ eval_l_N

alpaqa_real_t(* eval_l_N) (void *instance, const alpaqa_real_t *h)

Definition at line 224 of file dl-problem.h.

◆ eval_qr

void(* eval_qr) (void *instance, alpaqa_index_t timestep, const alpaqa_real_t *xu, const alpaqa_real_t *h, alpaqa_real_t *qr)

Definition at line 227 of file dl-problem.h.

◆ eval_q_N

void(* eval_q_N) (void *instance, const alpaqa_real_t *x, const alpaqa_real_t *h, alpaqa_real_t *q)

Definition at line 233 of file dl-problem.h.

◆ eval_add_Q

void(* eval_add_Q) (void *instance, alpaqa_index_t timestep, const alpaqa_real_t *xu, const alpaqa_real_t *h, alpaqa_real_t *Q)

Definition at line 238 of file dl-problem.h.

◆ eval_add_Q_N

void(* eval_add_Q_N) (void *instance, const alpaqa_real_t *x, const alpaqa_real_t *h, alpaqa_real_t *Q)

Definition at line 244 of file dl-problem.h.

◆ eval_add_R_masked

void(* eval_add_R_masked) (void *instance, alpaqa_index_t timestep, const alpaqa_real_t *xu, const alpaqa_real_t *h, const alpaqa_index_t *mask, alpaqa_real_t *R, alpaqa_real_t *work)

Definition at line 249 of file dl-problem.h.

◆ eval_add_S_masked

void(* eval_add_S_masked) (void *instance, alpaqa_index_t timestep, const alpaqa_real_t *xu, const alpaqa_real_t *h, const alpaqa_index_t *mask, alpaqa_real_t *S, alpaqa_real_t *work)

Definition at line 257 of file dl-problem.h.

◆ eval_add_R_prod_masked

void(* eval_add_R_prod_masked) (void *instance, alpaqa_index_t timestep, const alpaqa_real_t *xu, const alpaqa_real_t *h, const alpaqa_index_t *mask_J, const alpaqa_index_t *mask_K, const alpaqa_real_t *v, alpaqa_real_t *out, alpaqa_real_t *work)

Definition at line 265 of file dl-problem.h.

◆ eval_add_S_prod_masked

void(* eval_add_S_prod_masked) (void *instance, alpaqa_index_t timestep, const alpaqa_real_t *xu, const alpaqa_real_t *h, const alpaqa_index_t *mask_K, const alpaqa_real_t *v, alpaqa_real_t *out, alpaqa_real_t *work)

Definition at line 275 of file dl-problem.h.

◆ get_R_work_size

alpaqa_length_t(* get_R_work_size) (void *instance)

Definition at line 284 of file dl-problem.h.

◆ get_S_work_size

alpaqa_length_t(* get_S_work_size) (void *instance)

Definition at line 286 of file dl-problem.h.

◆ eval_constr

void(* eval_constr) (void *instance, alpaqa_index_t timestep, const alpaqa_real_t *x, alpaqa_real_t *c)

Definition at line 288 of file dl-problem.h.

◆ eval_constr_N

void(* eval_constr_N) (void *instance, const alpaqa_real_t *x, alpaqa_real_t *c)

Definition at line 293 of file dl-problem.h.

◆ eval_grad_constr_prod

void(* eval_grad_constr_prod) (void *instance, alpaqa_index_t timestep, const alpaqa_real_t *x, const alpaqa_real_t *p, alpaqa_real_t *grad_cx_p)

Definition at line 297 of file dl-problem.h.

◆ eval_grad_constr_prod_N

void(* eval_grad_constr_prod_N) (void *instance, const alpaqa_real_t *x, const alpaqa_real_t *p, alpaqa_real_t *grad_cx_p)

Definition at line 303 of file dl-problem.h.

◆ eval_add_gn_hess_constr

void(* eval_add_gn_hess_constr) (void *instance, alpaqa_index_t timestep, const alpaqa_real_t *x, const alpaqa_real_t *M, alpaqa_real_t *out)

Definition at line 308 of file dl-problem.h.

◆ eval_add_gn_hess_constr_N

void(* eval_add_gn_hess_constr_N) (void *instance, const alpaqa_real_t *x, const alpaqa_real_t *M, alpaqa_real_t *out)

Definition at line 314 of file dl-problem.h.


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