alpaqa 1.0.0a19
Nonconvex constrained optimization
Loading...
Searching...
No Matches
CompleteCasADiProblem.hpp
Go to the documentation of this file.
1#include <alpaqa/casadi-loader-export.h>
4
5namespace alpaqa {
7namespace casadi_loader {
8
9/// Convert the map of strings to a map of CasADi functions.
10CasADiFunctions CASADI_LOADER_EXPORT
11deserialize_problem(const SerializedCasADiFunctions &functions);
12
13/// Complete the given problem that contains only functions f and g, adding the
14/// necessary functions and gradients so that it can be used with
15/// @ref CasADiProblem.
16void CASADI_LOADER_EXPORT complete_problem(CasADiFunctions &functions);
17
18} // namespace casadi_loader
20} // namespace alpaqa
#define BEGIN_ALPAQA_CASADI_LOADER_NAMESPACE
#define END_ALPAQA_CASADI_LOADER_NAMESPACE
CasADiFunctions deserialize_problem(const SerializedCasADiFunctions &functions)
Convert the map of strings to a map of CasADi functions.
void complete_problem(CasADiFunctions &functions)
Complete the given problem that contains only functions f and g, adding the necessary functions and g...
constexpr const auto inf
Definition config.hpp:112