alpaqa 0.0.1
Nonconvex constrained optimization
Classes | Namespaces | Typedefs | Functions | Variables
CasADiLoader.cpp File Reference
#include <alpaqa/interop/casadi/CasADiFunctionWrapper.hpp>
#include <alpaqa/interop/casadi/CasADiLoader.hpp>
#include <casadi/core/external.hpp>
#include <memory>
#include <optional>
#include <stdexcept>
+ Include dependency graph for CasADiLoader.cpp:

Go to the source code of this file.

Classes

class  CasADiParamWrapper
 
struct  CasADiParamWrapper::Functions
 

Namespaces

namespace  alpaqa
 

Typedefs

using dim = std::pair< casadi_int, casadi_int >
 

Functions

template<class F >
auto wrap_load (const std::string &so_name, const char *name, F f)
 
template<class T , class... Args>
auto wrapped_load (const std::string &so_name, const char *name, Args &&...args)
 
alpaqa::Problem load_CasADi_problem (const std::string &filename, unsigned n=0, unsigned m=0, bool second_order=false)
 Load a problem generated by CasADi (without parameters). More...
 
ProblemWithParam load_CasADi_problem_with_param (const std::string &filename, unsigned n=0, unsigned m=0, unsigned p=0, bool second_order=false)
 Load a problem generated by CasADi (with parameters). More...
 

Variables

constexpr static auto dims
 

Class Documentation

◆ alpaqa::CasADiParamWrapper::Functions

struct alpaqa::CasADiParamWrapper::Functions
+ Collaboration diagram for CasADiParamWrapper::Functions:
Class Members
CasADiFun_2Vi1So f
CasADiFun_2Vi1Vo grad_f
CasADiFun_2Vi1Vo g
CasADiFun_3Vi1Vo grad_g_prod
optional< CasADiFun_3Vi1Mo > hess_L
optional< CasADiFun_4Vi1Vo > hess_L_prod