Re: [Help-glpk] GLPK 4.38 for Java under Linux

2009-05-27 Thread Andrew Makhorin
> I already thought of this way of getting rid of a variable. But > keeping all the variables in the model, even bounded to 0, won´t slow > down the simplex method? (there may be quite a lot of "removed" variables) Every time glp_simplex returns you can check status of such variables and remove th

Re: [Help-glpk] GLPK 4.38 for Java under Linux

2009-05-27 Thread Sylvain Fournier
I already thought of this way of getting rid of a variable. But keeping all the variables in the model, even bounded to 0, won´t slow down the simplex method? (there may be quite a lot of "removed" variables) 2009/5/27 Andrew Makhorin > Rather than to "physically" remove a basic column from the

Re: [Help-glpk] GLPK 4.38 for Java under Linux

2009-05-26 Thread Andrew Makhorin
> Thanks for the quick and detailed answer. I will keep using the warm up > functionality, because I don?t really have an idea of which variable(s) > should enter the basis. Rather than to "physically" remove a basic column from the problem object with glp_del_cols you can "logically" remove it fi

Re: [Help-glpk] GLPK 4.38 for Java under Linux

2009-05-25 Thread Sylvain Fournier
Many thanks Xypron for the way to compile the library. I will try it and get back to you if something is going wrong. Sylvain > Date: Sat, 23 May 2009 10:04:09 -0700 (PDT) > From: xypron > Subject: Re: [Help-glpk] GLPK 4.38 for Java under Linux > To: Help-glpk@gnu.org > Message-

Re: [Help-glpk] GLPK 4.38 for Java under Linux

2009-05-25 Thread Sylvain Fournier
2009/5/23 Andrew Makhorin > > > Lpx_warm_up will be replaced by glp_warm_up, which will provide the > same functionality. > > Thanks for the quick and detailed answer. I will keep using the warm up functionality, because I don´t really have an idea of which variable(s) should enter the basis. Syl

Re: [Help-glpk] GLPK 4.38 for Java under Linux

2009-05-23 Thread xypron
Hello Andrew, the error was caused by some old library installed in /usr/lib while the default installation path of GLPK is /usr/local/lib. Best regards Xypron Andrew Makhorin wrote: > >> Currently I am puzzled because the call to GLPK.glp_create_prob() works >> fine, while >> GLPK.glp_mpl

Re: [Help-glpk] GLPK 4.38 for Java under Linux

2009-05-23 Thread Andrew Makhorin
> Currently I am puzzled because the call to GLPK.glp_create_prob() works > fine, while > GLPK.glp_mpl_alloc_wksp() fails with > java: symbol lookup error: /usr/local/lib/libglpk_4_38_java.so: undefined > symbol: glp_mpl_alloc_wksp It is unclear. Libtool must export all symbols prefixed with 'glp

Re: [Help-glpk] GLPK 4.38 for Java under Linux

2009-05-23 Thread Andrew Makhorin
> I have another question about my algorithm. I am using a Branch Price > scheme. When I add variables, I want to use the basis of the previous run > as the first basis of the current run (I don´t want to solve the model > from scratch each time!) If you add new column(s), glp_add_cols makes them

Re: [Help-glpk] GLPK 4.38 for Java under Linux

2009-05-23 Thread xypron
Hello Sylvain, Sylvain Fournier wrote: > > I then saw that there is a glpk_4_38_java library available ( > http://winglpk.sourceforge.net/), I tried it on Windows and it seems to > work > fine. But there is a problem of organization in my code, as I use a > different Java interface when running

[Help-glpk] GLPK 4.38 for Java under Linux

2009-05-22 Thread Sylvain Fournier
Hi, I have been working with GLPK for 2 or 3 months, and I´d really like to congratulate all the people that contribute to the development of this solver. In fact, I am working with Java, and most of the time under Linux. But I need to have my code run under Windows as well. As I am not sure there