Custom Static Optimization in MATLAB
Posted: Thu Sep 10, 2020 7:28 am
Hi,
Has anybody performed static optimisation via MATLAB using the CustomStaticOptimization.m file given in the Advanced Examples? I have managed to complete all the tasks but the optimiser was not able to reach a feasible solution, despite increasing or decreasing the options appropriately. Instead of focusing on the example model, I am using 'Thoracoscapular Model' with 17 coordinates.
To check if my optimiser is giving out the correct solution, I carried out static optimisation on a simple arm model 'Arm26', and obtained successful optimisation. The muscle forces were also similar as those when optimised via OpenSIM. This indicates that my MATLAB script can optimise correctly. The SO for 'Arm26' has only 2 constraints, based on 2 coordinates.
I don't see what could go wrong with the Thoracoscapular Model, other than having more constraints from the 17 coordinates. I have also tried a joint-by-joint method, in which I constraint the optimisation to only 1 joint at a time. It seems that the optimisation worked for certain joints only but I can't figure out why.
I hope you can help me with this matter
Thanks,
Hazimah
Has anybody performed static optimisation via MATLAB using the CustomStaticOptimization.m file given in the Advanced Examples? I have managed to complete all the tasks but the optimiser was not able to reach a feasible solution, despite increasing or decreasing the options appropriately. Instead of focusing on the example model, I am using 'Thoracoscapular Model' with 17 coordinates.
To check if my optimiser is giving out the correct solution, I carried out static optimisation on a simple arm model 'Arm26', and obtained successful optimisation. The muscle forces were also similar as those when optimised via OpenSIM. This indicates that my MATLAB script can optimise correctly. The SO for 'Arm26' has only 2 constraints, based on 2 coordinates.
I don't see what could go wrong with the Thoracoscapular Model, other than having more constraints from the 17 coordinates. I have also tried a joint-by-joint method, in which I constraint the optimisation to only 1 joint at a time. It seems that the optimisation worked for certain joints only but I can't figure out why.
I hope you can help me with this matter
Thanks,
Hazimah