alpaqa 1.0.0a15
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 381 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 382 of file dl-problem.h.

◆ nx

alpaqa_length_t nx { 0 }

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

◆ nu

alpaqa_length_t nu { 0 }

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

◆ nh

alpaqa_length_t nh { 0 }

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

◆ nh_N

alpaqa_length_t nh_N { 0 }

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

◆ nc

alpaqa_length_t nc { 0 }

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

◆ nc_N

alpaqa_length_t nc_N { 0 }

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

◆ get_U

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

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

◆ get_D

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

Definition at line 391 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 395 of file dl-problem.h.

◆ get_x_init

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

Definition at line 399 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 402 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 408 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 414 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 421 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 427 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 431 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 435 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 438 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 444 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 449 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 455 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 460 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 468 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 476 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 486 of file dl-problem.h.

◆ get_R_work_size

alpaqa_length_t(* get_R_work_size) (void *instance)
inline

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

◆ get_S_work_size

alpaqa_length_t(* get_S_work_size) (void *instance)
inline

Definition at line 497 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 499 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 504 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 508 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 514 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 519 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 525 of file dl-problem.h.


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