cyqlone develop
Fast, parallel and vectorized solver for linear systems with optimal control structure.
Loading...
Searching...
No Matches
cyqlone::OCPDim Struct Reference

#include <cyqlone/ocp.hpp>

Detailed Description

Dimensions of an optimal control problem.

Definition at line 16 of file ocp.hpp.

Public Attributes

index_t N_horiz
 Horizon length (one less than the number of stages).
index_t nx
 Number of state variables.
index_t nu
 Number of input variables.
index_t ny
 Number of output variables.
index_t ny_N = ny
 Number of output variables in the last stage.

Friends

constexpr bool operator== (OCPDim, OCPDim)=default
constexpr bool operator!= (OCPDim, OCPDim)=default

◆ operator==

bool operator== ( OCPDim ,
OCPDim  )
friend

◆ operator!=

bool operator!= ( OCPDim ,
OCPDim  )
friend

Member Data Documentation

◆ N_horiz

index_t cyqlone::OCPDim::N_horiz

Horizon length (one less than the number of stages).

Definition at line 17 of file ocp.hpp.

◆ nx

index_t cyqlone::OCPDim::nx

Number of state variables.

Definition at line 18 of file ocp.hpp.

◆ nu

index_t cyqlone::OCPDim::nu

Number of input variables.

Definition at line 19 of file ocp.hpp.

◆ ny

index_t cyqlone::OCPDim::ny

Number of output variables.

Definition at line 20 of file ocp.hpp.

◆ ny_N

index_t cyqlone::OCPDim::ny_N = ny

Number of output variables in the last stage.

Definition at line 21 of file ocp.hpp.


The documentation for this struct was generated from the following file:
  • src/cyqlone/include/cyqlone/ocp.hpp