Hi from Japan.
I use RajagopalModel for MocoStudy.
When study.solve() works , this error occurs.
Java exception occurred:
java.lang.RuntimeException: casVector should be 1-dimensional, but has size 0 x 0.
Thrown at MocoCasOCProblem.h:108 in convertToSimTKVector().
at org.opensim.modeling.opensimMocoJNI.MocoStudy_solve(Native Method)
at org.opensim.modeling.MocoStudy.solve(MocoStudy.java:282)
I can't understand why solver can not solve this problem.
Solver Error
- Nicholas Bianco
- Posts: 1043
- Joined: Thu Oct 04, 2012 8:09 pm
Re: Solver Error
Hi Sakamo,
That error usually occurs when the optimizer struggles with the problem initial guess. Are you using the default initial guess or providing your own? Some general details about your problem would be helpful too.
Best,
Nick
That error usually occurs when the optimizer struggles with the problem initial guess. Are you using the default initial guess or providing your own? Some general details about your problem would be helpful too.
Best,
Nick