Skip to content

Getting Started

This section is the fastest path to installing affine_mpc and running a first example.

First Steps

  1. Choose an interface:
    • Python for experimentation, analysis, plotting, notebooks, and teaching workflows
    • C++ for native integration, tighter runtime control, and lower-overhead deployment
  2. Follow that page to install the library and run the first example.
  3. Confirm that the example runs successfully and writes its expected logs.

After Your First Run

  • Read Concepts to understand the supported problem class and mathematical structure.
  • Read Usage to learn the normal API workflow.
  • Read Examples for more detail on the mass-spring-damper walkthrough.
  • Read Logging to inspect saved outputs and prediction logs.

Contributing

If you want to contribute to the project itself, see Development.