[Help-glpk] Re: GLPK and nonlinear programming

2011-03-01 Thread Andrew Makhorin
On Tue, 2011-03-01 at 16:31 +, Alan Zinober wrote: We currently use AMPL and MINOS to run nonlinear programming problems. But the free edition of AMPL does not handle large problems. Is it possible to use GLPK or any other free package with a nonlinear solver? Alan No,

Re: [Help-glpk] Re: GLPK Complilink Visual Studio C++ 2008

2011-01-19 Thread Nigel Galloway
as an additional compiler option. - Original Message - From: Nigel Galloway To: Leandro Zanotto Cc: help-glpk@gnu.org Subject: [Help-glpk] Re: GLPK Complilink Visual Studio C++ 2008 Date: Tue, 18 Jan 2011 16:22:09 + There are three possibilities to compile GLPK using Visual

[Help-glpk] Re: GLPK Complilink Visual Studio C++ 2008

2011-01-18 Thread Nigel Galloway
There are three possibilities to compile GLPK using Visual Studio. GLPK is designed as a library of routines which can be used in another program to solve systems of linear inequalities. These programs written by you produce the .exe. The glpk examples directory contains a number of such programs.

[Help-glpk] Re: glpk for mac os x

2011-01-14 Thread Andrew Makhorin
On Thu, 2011-01-13 at 15:41 +, Patrick Winrow wrote: Good day, I need help to download glpk for my mac, how do i do it? Best regards, Patrick You can download the glpk distribution tarball and then build glpk in a standard way (i.e. configure/make). The GLPK distribution

[Help-glpk] Re: GLPK Help - compile GLPK inside Visual C++ 2008

2010-12-28 Thread glpk xypron
Hello Leonardo, I have no experience on setting up GLPK as a proper Visual C project. May be somebody else on the list has. GLPK comes with Makefiles that can be used from the console. Unzip glpk-4.45.tar.gz. Open a console windows (cmd.exe). Depending on whether you are working on 32 or

Re: [Help-glpk] Re: GLPK not shows a result

2010-11-10 Thread glpk xypron
(2000) http://opus4web.zib.de/documents-zib/423/SC-99-31.pdf Best regards Xypron Original-Nachricht Datum: Wed, 10 Nov 2010 16:59:25 +0300 Betreff: [Help-glpk] Re: GLPK not shows a result On Wed, 2010-11-10 at 12:59 +0100, Eduardo Sanjurjo wrote: Hello, I have

[Help-glpk] Re: GLPK memory leak?

2010-10-28 Thread Robbie Morrison
Hello Adriana Regarding memory leakage. You mentioned earlier you create a lot of easy GLPK instances. Would that number in the thousands then? And do you delete these GLPK instances when you've finished with them? Or do you let them stack up in the street instead? If so, that would be a

[Help-glpk] Re: GLPK memory leak?

2010-10-26 Thread Andrew Makhorin
I'm using the GLPKMEX interface to GLPK for Matlab, and I think I've isolated GLPK as the cause for my program to slowly use more and more memory, leading me to believe that there's a memory leak issue going on. I checked the code for GLPKMEX since it's only one file, and it appears that all

[Help-glpk] Re: GLPK memory leak?

2010-10-26 Thread Robbie Morrison
To: Adriana Kovashka adri...@cs.utexas.edu Subject: [Help-glpk] Re: GLPK memory leak? Message-ID: 1288108851.2915.16.ca...@host From:Andrew Makhorin m...@gnu.org Date:Tue, 26 Oct 2010 20:00:51 +0400

[Help-glpk] RE: GLPK on 64 bit Linux

2010-08-26 Thread Robbie Morrison
To: help-glpk@gnu.org Subject: [Help-glpk] RE: GLPK on 64 bit Linux Message-ID: 7552712.20100825213...@gnu.org From: Hammond, Paul paul.hamm...@morganstanley.com Date:Wed, 25 Aug 2010 21:35:23 +0400

[Help-glpk] RE: GLPK on 64 bit Linux

2010-08-25 Thread Hammond, Paul
Hi,   You may recall some time back that I had issues with numerical differences running GLPK-Java on 64 bit Linux that could not be explained by simply a different floating point precision. Some months ago, I believe I found an issue, and wanted to share it with everybody, sorry didn #8217;t

Re: [Help-glpk] RE: GLPK on 64 bit Linux

2010-08-25 Thread glpk xypron
); } jresult = (jdouble)result; return jresult; } Best regards Xypron Original-Nachricht Datum: Wed, 25 Aug 2010 21:35:23 +0400 Betreff: [Help-glpk] RE: GLPK on 64 bit Linux Hi,   You may recall some time back that I had issues with numerical differences running GLPK-Java

[Help-glpk] Re: GLPK Lab 4.44.1 release information

