When I use the self-built model for static optimization calculation, the problem of matrix singularity always occurs. If the mac version is used, static optimization fails, and all data in the output file is 0. What usually goes wrong?
Error code
Win
Error detected by Simbody method lapackInverse (llat<)): latrix is singular so can't be inverted (apack getrf info=1)
Mac
StaticOptimization.record: The optimizer could not find a solution at time = 0.342time =0.342 Performance =0.0 Constraint violation =-nanSimTK Exception thrown at InteriorPointOptimizer.cpp:264:Optimizer failed: lpopt: Unrecoverable exception (status -100)OPTIMIZATION FAILED...
Static Optimization
- Mohammadreza Rezaie
- Posts: 412
- Joined: Fri Nov 24, 2017 12:48 am
Re: Static Optimization
Hi, perhaps there is zero mass body in your model.
- zhizheng hu
- Posts: 4
- Joined: Mon Jun 19, 2023 12:21 am
- Mohammadreza Rezaie
- Posts: 412
- Joined: Fri Nov 24, 2017 12:48 am
Re: Static Optimization
So, make sure that every free coordinate is actuated by muscles and/or a CoordinateActuator.
- zhizheng hu
- Posts: 4
- Joined: Mon Jun 19, 2023 12:21 am