[Clp] Clp Digest, Vol 110, Issue 2

Wolfgang Hartmann cmat.wolfgang at gmail.com
Sat Aug 9 12:20:16 EDT 2014


To Yann-Collette,
Okay, how did you compile in MS Visual C/C++?
Is it debug or release??

The time difference would be about the same, like 4 times,
or even more if you change from debug to release.


On Sat, Aug 9, 2014 at 6:00 PM, <clp-request at list.coin-or.org> wrote:

> Send Clp mailing list submissions to
>         clp at list.coin-or.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://list.coin-or.org/mailman/listinfo/clp
> or, via email, send a message with subject or body 'help' to
>         clp-request at list.coin-or.org
>
> You can reach the person managing the list at
>         clp-owner at list.coin-or.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Clp digest..."
>
>
> Today's Topics:
>
>    1. Re: Clp trunk - windows problem (Stefan Vigerske)
>    2. Re: Clp trunk - windows problem (Yann COLLETTE)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 09 Aug 2014 13:17:43 +0200
> From: Stefan Vigerske <stefan at math.hu-berlin.de>
> To: "clp at list.coin-or.org" <clp at list.coin-or.org>
> Subject: Re: [Clp] Clp trunk - windows problem
> Message-ID: <53E60357.6040503 at math.hu-berlin.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
>
> ok, it's now using Sleep(1) on Windows, i.e. wait 1 millisecond.
> On other systems it's now usleep(100), which will wait 0.1 milliseconds
> - that should be the same as before.
>
> Stefan
>
> On 07/29/2014 01:56 PM, ycollette.nospam at free.fr wrote:
> > Hello,
> >
> > 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.
> >
> > I found an equivalent function for windows: Sleep which take a number of
> milliseconds as argument.
> >
> > #ifdef _WINDOWS
> > #include <windows.h>
> > #else
> > #include <unistd.h>
> > #define Sleep(x) usleep((x)*1000)
> > #endif
> >
> > Then use like this:
> >
> > Sleep(how_many_milliseconds);
> >
> > Best regards,
> >
> > YC
> > _______________________________________________
> > Clp mailing list
> > Clp at list.coin-or.org
> > http://list.coin-or.org/mailman/listinfo/clp
> >
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 09 Aug 2014 13:27:55 +0200
> From: Yann COLLETTE <ycollette.nospam at free.fr>
> To: Stefan Vigerske <stefan at math.hu-berlin.de>, "clp at list.coin-or.org"
>         <clp at list.coin-or.org>
> Subject: Re: [Clp] Clp trunk - windows problem
> Message-ID: <53E605BB.70307 at free.fr>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello,
>
> Thanks.
> I have noticed a big performance difference between linux and windows.
> On the same problem, it takes 10 minutes under linux and 40 under
> Windows (on the same kind of machine).
> With the same parameters (I use Clp has a library, not the executable),
> there are numerical differences (under windows, the pivot threshold is
> fined tuned by clp which is not the case under linux. I noticed this
> because on Cbc-2.8.9, there was an abort() in the pivot threshold fine
> tuning code which is not present anymore in the cbc / clp trunk).
>
> What can explain this numerical behavior difference between windows and
> linux ?
>
> I disabled the scaling under windows under clp and this disabling
> reduces the performance gap: 20 minutes instead of 40.
>
> Best regards,
>
> YC
>
>
> Le 09/08/2014 13:17, Stefan Vigerske a ?crit :
> > Hi,
> >
> > ok, it's now using Sleep(1) on Windows, i.e. wait 1 millisecond.
> > On other systems it's now usleep(100), which will wait 0.1
> > milliseconds - that should be the same as before.
> >
> > Stefan
> >
> > On 07/29/2014 01:56 PM, ycollette.nospam at free.fr wrote:
> >> Hello,
> >>
> >> 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.
> >>
> >> I found an equivalent function for windows: Sleep which take a number
> >> of milliseconds as argument.
> >>
> >> #ifdef _WINDOWS
> >> #include <windows.h>
> >> #else
> >> #include <unistd.h>
> >> #define Sleep(x) usleep((x)*1000)
> >> #endif
> >>
> >> Then use like this:
> >>
> >> Sleep(how_many_milliseconds);
> >>
> >> Best regards,
> >>
> >> YC
> >> _______________________________________________
> >> Clp mailing list
> >> Clp at list.coin-or.org
> >> http://list.coin-or.org/mailman/listinfo/clp
> >>
> >
>
>
>
> ------------------------------
>
> _______________________________________________
> Clp mailing list
> Clp at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/clp
>
>
> End of Clp Digest, Vol 110, Issue 2
> ***********************************
>



-- 
Time is not Onedimensional!
And even if it were - it would still be too difficult for me to handle.---
Wolfgang M. Hartmann

On YouTube: http://www.youtube.com/watch?v=HE16lQWprwg&feature=youtu.be
 www.wcmat.com/wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/clp/attachments/20140809/4de3d4b6/attachment.html>


More information about the Clp mailing list