Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TobiaMarcucci/pympc
/ types & classes
Types & classes
26 in github.com/TobiaMarcucci/pympc
⨍
Functions
198
◇
Types & classes
26
↓ 34 callers
Class
Polyhedron
Polyhedron in the form {x in R^n | A x <= b, C x = d}.
pympc/geometry/polyhedron.py:15
↓ 11 callers
Class
AffineSystem
Discrete-time affine systems in the form x(t+1) = A x(t) + B u(t) + c.
pympc/dynamics/discrete_time_systems.py:285
↓ 6 callers
Class
LinearSystem
Discrete-time linear systems in the form x(t+1) = A x(t) + B u(t).
pympc/dynamics/discrete_time_systems.py:12
↓ 6 callers
Class
PieceWiseAffineSystem
Discrete-time piecewise-affine systems in the form x(t+1) = A_i x(t) + B_i u(t) + c_i if (x(t), u(t)) in D_i := {(x,u) | F_i x + G_i u <= h_i}.
pympc/dynamics/discrete_time_systems.py:434
↓ 3 callers
Class
ModelPredictiveController
Model predictive controller for linear systems, it solves the optimal control problem V*(x(0)) := min_{x(.), u(.)} 1/2 sum_{t=0}^{N-1} x'(t)
pympc/control/controllers.py:11
↓ 2 callers
Class
MultiParametricQuadraticProgram
mpQP in the form |u|' |Huu Hux| |u| |fu|' |u| V(x) := min_u 1/2 |x| |Hux' Hxx| |x| + |fx| |x| + g s.t
pympc/optimization/parametric_programs.py:10
↓ 1 callers
Class
CriticalRegion
Critical Region (CR) of a multi-parametric quadratic program. A CR is the region of space where a fixed active set is optimal.
pympc/optimization/parametric_programs.py:262
↓ 1 callers
Class
ExplicitSolution
Explicit solution of a multiparametric quadratic program.
pympc/optimization/parametric_programs.py:426
↓ 1 callers
Class
HybridModelPredictiveController
pympc/control/controllers.py:252
↓ 1 callers
Class
HybridModelPredictiveController
examples/pwa_from_urdf/utils.py:239
↓ 1 callers
Class
MultiParametricMixedIntegerQuadraticProgram
Multiparametric Mixed Integer Quadratic Program (mpMIQP) in the form that comes out from the MPC problem for a piecewise affine system, i.e.
pympc/optimization/parametric_programs.py:534
Class
Controller
Wrapper for the HybridModelPredictiveController class from pympc.
examples/pwa_from_urdf/utils.py:208
Class
TestAffineSystem
pympc/test/test_dynamics/test_discrete_time_systems.py:178
Class
TestDiscretizationMethods
pympc/test/test_dynamics/test_discretization_methods.py:8
Class
TestLinearSystem
pympc/test/test_dynamics/test_discrete_time_systems.py:10
Class
TestMCAIS
pympc/test/test_dynamics/test_discrete_time_systems.py:418
Class
TestMultiParametricQuadraticProgram
These are just some very basic tests. The class MultiParametricQuadraticProgram is further tested with the ModelPredictiveController class.
pympc/test/test_optimization/test_parametric_programs.py:9
Class
TestOrthogonalProjection
pympc/test/test_geometry/test_polyhedron.py:844
Class
TestPieceWiseAffineSystem
pympc/test/test_dynamics/test_discrete_time_systems.py:277
Class
TestPolyhedron
pympc/test/test_geometry/test_polyhedron.py:13
Class
TestPrograms
This tests only if the solvers are called correctly,. More tests on the correctness of the results can be fuond in test_solvers.py.
pympc/test/test_optimization/test_programs.py:8
Class
TestSolvers
pympc/test/test_optimization/test_solvers.py:10
Class
TestUtils
pympc/test/test_dynamics/test_utils.py:8
Class
TestUtils
pympc/test/test_geometry/test_utils.py:10
Class
testHybridModelPredictiveController
pympc/test/test_control/test_controllers.py:165
Class
testModelPredictiveController
pympc/test/test_control/test_controllers.py:11