2010-06-04 Thread Andrew Makhorin
Hi Xypron, GLPK Lab has been updated to use GLPK 4.44. Thank you for making the distribution. Just tried it under Wine. All works fine. Andrew Makhorin ___ Help-glpk mailing list Help-glpk@gnu.org http://lists.gnu.org/mailman/listinfo/help-glpk

Re: [Help-glpk] Re: GLPK Lab 4.44.1 release information

2010-06-04 Thread Noli Sicad
Andrew and Xypron, It works as well in Windows XP Home - Atom CPU 1.3Mhz netbook. Noli On 6/4/10, Andrew Makhorin m...@gnu.org wrote: Hi Xypron, GLPK Lab has been updated to use GLPK 4.44. Thank you for making the distribution. Just tried it under Wine. All works fine. Andrew

[Help-glpk] Re: GLPK on 64 bit Linux

2010-03-25 Thread Andrew Makhorin
I #8217;m including bug-glpk here as this is potentially a bug, but it could be something we are doing wrong. We are using GLPK with Java (glpk-java-1.0.5), but to date have been using it in a 32 bit Linux environment and it #8217;s been fine (apart from crashes which we put down to the fact

[Help-glpk] Re: GLPK on 64 bit Linux

2010-03-25 Thread Andrew Makhorin
Yes you're right, a given input resource may be allocated differently and is the case. But one thing that should remain constant though is the totals, what I'm talking about is that the totals of the allocations at the end of a given input do not equal that input. By way of illustration,

[Help-glpk] RE: GLPK on 64 bit Linux

2010-03-25 Thread Hammond, Paul
Hi Andrew, Thanks for replying. Yes you're right, a given input resource may be allocated differently and is the case. But one thing that should remain constant though is the totals, what I'm talking about is that the totals of the allocations at the end of a given input do not equal that

[Help-glpk] RE: GLPK on 64 bit Linux

2010-03-25 Thread Hammond, Paul
Andrew, I did not write the original code here I'm debugging, but it's certainly intended that there is a constraint that all the input must be allocated. I can double check that this is the case. In terms of presenting a test case, I'm quite new to GLPK, I'd have to read up n the formats you

Re: [Help-glpk] RE: GLPK on 64 bit Linux

2010-03-25 Thread Andrew Makhorin
I did not write the original code here I'm debugging, but it's certainly intended that there is a constraint that all the input must be allocated. I can double check that this is the case. In terms of presenting a test case, I'm quite new to GLPK, I'd have to read up n the formats you have

Re: Re: [Help-glpk] Re: GLPK MingW build files and PyGLPK

2009-11-30 Thread Nigel Galloway
, Andrew Makhorin Subject: Re: Re: [Help-glpk] Re: GLPK MingW build files and PyGLPK Date: Thu, 26 Nov 2009 08:47:00 -0300 Hi, Nigel, Andrew. I've build glpsol.exe with MSYS and cygwin. Besides it's useful, the binary file has more than double sized and the solver looks like quite slower

Re: [Help-glpk] Re: GLPK MingW build files and PyGLPK

2009-11-27 Thread Andrew Makhorin
Under cygwin gcc is run with default options '-g' (that includes debugging info into the executable) and '-O2'. On my 32-bit windows machine I build glpk using 'make CFLAGS=-O3', and the code is about 30% faster than the one built with MSVS 2010 'cl -O3'. I've experienced some issues

Re: [Help-glpk] Re: GLPK MingW build files and PyGLPK

2009-11-26 Thread Andrew Makhorin
I've build glpsol.exe with MSYS and cygwin. Besides it's useful, the binary file has more than double sized and the solver looks like quite slower. Under cygwin gcc is run with default options '-g' (that includes debugging info into the executable) and '-O2'. On my 32-bit windows machine I

Re: Re: [Help-glpk] Re: GLPK MingW build files and PyGLPK

2009-11-09 Thread Luiz Bettoni
Thanks, Nigel! I'll give it a try, can be an interesting alternative. By the way, as I've said, now I think that will be a good choice if Gusek adopt the winglpk binaries. Thanks for share! Luiz Nigel Galloway wrote: You should probably add the MSYS extensions to MingW, these include a make

[Help-glpk] Re: GLPK vs. SCIP for solving MIP Click to flag this post

2009-10-03 Thread Tawny Owl
I've grown used to GMPL, I haven't used it myself, but the modelling language Zimpl, which can be used with SCIP, appears to have similarities with MathProg. http://zimpl.zib.de/

Re: [Help-glpk] Re: GLPK vs. SCIP for solving MIP Click to flag this post

2009-10-03 Thread Yaron Kretchmer
Yes, I've checked it out. It's similar in concept , but has some differences -I do not believe you get database connectivity with Zimpl - Zimpl allowes you to model if-then-else relationships between variable, dealing with the conditional variables under the hood, whereas GLPK forces

[Help-glpk] Re: GLPK installation problem on Linux with Matlab (recompile with -fPIC)

