|
| | BirkhoffPseudospectral (Opti &opti) |
| | Construct with a reference to the optimization environment.
|
| std::tuple< SymbolicMatrix, SymbolicMatrix, NumericVector > | setup (int n_states, int n_controls, double t0, double tf, const BirkhoffPseudospectralOptions &opts={}) |
| | Set up the Birkhoff problem with fixed final time.
|
| std::tuple< SymbolicMatrix, SymbolicMatrix, NumericVector > | setup (int n_states, int n_controls, double t0, const SymbolicScalar &tf, const BirkhoffPseudospectralOptions &opts={}) |
| | Set up the Birkhoff problem with variable final time.
|
| const NumericMatrix & | integration_matrix () const |
| | Get the Birkhoff integration matrix.
|
| const NumericVector & | quadrature_weights () const |
| | Get the Birkhoff quadrature weights.
|
| const SymbolicMatrix & | virtual_vars () const |
| | Get the virtual (derivative) decision variables.
|
| SymbolicScalar | quadrature (const SymbolicVector &integrand) const |
| | Compute quadrature of an integrand over the time domain.
|
| | TranscriptionBase (Opti &opti) |
| | Construct with a reference to the optimization environment.
|
| void | set_initial_state (const NumericVector &x0) |
| | Pin all initial states to specified values.
|
| void | set_final_state (const NumericVector &xf) |
| | Pin all final states to specified values.
|
| void | set_dynamics (Func &&dynamics) |
| | Register the dynamics function xdot = f(x, u, t).
|
| const SymbolicMatrix & | states () const |
| | Get the state decision variable matrix.
|
| const SymbolicMatrix & | controls () const |
| | Get the control decision variable matrix.
|
| const NumericVector & | time_grid () const |
| | Get the normalized time grid.
|
| int | n_nodes () const |
| | Get the number of discretization nodes.
|
| int | n_states () const |
| | Get the number of state variables per node.
|
| int | n_controls () const |
| | Get the number of control variables per node.
|
| void | add_dynamics_constraints () |
| | Add dynamics constraints to the optimization problem.
|
| void | add_defect_constraints () |
| | Alias for add_dynamics_constraints().
|
| void | add_continuity_constraints () |
| | Alias for add_dynamics_constraints().
|
Birkhoff pseudospectral transcription.
Uses integration-based (Birkhoff) formulation instead of differentiation.
- See also
- TranscriptionBase for shared interface
-
BirkhoffPseudospectralOptions for configuration
-
Pseudospectral for standard pseudospectral variant