[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] what is the difference between this two glpsol?
From: |
hhb83 |
Subject: |
Re: [Help-glpk] what is the difference between this two glpsol? |
Date: |
Fri, 27 Feb 2009 06:55:01 -0800 (PST) |
I will try it, thank you very much!
Andrew Makhorin wrote:
>
>> I try several times. The results of the objective are same, but some
>> variables maybe different.
>
> This is normal. Your instance has multiple optima, so one solver finds
> one optimal point while other finds another optimal point.
>
>> The most difference is that the glpsol
>> complied by cygwin gcc takes more time. In one sample, it takes 97.5sec
>> and 8.7M memory with the msvc compiled glpsol, but the gcc glpsol takes
>> 155.3s and 8.5M.
>
> Try 'make CFLAGS=-O3' or 'make CFLAGS=-O4' for cygwin version.
>
> Note that you should not expect identical results for different
> compilers, because glpk uses floating-point computations.
>
>
>
> _______________________________________________
> Help-glpk mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-glpk
>
>
--
View this message in context:
http://www.nabble.com/what-is-the-difference-between-this-two-glpsol--tp22244014p22247404.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.