Re: [Help-glpk] gmpl manual

2008-03-20 Thread Andrew Makhorin
> In general I don't recommend generating instance files like MPS or CPLEX > LP directly. If you don't want to use a modeling language because of > size or other issues, then look at the APIs that solvers have to > directly input an instance. COIN-OR OSI (Open Solver Interface) > provides an A

Re: [Help-glpk] gmpl manual

2008-03-20 Thread Brady Hunsaker
Guney Petek wrote: On Wed, Mar 19, 2008 at 4:09 AM, Andrew Makhorin <[EMAIL PROTECTED]> wrote: I read that "... the mathprog translator is greedy to the memory ..." and actually I am having problem getting the model generated for a large instance. glpsol runs out of memory on a machine with 1.5

[Help-glpk] Re: libglpk0: excessive install dependencies

2008-03-20 Thread Andrew Makhorin
> Hopefully the Windows version will be included in 4.28. I included it, however, at the moment it is disabled. See the file glplib12.c for details. ___ Help-glpk mailing list Help-glpk@gnu.org http://lists.gnu.org/mailman/listinfo/help-glpk

[Help-glpk] Re: libglpk0: excessive install dependencies

2008-03-20 Thread glpk xypron
Hello Andrew, > Please inform me if the routines below are sufficient for our > purposes. (I have not implemented a Windows version yet, however, it > will be not so hard, I think.) The routines seem to be sufficient. According to the ltdl documentation lt_dlinit may be called multiple times. Th

[Help-glpk] Re: libglpk0: excessive install dependencies

2008-03-20 Thread Andrew Makhorin
Xypron, Just for your information: please see below shared library routines I have added to glplib module. To obtain an error message there is a new routine xerrmsg introduced in 4.28 (it is also used by other glpk library routines). Please inform me if the routines below are sufficient for our

Re: [Help-glpk] performance of exact LP solver

2008-03-20 Thread Michael Hennebry
On Thu, 20 Mar 2008, Axel Simon wrote: > I need to use the lpx_exact function and find that the performance on > repeatedly running a 100x10 variable problem is about 70x slower than > using doubles. It turns out that the program spends 40% of it's time > calculating the gcd when canonicalizing fra

Re: [Help-glpk] LP & Computer-Aided Education/Teaching

2008-03-20 Thread glpk xypron
Hello Kilmos have a look at http://www-fp.mcs.anl.gov/otc/Guide/CaseStudies/simplex/applet/SimplexTool.html Best regards Xypron Original-Nachricht > Datum: Thu, 20 Mar 2008 06:29:14 +0100 > Von: "Kilmos Atom" <[EMAIL PROTECTED]> > An: help-glpk@gnu.org > Betreff: [Help-glpk] L

[Help-glpk] Re: libglpk0: excessive install dependencies

2008-03-20 Thread glpk xypron
Hello Andrew, essentially the following functions are already wrappers. glpmpl04.c: DLMODULE load_library(const char *modulename) void *load_symbol(DLMODULE module, const char *name) void unload_library(DLMODULE module) What is missing is considering the case that libdl shall be used instead of

[Help-glpk] performance of exact LP solver

2008-03-20 Thread Axel Simon
Hi, I need to use the lpx_exact function and find that the performance on repeatedly running a 100x10 variable problem is about 70x slower than using doubles. It turns out that the program spends 40% of it's time calculating the gcd when canonicalizing fractions. Is there a way to use integers (ra

[Help-glpk] Re: libglpk0: excessive install dependencies

2008-03-20 Thread Andrew Makhorin
Hi Xypron, I have looked through your code. Thank you for your efforts. Using dynamic libraries is a separate problem, and I think we need to consider it first and separately from implementing database interface. The main difficult is that using dynamic libraries is out of the ISO C standard. A