How to Use VO
Check that you have all the necessary inputs
OpenSim Model
You will need to have a scaled, post-JMP OpenSim model.
NMSM Pipeline Model File (Optional)
If you included an .osimx file in your TO run, it should also be included in your VO run.
VO Results
Both your initial guess and tracked quantities directories should be your VO results directory. You do not need to change anything inside your VO results for DO to work.
Create your XML settings file and modify necessary parameters
You can create a DO settings file using the NMSM Pipeline GUI plugin in OpenSim. Alternatively, you may copy your VO settings file, change the outside xml headers to say DesignOptimizationTool instead of VerificationOptimizationTool, and then change the relevant fields.
Create your MATLAB file to run DO
You may now create a MATLAB script to run DO. This file should call the function DesignOptimizationTool("settingsFileName.xml")
Make sure the nmsm-core project is running in MATLAB
If it is not already running, double click on ‘Project.prj’ in the root of the nmsm-core folder to open it up.
Press run in MATLAB
Analyze your results
It is very rare for your first DO result to look exactly like you want it to. There are a many constraints that can be added to drive the solution into the direction that you want. You might also want to add more cost terms, but generally DO runs do not use many cost terms, and GPOPS-II works well with adding constraint terms instead of cost terms.