Implementation of Static Optimization
Posted: Mon Nov 25, 2013 7:07 am
Hi all,
I would like to perform an optimization with the OpenSim model using the API, preferably through MATLAB. However, I could not find out how I get all the necessary data from the model.
My thought was to start from the Static Optimization from the Analysis Tool but I cannot find its implementation file. I can find the header files but I would like to get a clear view of how to get the system parameters necessary for:
- contstraintFunc
- objectiveFunc (in Analyse Tool, the computation of muscle activations squared)
- gradientFunc
- constraintJacobian
These functions should be described somewhere for the Static Optimization Tool as well but I can't find them in any file.
I realize that this might, in its fundamentals, be more of a SimTK problem but since it is used in OpenSim and my application would be for use with/in OpenSim I decided to post it here.
Basically:
Where I can find the implementation files for the Static Optimization(Not the two header files) such that I can create my own Optimization (Tool) where I have additional/different optimization variables and constraints. Hints on how to access the system properties necessary for Optimization are also welcome.
Best regards,
Erik
I would like to perform an optimization with the OpenSim model using the API, preferably through MATLAB. However, I could not find out how I get all the necessary data from the model.
My thought was to start from the Static Optimization from the Analysis Tool but I cannot find its implementation file. I can find the header files but I would like to get a clear view of how to get the system parameters necessary for:
- contstraintFunc
- objectiveFunc (in Analyse Tool, the computation of muscle activations squared)
- gradientFunc
- constraintJacobian
These functions should be described somewhere for the Static Optimization Tool as well but I can't find them in any file.
I realize that this might, in its fundamentals, be more of a SimTK problem but since it is used in OpenSim and my application would be for use with/in OpenSim I decided to post it here.
Basically:
Where I can find the implementation files for the Static Optimization(Not the two header files) such that I can create my own Optimization (Tool) where I have additional/different optimization variables and constraints. Hints on how to access the system properties necessary for Optimization are also welcome.
Best regards,
Erik