bioRxivBioengineering
Bioptim, a Python framework for Musculoskeletal Optimal Control in Biomechanics
B. Michaud, F. Bailly, E. Charbonneau, A. Ceglia, L. Sanchez, M. Begon
Abstract
Musculoskeletal simulations are useful in biomechanics to investigate the causes of movement disorder, to estimate non-measurable physiological quantities or to study the optimality of human movement. We introduce Bioptim, an easy-to-use Python framework for biomechanical optimal control, handling musculoskeletal models. Relying on algorithmic differentiation and the multiple shooting formulation, Bioptim interfaces nonlinear solvers to quickly provide dynamically consistent optimal solutions. The software is both computationally efficient (C++ core) and easily customizable, thanks to its Python interface. It allows to quickly define a variety of biomechanical problems such as motion tracking/prediction, muscle-driven simulations, parameters optimization, multiphase problems, etc. It is also intended for real-time applications such as moving horizon estimation and model predictive control. Six contrasting examples are presented, comprising various models, dynamics, objective functions and constraints. They include data-driven simulations (i.e., a multiphase muscle driven gait cycle and an upper-limb real-time moving horizon estimation of muscle forces) and predictive simulations (i.e., a muscle-driven pointing task, a twisting somersault with a quaternion-based model, a position controller using external forces, and a multiphase torque-driven maximum-height jump motion).
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- OpenSim Moco: Musculoskeletal optimal control
C. L. Dembia, N. A. Bianco, … S. L. Delp·bioRxiv·Nov 12, 2019
- Predictive simulation of human movement in OpenSim using floating-base task space control
N. T. Pickle, A. Sundararajan·bioRxiv·Feb 13, 2024
- MyoBack: A Musculoskeletal Model of the Human Back with Integrated Exoskeleton
Rohan Walia, Morgane Billot, … Guillaume Durandau·International Conference on Rehabilitation RoboticsPeer-reviewed·May 12, 2025
- Change the direction: 3D optimal control simulation by directly tracking marker and ground reaction force data
M. Nitschke, R. Marzilger, … A. D. Koelewijn·bioRxiv·Aug 2, 2022
- Algorithmic differentiation improves the computational efficiency of OpenSim-based optimal control simulations of movement
A. Falisse, G. Serrancoli, … F. De Groote·bioRxiv·May 21, 2019
- An approximate stochastic optimal control framework to simulate nonlinear neuromusculoskeletal models in the presence of noise
Tom Van Wouwe, Lena H. Ting, Friedl De Groote·PLoS Computational BiologyPeer-reviewed·Jun 8, 2022