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

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

Detailed Description

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

+ Collaboration diagram for alpaqa_control_problem_functions_t:

Public Attributes

alpaqa_length_t N { 0 }
 
alpaqa_length_t nx { 0 }
 
alpaqa_length_t nu { 0 }
 
alpaqa_length_t nh { 0 }
 
alpaqa_length_t nh_N { 0 }
 
alpaqa_length_t nc { 0 }
 
alpaqa_length_t nc_N { 0 }
 
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

◆ N

alpaqa_length_t N { 0 }

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

◆ nx

alpaqa_length_t nx { 0 }

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

◆ nu

alpaqa_length_t nu { 0 }

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

◆ nh

alpaqa_length_t nh { 0 }

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

◆ nh_N

alpaqa_length_t nh_N { 0 }

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

◆ nc

alpaqa_length_t nc { 0 }

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

◆ nc_N

alpaqa_length_t nc_N { 0 }

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

◆ get_U

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

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

◆ get_D

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

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

◆ get_D_N

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

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

◆ get_x_init

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

Definition at line 274 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)
inline

Definition at line 277 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)
inline

Definition at line 283 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)
inline

Definition at line 289 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)
inline

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

◆ eval_h_N

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

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

◆ eval_l

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

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

◆ eval_l_N

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

Definition at line 310 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)
inline

Definition at line 313 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)
inline

Definition at line 319 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)
inline

Definition at line 324 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)
inline

Definition at line 330 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)
inline

Definition at line 335 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)
inline

Definition at line 343 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)
inline

Definition at line 351 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)
inline

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

◆ get_R_work_size

alpaqa_length_t(* get_R_work_size) (void *instance)
inline

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

◆ get_S_work_size

alpaqa_length_t(* get_S_work_size) (void *instance)
inline

Definition at line 372 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)
inline

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

◆ eval_constr_N

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

Definition at line 379 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)
inline

Definition at line 383 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)
inline

Definition at line 389 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)
inline

Definition at line 394 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)
inline

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


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