MocoCasADiSolver is not available

OpenSim Moco is a software toolkit to solve optimal control problems with musculoskeletal models defined in OpenSim using the direct collocation method.
User avatar
Aaron Fox
Posts: 284
Joined: Sun Aug 06, 2017 10:54 pm

Re: MocoCasADiSolver is not available

Post by Aaron Fox » Wed Jun 26, 2024 5:34 pm

Thanks Nick.

I'll give it a test run and see how it goes.

Aaron

User avatar
Bryan Kirking
Posts: 3
Joined: Mon Jul 29, 2013 2:09 pm

Re: MocoCasADiSolver is not available

Post by Bryan Kirking » Tue Aug 13, 2024 12:56 pm

Just went through this and this is how i installed on windows with conda version 23.11

Use conda to make your python environment
conda create -n opensim_scripting python=3.11 numpy

activate the environment
conda activate opensim_scripting

install opensim-moco (DO NOT install opensim)
conda install -c opensim-org opensim-moco

If you are using pycharm, add the interpreter as an existing environment, mine was installed to:
C:\Users\USERNAME\.conda\envs\opensim_scripting\python.exe (USERNAME is my login username)

POST REPLY