2009-06-02 Thread niels
Hello Yimeng, This is a weird issue when glpkmex tries to call glpk on 64bit machines. I have it working on my machine. You'll need to recompile glpk with: make clean make CFLAGS+=-fPIC make check make install note: if you are using the 'with-gmp' configuration argument, you'll need to

Re: RE: [Help-glpk] Re: glpk 4.34 release information

2008-12-07 Thread glpk xypron
Hello Mark, May I recommend to Andrew or Xypron that at least -O2 is set on for the VS2008 makefile? thank you for your recommendations Flag /O2 is described here http://msdn.microsoft.com/en-us/library/8f8h5cxt.aspx as a default setting for release builds. Flag /GL is described here

Re: [Help-glpk] Re: glpk 4.34 release information

2008-12-07 Thread Andrew Makhorin
Flag /O2 is described here http://msdn.microsoft.com/en-us/library/8f8h5cxt.aspx as a default setting for release builds. To generate a fastest code msdn recommends to use /Ox option (it includes /O2). ___ Help-glpk mailing list Help-glpk@gnu.org

RE: [Help-glpk] Re: glpk 4.34 release information

2008-12-06 Thread Luiz M. M. Bettoni
Hi, Marc. This topic make me test some models with distinct builds of GLPK: http://lists.gnu.org/archive/html/help-glpk/2008-11/msg00026.html In 2 good machines (AMD Athlon64 2.200MHz, 2Gb DDR-400 / Intel Core 2 Duo 2x 2133 MHz, 2Gb DDR2-667), just replacing the glpsol.exe (all parameters still

RE: [Help-glpk] Re: glpk 4.34 release information

2008-12-06 Thread Meketon, Marc
Of Luiz M. M. Bettoni Sent: Saturday, December 06, 2008 8:37 AM To: help-glpk@gnu.org Subject: RE: [Help-glpk] Re: glpk 4.34 release information Hi, Marc. This topic make me test some models with distinct builds of GLPK: http://lists.gnu.org/archive/html/help-glpk/2008-11/msg00026.html In 2 good

Re: [Help-glpk] Re: glpk 4.34 release information

2008-12-06 Thread Luiz M. M. Bettoni
Hi, Marc. I'm not an expert on the compilation flags, so please double check what I'm trying to say in the following. The CFLAGS set for VS2008 is: /I. /DHAVE_CONFIG_H /nologo /W3 I do not know what the corresponding settings are for MinGW. I'm not an expert on various fields, so sorry by

RE: [Help-glpk] Re: glpk 4.34 release information

2008-12-06 Thread Meketon, Marc
-Original Message- From: Luiz M. M. Bettoni [mailto:[EMAIL PROTECTED] Sent: Saturday, December 06, 2008 10:55 AM To: Meketon, Marc Cc: help-glpk@gnu.org Subject: Re: [Help-glpk] Re: glpk 4.34 release information Hi, Marc. I'm not an expert on the compilation flags, so please double check

Re: [Help-glpk] Re: glpk 4.34 release information

2008-12-05 Thread Xypron
Hello Luiz, every GLPK release), but add a way to build GLPK directly from MinGW can be very useful for newbies. the only Windows build files for GLPK 4.34 that support ODBC connectivity are those for Visual Studio Express 2008 and the Windows SDK. Both can be downloaded free of charge from

[Help-glpk] Re: GLPK and Java using SWIG

2007-06-01 Thread Nigel Galloway
NigelzGLPK.swg is the file in the pdf document in the section The SWIG Interface File. I've attached a copy. Also I've attached a bug report I made to make it work. You will probably need to make the same change. Good Luck Nigel Galloway - Original Message - From: Pierpaolo

[Help-glpk] Re: GLPK is unable to read some .mps files

2007-01-09 Thread Andrew Makhorin
I've found that GLPK is unable to read some .mps files that can be read by other software. see http://www.sce.carleton.ca/faculty/chinneck/MPSreader/MPSobject.html I've attached 2 of these files since they seem to cause different errors when GLPK reads them. The error for 22433.mps

[Help-glpk] Re: GLPK matlab

2006-12-13 Thread Girish Rao
Hello all, I am trying to install GLPK on Linux. I unzip and untar everything into the glpk-4.9 folder. Within this folder, I call the ./configure command which works fine. I do not have admin access on this machine, so I just want to install in my local directory. I do this by running make

Re: [Help-glpk] Re: GLPK matlab

2006-12-13 Thread Baris Hasdemir
On Wed, 2006-12-13 at 09:11 -0500, Girish Rao wrote: Hello all, I am trying to install GLPK on Linux. I unzip and untar everything into the glpk-4.9 folder. Within this folder, I call the ./configure command which works fine. I do not have admin access on this machine, so I just want to

[Help-glpk] Re: glpk

2005-12-15 Thread Andrew Makhorin
I do not belong to the OR community. Anyway I need Linear Programming to solve a problem. I start using glpk with diffilculty. At least I would have expected that just adding a display statement in one of the simple example file provided with glpk would entail no problem. I just ran