Optimizer Algorithm

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Jiang Ping
Posts: 132
Joined: Sun Aug 26, 2012 4:09 am

Optimizer Algorithm

Post by Jiang Ping » Tue Jul 02, 2013 5:20 am

Hi, all

I want to use CFSQP to perform a static optimization. I have the C source of
CFSQP and compiled it to a .dll file, but it doesn't work well for the following
error:

Successfully linked to CFSQP library 'osimCFSQP.dll'
initial pose solver:: optimization exception :
SimTK Exception thrown at Optimizer.h:94:
The base class OptimizerSystem dummy implementation of method constraintJacobian() was invoked because a derived class did not provide an implementation.

Any idea to apply CFSQP in OpenSim?

thanks,

User avatar
Vaughn Friesen
Posts: 3
Joined: Fri Jan 04, 2013 3:10 pm

Re: Optimizer Algorithm

Post by Vaughn Friesen » Wed Jul 03, 2013 1:45 pm

If you aren't overriding the constraintJacobian function in your optimizer system you have to call useNumericalJacobian(true).

POST REPLY