<div dir="ltr"><div>To Yann-Collette,</div><div>Okay, how did you compile in MS Visual C/C++?</div><div>Is it debug or release??</div><div><br></div><div>The time difference would be about the same, like 4 times,</div><div>
or even more if you change from debug to release.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Aug 9, 2014 at 6:00 PM, <span dir="ltr"><<a href="mailto:clp-request@list.coin-or.org" target="_blank">clp-request@list.coin-or.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Clp mailing list submissions to<br>
<a href="mailto:clp@list.coin-or.org">clp@list.coin-or.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://list.coin-or.org/mailman/listinfo/clp" target="_blank">http://list.coin-or.org/mailman/listinfo/clp</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:clp-request@list.coin-or.org">clp-request@list.coin-or.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:clp-owner@list.coin-or.org">clp-owner@list.coin-or.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Clp digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Clp trunk - windows problem (Stefan Vigerske)<br>
2. Re: Clp trunk - windows problem (Yann COLLETTE)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 09 Aug 2014 13:17:43 +0200<br>
From: Stefan Vigerske <<a href="mailto:stefan@math.hu-berlin.de">stefan@math.hu-berlin.de</a>><br>
To: "<a href="mailto:clp@list.coin-or.org">clp@list.coin-or.org</a>" <<a href="mailto:clp@list.coin-or.org">clp@list.coin-or.org</a>><br>
Subject: Re: [Clp] Clp trunk - windows problem<br>
Message-ID: <<a href="mailto:53E60357.6040503@math.hu-berlin.de">53E60357.6040503@math.hu-berlin.de</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hi,<br>
<br>
ok, it's now using Sleep(1) on Windows, i.e. wait 1 millisecond.<br>
On other systems it's now usleep(100), which will wait 0.1 milliseconds<br>
- that should be the same as before.<br>
<br>
Stefan<br>
<br>
On 07/29/2014 01:56 PM, <a href="mailto:ycollette.nospam@free.fr">ycollette.nospam@free.fr</a> wrote:<br>
> Hello,<br>
><br>
> I tried to compile Cbc / Clp trunk under windows with the intel compiler and I found a problem: there is no nanosleep function under windows.<br>
><br>
> I found an equivalent function for windows: Sleep which take a number of milliseconds as argument.<br>
><br>
> #ifdef _WINDOWS<br>
> #include <windows.h><br>
> #else<br>
> #include <unistd.h><br>
> #define Sleep(x) usleep((x)*1000)<br>
> #endif<br>
><br>
> Then use like this:<br>
><br>
> Sleep(how_many_milliseconds);<br>
><br>
> Best regards,<br>
><br>
> YC<br>
> _______________________________________________<br>
> Clp mailing list<br>
> <a href="mailto:Clp@list.coin-or.org">Clp@list.coin-or.org</a><br>
> <a href="http://list.coin-or.org/mailman/listinfo/clp" target="_blank">http://list.coin-or.org/mailman/listinfo/clp</a><br>
><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sat, 09 Aug 2014 13:27:55 +0200<br>
From: Yann COLLETTE <<a href="mailto:ycollette.nospam@free.fr">ycollette.nospam@free.fr</a>><br>
To: Stefan Vigerske <<a href="mailto:stefan@math.hu-berlin.de">stefan@math.hu-berlin.de</a>>, "<a href="mailto:clp@list.coin-or.org">clp@list.coin-or.org</a>"<br>
<<a href="mailto:clp@list.coin-or.org">clp@list.coin-or.org</a>><br>
Subject: Re: [Clp] Clp trunk - windows problem<br>
Message-ID: <<a href="mailto:53E605BB.70307@free.fr">53E605BB.70307@free.fr</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hello,<br>
<br>
Thanks.<br>
I have noticed a big performance difference between linux and windows.<br>
On the same problem, it takes 10 minutes under linux and 40 under<br>
Windows (on the same kind of machine).<br>
With the same parameters (I use Clp has a library, not the executable),<br>
there are numerical differences (under windows, the pivot threshold is<br>
fined tuned by clp which is not the case under linux. I noticed this<br>
because on Cbc-2.8.9, there was an abort() in the pivot threshold fine<br>
tuning code which is not present anymore in the cbc / clp trunk).<br>
<br>
What can explain this numerical behavior difference between windows and<br>
linux ?<br>
<br>
I disabled the scaling under windows under clp and this disabling<br>
reduces the performance gap: 20 minutes instead of 40.<br>
<br>
Best regards,<br>
<br>
YC<br>
<br>
<br>
Le 09/08/2014 13:17, Stefan Vigerske a ?crit :<br>
> Hi,<br>
><br>
> ok, it's now using Sleep(1) on Windows, i.e. wait 1 millisecond.<br>
> On other systems it's now usleep(100), which will wait 0.1<br>
> milliseconds - that should be the same as before.<br>
><br>
> Stefan<br>
><br>
> On 07/29/2014 01:56 PM, <a href="mailto:ycollette.nospam@free.fr">ycollette.nospam@free.fr</a> wrote:<br>
>> Hello,<br>
>><br>
>> I tried to compile Cbc / Clp trunk under windows with the intel<br>
>> compiler and I found a problem: there is no nanosleep function under<br>
>> windows.<br>
>><br>
>> I found an equivalent function for windows: Sleep which take a number<br>
>> of milliseconds as argument.<br>
>><br>
>> #ifdef _WINDOWS<br>
>> #include <windows.h><br>
>> #else<br>
>> #include <unistd.h><br>
>> #define Sleep(x) usleep((x)*1000)<br>
>> #endif<br>
>><br>
>> Then use like this:<br>
>><br>
>> Sleep(how_many_milliseconds);<br>
>><br>
>> Best regards,<br>
>><br>
>> YC<br>
>> _______________________________________________<br>
>> Clp mailing list<br>
>> <a href="mailto:Clp@list.coin-or.org">Clp@list.coin-or.org</a><br>
>> <a href="http://list.coin-or.org/mailman/listinfo/clp" target="_blank">http://list.coin-or.org/mailman/listinfo/clp</a><br>
>><br>
><br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Clp mailing list<br>
<a href="mailto:Clp@list.coin-or.org">Clp@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/clp" target="_blank">http://list.coin-or.org/mailman/listinfo/clp</a><br>
<br>
<br>
End of Clp Digest, Vol 110, Issue 2<br>
***********************************<br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div>Time is not Onedimensional!</div><div>And even if it were - it would still be too difficult for me to handle.---<br></div><div>Wolfgang M. Hartmann</div>
<div><br></div><div>On YouTube: <a href="http://www.youtube.com/watch?v=HE16lQWprwg&feature=youtu.be" style="color:rgb(17,85,204)" target="_blank">http://www.youtube.com/watch?v=HE16lQWprwg&feature=youtu.be</a></div>
<div> <a href="http://www.wcmat.com/wolfgang" target="_blank">www.wcmat.com/wolfgang</a> </div></div>
</div>