|
From: | Patrik Dufresne |
Subject: | Re: [Help-glpk] 4.48 vs 4.47 |
Date: | Thu, 20 Jun 2013 20:42:53 -0400 |
GLPK Version |
Iteration |
Time used |
4.37 |
6507 |
3.6 secs |
4.38 |
6496 |
5.5 secs |
4.39 |
23708 |
22.1 secs |
4.40 |
23708 |
22.1 secs |
4.41 |
23708 |
23.6 secs |
4.42 |
45540 |
64.6 secs |
4.43 |
45540 |
64.4 secs |
4.44 |
45540 |
60.7 secs |
4.45 |
45540 |
60.3 secs |
4.46 |
45540 |
61.5 secs |
4.47 |
45540 |
61.0 secs |
4.51 |
38445 |
46.7 secs |
Hi Patrick,
I wrote a CBC guide sometime ago, hope it helps.
Cheers,
Haroldo
On 04/14/2013 11:44 AM, Patrik Dufresne wrote:
Hi Haroldo,
I'm not very familiar with clp-cbc and I want to compare it's performance on multiple models. Would you mind providing me the command line you used to solve by problem using clp-cbc ?
Thanks
Patrik Dufresne
On Wed, Apr 10, 2013 at 11:29 PM, Haroldo Santos <address@hidden> wrote:
On Thu, Apr 11, 2013 at 12:25 AM, Haroldo Santos <address@hidden> wrote:
lp_solve is worse than GLPK
Cheers
On Wed, Apr 10, 2013 at 11:33 PM, Patrik Dufresne <address@hidden> wrote:
Hi Horoldo,
Sorry, I didn't want to send this email directly to you but to the GLPK list. Still, I'm glad you answered. It does change the perspective I have to solve this performance issue. I didn't evaluate other mip solvers outside GLPK. I'm then courious about the performance of other solvers like clp-cbc and lp_solve. Do you have other suggestion?
The reasons, I may not use clp-cbc is as follow:1. I need java binding. Last time I check the java binding for coin-or was either absent, not working or incomprehensible.2. I need it to work on windows. Coin-or projects doesn't provide binaries for most of their project and even less for windows platform. I don't want to get the trouble of compiling or cross-compiling for windows platform.
Thanks for your suggestion.
Patrik Dufresne
On Wed, Apr 10, 2013 at 9:52 PM, Haroldo Santos <address@hidden> wrote:
Solving your model in CLP on my machine takes 1.8 seconds. CLP is faster, more stable and has more options. For MIPS CBC is also a lot more powerful than GLPK.
Unfortunately GLPK is slow and numerically unstable for lots of problems...
On Wed, Apr 10, 2013 at 10:46 PM, Patrik Dufresne <address@hidden> wrote:
Bump, any tough about this problem? If the order of the variables as an impact on the simplex algorithm, any recommendation to re-order the variables? Should I use a callback function or only reorder/move the variables in the matrix? Is it possible to re-order the variables with glpsol?
Patrik Dufresne
On Tue, Mar 12, 2013 at 8:40 PM, Haroldo Santos <address@hidden> wrote:
glp_read_lp can be one of the causes:
The order of the variables can affect the number of simplex iterations - the index of the variable can be used to break ties in selecting the next variable to enter the base.
But it appears that this is a more complex issue: the processing time increased more than one time (a lot) as new GLPK versions appeared...
On Tue, Mar 12, 2013 at 9:05 PM, Patrik Dufresne <address@hidden> wrote:
_______________________________________________Hi,
May someone give me an explanation about why the same problem run with glpk 4.38 is faster then glpk 4.47 ?
GLPK Version
Iteration
Time used
4.37
6507
3.6 secs
4.38
6496
5.5 secs
4.39
23708
22.1 secs
4.40
23708
22.1 secs
4.41
23708
23.6 secs
4.42
45540
64.6 secs
4.43
45540
64.4 secs
4.44
45540
60.7 secs
4.45
45540
60.3 secs
4.46
45540
61.5 secs
4.47
45540
61.0 secs
Run with./glpsol --intopt --fpump --cpxlp min-all-swappable-task1
See my dropbox for all the results and the problem file
Looking at the change log, the only related modification I see that may impact the number of iteration if the reimplementation of glp_read_lp(). Thanks for your comments.
Patrik Dufresne
Help-glpk mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-glpk
--
=============================================================
Haroldo Gambini Santos
Computing Department
Universidade Federal de Ouro Preto - UFOP
email: haroldo [at ] iceb.ufop.br
home/research page: www.decom.ufop.br/haroldo
--
=============================================================
Haroldo Gambini Santos
Computing Department
Universidade Federal de Ouro Preto - UFOP
email: haroldo [at ] iceb.ufop.br
home/research page: www.decom.ufop.br/haroldo
--
=============================================================
Haroldo Gambini Santos
Computing Department
Universidade Federal de Ouro Preto - UFOP
email: haroldo [at ] iceb.ufop.br
home/research page: www.decom.ufop.br/haroldo
--
=============================================================
Haroldo Gambini Santos
Computing Department
Universidade Federal de Ouro Preto - UFOP
email: haroldo [at ] iceb.ufop.br
home/research page: www.decom.ufop.br/haroldo
[Prev in Thread] | Current Thread | [Next in Thread] |