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

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

Detailed Description

Note
When used in C, you should initialize this struct by passing a pointer to your instance to the ALPAQA_PROBLEM_REGISTER_INIT macro. In C++, this is not necessary, because all members have default initializers.

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

+ Collaboration diagram for alpaqa_control_problem_register_t:

Public Attributes

uint64_t abi_version { 0xA1A000000001 }
 To check whether the loaded problem is compatible with the version of the solver.
 
void * instance { nullptr }
 Owning pointer.
 
alpaqa_control_problem_functions_tfunctions { nullptr }
 Non-owning pointer, lifetime at least as long as instance.
 
void(* cleanup )(void *)
 Pointer to the function to clean up instance.
 
alpaqa_function_dict_textra_functions { nullptr }
 Pointer to a map of extra functions (C++ only).
 
exception {
}; 
 Pointer to an exception that ocurred during problem creation.
 

Member Data Documentation

◆ abi_version

uint64_t abi_version { 0xA1A000000001 }

To check whether the loaded problem is compatible with the version of the solver.

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

◆ instance

void* instance { nullptr }

Owning pointer.

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

◆ functions

alpaqa_control_problem_functions_t* functions { nullptr }

Non-owning pointer, lifetime at least as long as instance.

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

◆ cleanup

void(* cleanup) (void *)
inline

Pointer to the function to clean up instance.

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

◆ extra_functions

alpaqa_function_dict_t* extra_functions { nullptr }

Pointer to a map of extra functions (C++ only).

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

◆ 

alpaqa_exception_ptr_t* exception { ... } @3

Pointer to an exception that ocurred during problem creation.


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