CFSQP and IPOPT

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
yuma ieshiro
Posts: 7
Joined: Thu May 12, 2011 11:26 pm

CFSQP and IPOPT

Post by yuma ieshiro » Tue Aug 13, 2013 1:20 am

Hi All,

I am going to understand OpenSim from a viewpoint of the C language.

In CMC or RRA, I studied that OpenSim used the CFSQP or the IPOPT. In the C language, how is the change of those optimization problems in OpenSim when a dynamics simulation? Although the source code was downloaded and the code was investigated, I was not able to understand it.

Can you please tell me?

Best regards,
Yuma

User avatar
Stephen Riutta
Posts: 20
Joined: Wed May 23, 2012 3:55 pm

Re: CFSQP and IPOPT

Post by Stephen Riutta » Tue Aug 13, 2013 9:24 am

Hi Yuma,

IPOPT is OpenSim's built-in optimizer. CFSQP is a different optimizer that must be obtained separately from another source. Past links to it seem to have expired, so I don't know where it can be obtained from.

Hope that helps,

Stephen

User avatar
Ayman Habib
Posts: 2238
Joined: Fri Apr 01, 2005 12:24 pm

Re: CFSQP and IPOPT

Post by Ayman Habib » Tue Aug 13, 2013 11:48 am

Hi Yuma,

OpenSim formulates an optimization problem to solve the redundancy of muscles and actuators at each time frame (possibly re-using model state to maintain continuity). The two optimizers you mentioned can be used to solve the same problem. IP-OPT is open source and is included with OpenSim/simbody as Stephen mentioned, while CFSQP is a third party package that has its own license but can be used if installed.
The following page describes the various optimizers available and the differences between them.
http://simtk-confluence.stanford.edu:80 ... Optimizers

Hope this helps,
-Ayman

User avatar
yuma ieshiro
Posts: 7
Joined: Thu May 12, 2011 11:26 pm

Re: CFSQP and IPOPT

Post by yuma ieshiro » Tue Aug 13, 2013 1:23 pm

Dear Mr.Stephen and Mr.Ayman,

Thank you for the quick reply.
When I was going to use CFSQP by OpenSim, I learned that osimCFSQP.dll was required. And in order to have got osimCFSQP.dll, I also learned that I had to apply to the maker of CFSQP. I intend to contact to the maker.

Is my trouble solvable by doing so?

Best regards,
Yuma

User avatar
Ayman Habib
Posts: 2238
Joined: Fri Apr 01, 2005 12:24 pm

Re: CFSQP and IPOPT

Post by Ayman Habib » Wed Aug 14, 2013 11:15 am

Hi Yuma,

Yes, and please let us know how it goes.

Best regards,
-Ayman

POST REPLY