Static Optimization
Posted: Wed Feb 28, 2024 12:40 am
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...
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...