[Ipopt] Run ipopt instance per thread for parallel computing

Stefan Vigerske stefan at math.hu-berlin.de
Wed Jul 25 18:39:57 EDT 2012


Hi,

I had experienced no problem with running Ipopt in a multithread 
environment so far. But I would not recognize easily if it just computes 
a wrong point and does not crash.

Stefan

On 07/25/2012 11:41 PM, George Zhou wrote:
> Hi, All,
>
> https://projects.coin-or.org/Ipopt/ticket/167#comment:1,
>
>  From Andreas's comments, I think the following two changes could make application run ipopt in parallel, as long each thread only access its own instance of ipopt
>
> 1)      Declare ipopt as TLS variable. (per thread based)
>
> 2)      In Ipopt/src/Common/IpTaggedObject.hpp, change the following two variables as TLS variable or atomic ones:
>
> static Tag unique_tag_;
>
> Tag tag_
> Anyone has successful story to run multiple instances of ipopt in one application?
>
> Thanks
> George
>
>
>
>
> ________________________________
>
>      George Zhou
>       Senior Developer
>
>       Spot Trading L.L.C
>       440 South LaSalle St., Suite 2800
>       Chicago, IL 60605
>       Office: 312.362.4550
>       Direct: 312-362-4699
>       Fax: 312.362.4551
>       George.Zhou at spottradingllc.com
>       www.spottradingllc.com<http://www.spottradingllc.com/>
>
> ________________________________
>
> The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Spot Trading, LLC
>
>
>
>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>



More information about the Ipopt mailing list