Algorithmic differentiation (AD) is an alternative to finite differences (FD) for evaluating function derivatives. The primary aim of this study was to demonstrate the computational benefits of using AD instead of FD in OpenSim-based trajectory optimization of human movement. The secondary aim was to evaluate computational choices including different AD tools, different linear solvers, and the use of first- or second-order derivatives. First, we enabled the use of AD in OpenSim through a custom source code transformation tool and through the operator overloading tool ADOL-C. Second, we developed an interface between OpenSim and CasADi to solve trajectory optimization problems. Third, we evaluated computational choices through simulations of perturbed balance, two-dimensional predictive simulations of walking, and three-dimensional tracking simulations of walking. We performed all simulations using direct collocation and implicit differential equations. Using AD through our custom tool was between 1.8 +/- 0.1 and 17.8 +/- 4.9 times faster than using FD, and between 3.6 +/- 0.3 and 12.3 +/- 1.3 times faster than using AD through ADOL-C. The linear solver efficiency was problem-dependent and no solver was consistently more efficient. Using second-order derivatives was more efficient for balance simulations but less efficient for walking simulations. The walking simulations were physiologically realistic. These results highlight how the use of AD drastically decreases computational time of trajectory optimization problems as compared to more common FD. Overall, combining AD with direct collocation and implicit differential equations decreases the computational burden of trajectory optimization of human movement, which will facilitate their use for biomechanical applications requiring the use of detailed models of the musculoskeletal system.
机构:
Northeastern Univ, Minist Educ Safe Min Deep Met Mines, Key Lab, Shenyang 110819, Peoples R China
Northeastern Univ, Intelligent Mine Res Ctr, Shenyang 110819, Peoples R ChinaNortheastern Univ, Minist Educ Safe Min Deep Met Mines, Key Lab, Shenyang 110819, Peoples R China
Yu, Jianyang
Liu, Xiaobo
论文数: 0引用数: 0
h-index: 0
机构:
Northeastern Univ, Intelligent Mine Res Ctr, Shenyang 110819, Peoples R China
Univ Sci & Technol Beijing, Civil & Environm Engn Sch, Beijing 100083, Peoples R ChinaNortheastern Univ, Minist Educ Safe Min Deep Met Mines, Key Lab, Shenyang 110819, Peoples R China
Liu, Xiaobo
Wang, Liancheng
论文数: 0引用数: 0
h-index: 0
机构:
Northeastern Univ, Intelligent Mine Res Ctr, Shenyang 110819, Peoples R ChinaNortheastern Univ, Minist Educ Safe Min Deep Met Mines, Key Lab, Shenyang 110819, Peoples R China
Wang, Liancheng
Wu, Hao
论文数: 0引用数: 0
h-index: 0
机构:
Northeastern Univ, Intelligent Mine Res Ctr, Shenyang 110819, Peoples R ChinaNortheastern Univ, Minist Educ Safe Min Deep Met Mines, Key Lab, Shenyang 110819, Peoples R China
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Bone, William P.
Washington, Nicole L.
论文数: 0引用数: 0
h-index: 0
机构:
Univ Calif Berkeley, Lawrence Berkeley Natl Lab, Genom Div, Berkeley, CA 94720 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Washington, Nicole L.
Buske, Orion J.
论文数: 0引用数: 0
h-index: 0
机构:
Hosp Sick Children, Ctr Computat Med, 555 Univ Ave, Toronto, ON M5G 1X8, Canada
Univ Toronto, Dept Comp Sci, Toronto, ON, CanadaNIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Buske, Orion J.
Adams, David R.
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Adams, David R.
Davis, Joie
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Davis, Joie
Draper, David
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
NHGRI, Med Genet Branch, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Draper, David
Flynn, Elise D.
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Flynn, Elise D.
Girdea, Marta
论文数: 0引用数: 0
h-index: 0
机构:
Hosp Sick Children, Ctr Computat Med, 555 Univ Ave, Toronto, ON M5G 1X8, Canada
Univ Toronto, Dept Comp Sci, Toronto, ON, CanadaNIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Girdea, Marta
Godfrey, Rena
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Godfrey, Rena
Golas, Gretchen
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Golas, Gretchen
Groden, Catherine
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Groden, Catherine
Jacobsen, Julius
论文数: 0引用数: 0
h-index: 0
机构:
Wellcome Trust Sanger Inst, Skarnes Fac Grp, Hinxton, EnglandNIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Jacobsen, Julius
Koehler, Sebastian
论文数: 0引用数: 0
h-index: 0
机构:
Charite, Inst Med Genet & Human Genet, D-13353 Berlin, GermanyNIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Koehler, Sebastian
Lee, Elizabeth M. J.
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Lee, Elizabeth M. J.
Links, Amanda E.
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Links, Amanda E.
Markello, Thomas C.
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Markello, Thomas C.
Mungall, Christopher J.
论文数: 0引用数: 0
h-index: 0
机构:
Univ Calif Berkeley, Lawrence Berkeley Natl Lab, Genom Div, Berkeley, CA 94720 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Mungall, Christopher J.
Nehrebecky, Michele
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Nehrebecky, Michele
Robinson, Peter N.
论文数: 0引用数: 0
h-index: 0
机构:
Charite, Inst Med Genet & Human Genet, D-13353 Berlin, GermanyNIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Robinson, Peter N.
Sincan, Murat
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Sincan, Murat
Soldatos, Ariane G.
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Soldatos, Ariane G.
Tifft, Cynthia J.
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
NHGRI, Med Genet Branch, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Tifft, Cynthia J.
Toro, Camilo
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Toro, Camilo
Trang, Heather
论文数: 0引用数: 0
h-index: 0
机构:
Hosp Sick Children, Ctr Computat Med, 555 Univ Ave, Toronto, ON M5G 1X8, Canada
Univ Toronto, Dept Comp Sci, Toronto, ON, CanadaNIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Trang, Heather
Valkanas, Elise
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Valkanas, Elise
Vasilevsky, Nicole
论文数: 0引用数: 0
h-index: 0
机构:
Oregon Hlth & Sci Univ, Lib, Portland, OR 97201 USA
Oregon Hlth & Sci Univ, Dept Med Informat & Epidemiol, Portland, OR 97201 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Vasilevsky, Nicole
Wahl, Colleen
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Wahl, Colleen
Wolfe, Lynne A.
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Wolfe, Lynne A.
Boerkoel, Cornelius F.
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Boerkoel, Cornelius F.
Brudno, Michael
论文数: 0引用数: 0
h-index: 0
机构:
Hosp Sick Children, Ctr Computat Med, 555 Univ Ave, Toronto, ON M5G 1X8, Canada
Univ Toronto, Dept Comp Sci, Toronto, ON, CanadaNIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Brudno, Michael
Haendel, Melissa A.
论文数: 0引用数: 0
h-index: 0
机构:
Oregon Hlth & Sci Univ, Lib, Portland, OR 97201 USA
Oregon Hlth & Sci Univ, Dept Med Informat & Epidemiol, Portland, OR 97201 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Haendel, Melissa A.
Gahl, William A.
论文数: 0引用数: 0
h-index: 0
机构:
NIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
NHGRI, Med Genet Branch, Bethesda, MD 20892 USANIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
Gahl, William A.
Smedley, Damian
论文数: 0引用数: 0
h-index: 0
机构:
Wellcome Trust Sanger Inst, Skarnes Fac Grp, Hinxton, EnglandNIH, Undiagnosed Dis Program, Common Fund, Off Director, Bldg 10, Bethesda, MD 20892 USA
机构:
Univ Calif Berkeley, Sch Informat, Berkeley, CA 94720 USA
Cornell Univ, Data Sci, Ithaca, NY 14850 USAUniv Calif Berkeley, Sch Informat, Berkeley, CA 94720 USA