Python API Reference¶
This section is generated directly from the ssqpy bindings' docstrings (via
mkdocstrings), so it always reflects the module as built. It documents the
Python surface only; see the C++ API Reference for the corresponding C++ API, and
Concepts for a guided, prose explanation of how the pieces fit together.
ssqpy: the top-level module, covering log levelsssqpy.model:Model,SolverMode,Integration,Dimensionsssqpy.model.costs:StageCostand predefined costsssqpy.model.constraints:StageConstraintsand predefined constraintsssqpy.model.dynamics:StageDynamicsssqpy.model.terrain:Terrain,FlatTerrainssqpy.solvers:ssqp,MPC,ssqpParams,admmParams,hpipmParams,piqpParams,FlatVec, convergence datassqpy.solvers.search: dynamics and hyperparameter search
Note
Custom subclasses (of StageCost, StageDynamics, StageConstraints or Terrain) that you write in Python
only need to implement the abstract methods described on each base class's page. See the
Concepts pages for the full contract.