[Cbc] Slow CBC sample example
Matěj Týč
matej.tyc at gmail.com
Mon May 31 17:05:47 EDT 2010
Hi Haroldo,
thank you for your reply..
On Mon, 2010-05-31 at 17:37 -0300, Haroldo Santos wrote:
> Which compiler and compiler flags you use ?
I use quite recent gcc and first of all, I have left flags as they were.
Then I have compiled it with -O0 -g and this is the case even now.
But I think that this is not of top importance since both my compiled
example and the executable are supposed to use the same library compiled
with the same flags anyway.
I have tried to debug the executable to discover the trick, but as you
can surely imagine, I got lost very quickly :-)
Anyway, I attach the captured stdout.
Regards,
Matej
> On Mon, May 31, 2010 at 5:30 PM, Matěj Týč <matej.tyc at gmail.com>
> wrote:
> Hello,
> when I successfully build CBC, I also get an executable (that
> one called
> cbc), that, among other things, accepts MPS files and solves
> them.
>
> I can also build an example application that does the same
> things,
> according the documentation:
>
> http://www.coin-or.org/Cbc/ch02s02.html
>
> The problem is that the same MPS file gets solved much faster
> using the
> compiled (and somewhat more complicated :-) executable,
> whereas it
> writes a lot of output (even if I try to reduce it) and takes
> longer
> when using the code from the example.
>
> Any ideas?
> Regards,
> Matej
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.log
Type: text/x-log
Size: 562950 bytes
Desc: not available
Url : http://list.coin-or.org/pipermail/cbc/attachments/20100531/ff5b7c16/attachment-0002.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: provided_cbc.log
Type: text/x-log
Size: 8746 bytes
Desc: not available
Url : http://list.coin-or.org/pipermail/cbc/attachments/20100531/ff5b7c16/attachment-0003.bin
More information about the Cbc
mailing list