Re: [Help-glpk] XML Result Output from glpsol

2007-05-04 Thread Nigel Galloway
. If you need any help there fine, if you use Windows let me know how it goes. Regards, Nigel Galloway - Original Message - From: Andrzej Urbanowicz [EMAIL PROTECTED] To: help-glpk@gnu.org Subject: [Help-glpk] XML Result Output from glpsol Date: Wed, 2 May 2007 01:27:34 +0400 Hi

Re: [Help-glpk] XML Result Output from glpsol

2007-05-10 Thread Nigel Galloway
Writing output file: gplk_test.xml_out.xml which I won't reproduce as it's the same. Regards, Nigel Galloway - Original Message - From: Andrzej Urbanowicz [EMAIL PROTECTED] To: Nigel Galloway [EMAIL PROTECTED] Subject: Re: [Help-glpk] XML Result Output from glpsol Date: Fri, 4 May

[Help-glpk] Kakuro, Futoshiki Ficki, NumberWorkout, and other Sudoku-like puzzles

2007-05-14 Thread Nigel Galloway
There are several number problems which rely on certain blocks of cells on a board having one, or more, of the following properties: #10146;they sum to a certain value; #10146;each cell is unique within the block; #10146;the sum of one block equals the sum of the other; #10146;the sum of one

Fw: Re: [Help-glpk] Kakuro, Futoshiki Ficki, NumberWorkout, and other Sudoku-like puzzles

2007-05-16 Thread Nigel Galloway
I have put the document at: http://www.geocities.com/nigel_galloway/KuKu.Examples.pdf Regards, Nigel Galloway - Original Message - From: Andrew Makhorin [EMAIL PROTECTED] To: Nigel Galloway [EMAIL PROTECTED] Subject: Re: [Help-glpk] Kakuro, Futoshiki Ficki, NumberWorkout, and other

[Help-glpk] Bindings for GLPK

2007-05-31 Thread Nigel Galloway
SWIG is a software development tool that simplifies the task of interfacing different languages to C and C++ programs. In a nutshell, SWIG is a compiler that takes C declarations and creates the wrappers needed to access those declarations from other languages including including Perl, Python,

Re: [Help-glpk] Andrew - Please help me find MathProg for use with GLPK

2007-05-31 Thread Nigel Galloway
Entering the following search into Google produced 77 results. filetype:mod mathprog - Original Message - From: [EMAIL PROTECTED] To: help-glpk@gnu.org Subject: [Help-glpk] Andrew - Please help me find MathProg for use with GLPK Date: Tue, 29 May 2007 15:12:40 -0500 I find

[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

Re: [Help-glpk] Execution time

2007-09-15 Thread Nigel Galloway
You might find these posts interesting. I've compiled Java interfaces upto 4.20 with no problem. 1. [Help-glpk] Re: GLPK and Java using SWIG (score: 36) Date: Fri, 1 Jun 2007 11:46:00 +0100 NigelzGLPK.swg is the file in the pdf document in the section The SWIG Interface File.

[Help-glpk] Re: Wrapping GLPK with Swig

2007-10-26 Thread Nigel Galloway
Alex, I have no objection and hope that many people find it useful. The file rglpk.c that you have included is in fact generated against a particular version of GLPK and perhaps you should record which. Obviously SWIG can be used to generate a new rglpk.c against a later version when needed,

[Help-glpk] For complexity size isn't the issue.

2008-02-14 Thread Nigel Galloway
Consider the following mathprog: param a ,integer; param b ,integer; var x integer; var y integer; st1: a*x + b*y = 1; minimize m: a*x + b*y; solve; end; This has only 2 unknowns, Euclid demonstrated that there is always feasible set for any combination of a and b. When the feasible set

[Help-glpk] C#, GLPK, and The Fundamental Theorem of Arithmetic.

2008-02-18 Thread Nigel Galloway
The attached C# program uses GLPK to find the least positve linear combination of any 2 positive integers, see below for an example output using 2424 and 772. If you want an example of using C# with GLPK you may add this to GLPK's examples. C# was developed, in part, to make interworking with

Re: [Help-glpk] Passing command line paramters to GLPK

2008-05-20 Thread Nigel Galloway
If you require security better not to use MySQL. Use a dtatabase where the access rights are based on the operating systems user accounts. If you supply the password on the command line it is available system wide to any user who types in 'ps' on unix a utility which lists all running commands,

[Help-glpk] Re: For complexity size isn't the issue (The case of the missing 12).

2008-07-04 Thread Nigel Galloway
True, I could use some method to determine smallest multiple of the largest common divisor, say Euclid’s Algorithm, but that is rather what I want GLPK to do. Note that if I want to do that then I just need to replace a*x + b*y = 1; with a*x + b*y = the gcd; The minimize is then optional, and

Re: [Help-glpk] Maximum number of integer variables -- is 1.75 million sufficient?

2008-07-21 Thread Nigel Galloway
I know I can probably produce a better analysis of the uniformity of glpk's random number generator with a sample size smaller than 1.75 million integers, but what would be the point of that? More interestingly is why does mathprog require a 1000 bytes per integer? /*Arithmetic Mean of a

Fw: [Help-glpk] C#, GLPK, and The Fundamental Theorem of Arithmetic.

2008-07-23 Thread Nigel Galloway
Attached is an earlier posting. The example is in glpk's examples directory, called t1.cs, it could probably be better named in future releases - Original Message - From: Nigel Galloway [EMAIL PROTECTED] To: help-glpk@gnu.org Subject: [Help-glpk] C#, GLPK, and The Fundamental Theorem

Re: [Help-glpk] Maximum number of integer variables -- is 1.75 million sufficient?

2008-07-27 Thread Nigel Galloway
to the end of the month. Thanks again, Nigel - Original Message - From: Andrew Makhorin [EMAIL PROTECTED] To: Nigel Galloway [EMAIL PROTECTED] Subject: Re: [Help-glpk] Maximum number of integer variables -- is 1.75 million sufficient? Date: Mon, 21 Jul 2008 19:32:27 +0400

Re: [Help-glpk] Using glpk with open office spreadsheets

2008-07-29 Thread Nigel Galloway
an adress for this unannounced list as I am probably quite interested in reading it. Thanks, Nigel - Original Message - From: Andrew Makhorin [EMAIL PROTECTED] To: Nigel Galloway [EMAIL PROTECTED] Subject: Re: [Help-glpk] Using glpk with open office spreadsheets Date: Tue, 29

Re: [Help-glpk] Only one data file allowed in GLPK

2008-09-30 Thread Nigel Galloway
Or you could use a Virtual File System, see previous postings. Trust me once you've used one with a legacy system like glpk you won't know how you did without it. You can use any scripting language, or C, to pull together data from disk, database, website, or make it up to create any mathprog

Re: [Help-glpk] Re: producing PDF documentation

2008-11-08 Thread Nigel Galloway
Using Fedora 9 the TeX can be converted into a searchable pdf using texi2pdf once. I tried xdvi which used to be the way to read dvi files only to find some pseudo-modernist has stolen it. It has been replaced by evince, which displays the dvi file and can save it as a pdf. - Original

Re: [Help-glpk] Time conversion functions

2008-11-19 Thread Nigel Galloway
Interestingly God's plan for man to arrange his time revealed through the head of his church on earth Gregory is such that it repeats every 400 years. The 100s not being a leap year unless they are a 400. This being the revealed word of God, spoken by Gregory, I would consider it blasphomous

[Help-glpk] Re: Hello,Nigel, I have some questions about GLPK

2008-11-27 Thread Nigel Galloway
compiled against the .Lib file, which will be a lot smaller than 800K. and a .dll file which is the shared library for Windows which is needed for .Net applications. - Original Message - From: bo liu To: Nigel Galloway Subject: Re: Hello,Nigel, I have some questions about GLPK

[Help-glpk] Re: Hello,Nigel, I have some questions about GLPK

2008-11-28 Thread Nigel Galloway
). - Original Message - From: glpk xypron [EMAIL PROTECTED] To: Nigel Galloway [EMAIL PROTECTED], [EMAIL PROTECTED] Cc: Help-glpk@gnu.org Subject: Re: Hello,Nigel, I have some questions about GLPK Date: Thu, 27 Nov 2008 14:19:16 +0100 Hello Nigel, I can add those files to http

[Help-glpk] Multiple data files

2008-12-22 Thread Nigel Galloway
Thank you for this new feature. Is it documented? I have tried it. Is it possible to spread a table over 2 data files, obviously with different tuple ID's. If not can the feature be extended to do this? -- ___ Surf the Web in a faster, safer and

Re: [Help-glpk] Ordered sets in GMPL

2008-12-29 Thread Nigel Galloway
I can't agree with either position here. The concept of well ordered sets is fundamental to arithmatic. examples/t1.cs depends on the mathmatical proof that any subset (however complex the derivation) of a well ordered set is a well ordered set. There is a proof that the square root of two

[Help-glpk] Yet Another (and the best!!!) Curve Fitting Solution:

2009-02-02 Thread Nigel Galloway
Andrew, Yet Another (and the best!) Curve Fitting Solution: YACFS.mod produces the same result as examples/cflsq.mod; Qfit.mod find a plausable fit of the form a + bx + bx^2 It reduces the size of the triangular part from 38 to 1 which I assume is good; It is independant of the sample

[Help-glpk] Swig and C header files

2009-02-05 Thread Nigel Galloway
Swig can read any file and action can be taken to overcome all(?) problems. However apart from the multiple defines, now resolved, in glpk_4.35 'in' and 'out' are used as names, which they were not before. Note that 'in' and 'out' are reserved words in C#. Swig is able to work around this but

Re: [Help-glpk] SWIG for Visual Studio 2008, C#, and GLPK

2009-02-09 Thread Nigel Galloway
Using glpk.i with the addition of %remove (or something similar) to overcome the 'in out' problem. nigelzGLPK.dll is the dll produced by compiling the c wrapper. glpkSWIG.dll is the equivalent of the jar file produced by the java swig. Obviously using csc to compile the cs files where

[Help-glpk] Re: python-glpk

2009-02-16 Thread Nigel Galloway
Attached is sample.py which impliments the example from glpk.pdf in Python using Swig's array functions, running it produces: ni...@darkstar:~/myGLPK$ python sample.py * 0: obj = 0.0e+00 infeas = 0.000e+00 (0) * 2: obj = 7.3e+02 infeas = 0.000e+00 (0) OPTIMAL

[Help-glpk] Is this a bug I see before me?

2009-03-02 Thread Nigel Galloway
Is this a bug I see before me, or the mere manifestation of a new feature? Running a variation on my favorite mathprog: param a, integer; param b, integer; param guess, integer; var x, integer; var y, integer; s1: 1 = a*x+b*y = guess; solve; printf x= %i y= %i a*x+b*y= %i\n,x,y,a*x+b*y;

Re: [Help-glpk] Wrapping GLPK with SWIG using IAJAAR

2009-03-16 Thread Nigel Galloway
I decided to try netBeans Early Access release of their Python IDE, using of course IAJAAR for the test. If you want to use IAJAAR with Python 3.0.1 using netBeans on Windows the following URL contains binaries of everything you need, and an example project.

Re: [Help-glpk] Transport Problem advanced

2009-04-22 Thread Nigel Galloway
Look at qfit.mod in the glpk examples. When you have your table called Sample with i,j,and x defined set Sample; param i {z in Sample}; param j {z in Sample}; param x {z in Sample}; then somthing like: test{z in Sample}: varcost[i[z],j[z]] * x[i[z],j[z]] = 0; - Original Message -

Re: [Help-glpk] glpk gets a position :)

2009-07-06 Thread Nigel Galloway
Congratulations with glpk, A thouroughly deserved position. Even though the paper omitted 2 of glpk's best features: 1) It's implementation of AMPL realized in Mathprog. 2) This feture is included at no extra cost. Again, well done - keep up the good work, Nigel Galloway - Original

Re: [Help-glpk] GLPK for Pattern Recognition

2009-09-01 Thread Nigel Galloway
- Original Message - You may find that it helps to seperate finding the best fit from finding the points which define the line. When I was looking at this earlier in the year I came up with yacfs.mod (see glpk examples). BigMing that produces good results for test data which actually

Re: [Help-glpk] GLPK with C#

2009-10-22 Thread Nigel Galloway
The example has no error checking. Most likely is: it does not check the command line parameters you are supplying. You are supplying two positive integers, say 35 and 7? Ahh, you are not supplying any parameters. I hope the problem is a simple as that. Regards, Nigel Galloway - Original

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

2009-11-30 Thread Nigel Galloway
to an option you are passing to the compiler, and not the particular make tool. Cygwin is far too complicated and your code will have dependencies. Any timings may depend on how you've built Cygwin. Good Luck, Nigel - Original Message - From: Luiz M. M. Bettoni To: Nigel Galloway , help-glpk

Re: [Help-glpk] Mathprog question

2009-12-14 Thread Nigel Galloway
It is not necessary to rely on glpk for all your printing needs. You could pipe the output through gawk. Linux and DOS both provide sort utilities. - Original Message - From: Jeffrey Kantor To: xypron Cc: Help-glpk@gnu.org Subject: Re: [Help-glpk] Mathprog question Date: Sat,

Re: [Help-glpk] A new text-based data format for GLPK

2010-01-03 Thread Nigel Galloway
Or (more sensibly?) XML can be converted to formatted text for those who require it. The following may be interesting(Displaying Linear Programs and Their Solutions With XML and SVG): http://portal.acm.org/citation.cfm?id=1082118 - Original Message - From: Robbie Morrison

RE: [Help-glpk] A new text-based data format for GLPK

2010-01-08 Thread Nigel Galloway
produce good results. - Original Message - From: Robert Fourer 4...@northwestern.edu To: help-glpk@gnu.org Cc: 'Nigel Galloway' nigel_gallo...@operamail.com Subject: RE: [Help-glpk] A new text-based data format for GLPK Date: Sun, 3 Jan 2010 10:16:19 -0600 See also http

Re: [Help-glpk] Re: API friendliness Re: sensitivity analysis

2010-01-25 Thread Nigel Galloway
No, but if youi pass it using a void pointer or name it a widely used reserved word in Java; C++; or another language, then thats not too friendly. - Original Message - From: Andrew Makhorin m...@gnu.org To: Yingjie Lan lany...@yahoo.com Cc: help-glpk@gnu.org Subject: [Help-glpk]

[Help-glpk] Compiling glpsol.java using glpk_java.

2010-03-03 Thread Nigel Galloway
Xypron, The glpk_java distribution provides a Java interface to most of the glpk API. I think some improvements are needed to access glp_main and hence write glpsol in Java. Attched is glpsol.java, the comments indicate the changes needed to swig.i to enable it to function. If you are

[Help-glpk] Cross Platform IDE for mathprog development.

2010-03-12 Thread Nigel Galloway
I have submitted a plugin for glpk mathprog to jEdit called glpkIDEplugin. jEdit is an IDE written in Java. The inital release can be obtained from: https://sourceforge.net/tracker/?func=detailaid=2969336group_id=588atid=625093 It provides facilities to edit and run mathprog scripts. The

Re: [Help-glpk] Compiling glpsol.java using glpk_java.

2010-03-15 Thread Nigel Galloway
Xypron Nigel Galloway wrote: Xypron, The glpk_java distribution provides a Java interface to most of the glpk API. I think some improvements are needed to access glp_main and hence write glpsol in Java. ... -- View this message in context: http://old.nabble.com/Compiling

Re: [Help-glpk] Cross Platform IDE for mathprog development.

2010-03-17 Thread Nigel Galloway
avaialble. If you get it to work let me know and I'll include the instructions with the above. - Original Message - From: Jeffrey Kantor To: Nigel Galloway Subject: Re: [Help-glpk] Cross Platform IDE for mathprog development. Date: Mon, 15 Mar 2010 14:13:16 -0400 Nigel

Re: [Help-glpk] comments in csv data files

2010-05-17 Thread Nigel Galloway
I might have mentioned the benefits of XML before. It has been helpfully pointed out that a program may be written in grep to convert csv to XML. Careful research has revealed that Excel can read csv and save it as XML. How then to include the useful comments. It would be possible to include

Re: [Help-glpk] comments in csv data files

2010-05-17 Thread Nigel Galloway
I might have mentioned the benefits of XML before. You have helpfully pointed out that a program can be written in grep to convert csv to XML. After careful research I found that Excel can read csv and save it in XML. How then may your useful comments be added? One solution is to add the

Re: [Help-glpk] glpk and R (using SWIG)

2010-05-19 Thread Nigel Galloway
The benefits (and drawbacks of SWIG) have been widely discussed. Using the swig interface files discussed it is possible to produce wrappers for all glpk api in R, and add a few usful features. - Original Message - From: Eagle, Ken eag...@consolidated.net To: glpk xypron

Re: [Help-glpk] comments in csv data files

2010-05-19 Thread Nigel Galloway
a rich variety of modern tools to produce many formats including csv. - Original Message - From: Tor Myklebust tmykl...@csclub.uwaterloo.ca To: Nigel Galloway nigel_gallo...@operamail.com Subject: Re: [Help-glpk] comments in csv data files Date: Mon, 17 May 2010 20:32:43 -0400 (EDT

Re: [Help-glpk] comments in csv data files

2010-05-19 Thread Nigel Galloway
. - Original Message - From: Chris Wolf cw10...@gmail.com To: help-glpk@gnu.org, Nigel Galloway nigel_gallo...@operamail.com Subject: Re: [Help-glpk] comments in csv data files Date: Mon, 17 May 2010 11:29:00 -0400 As Andrew points out, there is not standard way to embed comments

Re: [Help-glpk] C# binding

2010-06-09 Thread Nigel Galloway
Also note that part of the reason d'etre of C# is that it is a .NET language and does not require bindings to interface to C++, see t1.cs in the glpk examples. Also note that swig produces C# bindings to any version of glpk, if you want them anyway. - Original Message - From: Noli

RE: [Help-glpk] C# binding

2010-06-09 Thread Nigel Galloway
- From: Meketon, Marc marc.meke...@oliverwyman.com To: Nigel Galloway nigel_gallo...@operamail.com Cc: help-glpk@gnu.org, Noli Sicad nsi...@gmail.com Subject: RE: [Help-glpk] C# binding Date: Wed, 9 Jun 2010 10:06:59 -0400 Thanks Nigel. I did not realize that t1.cs existed in the samples

Re: [Help-glpk] glpk and R (using SWIG)

2010-06-17 Thread Nigel Galloway
...@gmx.de To: Nigel Galloway nigel_gallo...@operamail.com Cc: Eagle, Ken eag...@consolidated.net, help-glpk@gnu.org Subject: Re: [Help-glpk] glpk and R (using SWIG) Date: Wed, 16 Jun 2010 00:36:54 +0200 Hello Nigel, the SWIG documentation on http://www.swig.org/Doc1.3/R.html says

Re: [Help-glpk] glpk and R (using SWIG)

2010-06-22 Thread Nigel Galloway
To: Nigel Galloway nigel_gallo...@operamail.com Cc: help-glpk@gnu.org, eag...@consolidated.net Subject: Re: [Help-glpk] glpk and R (using SWIG) Date: Thu, 17 Jun 2010 22:17:04 +0200 Hello Nigel, the proposed iajaar.h looks promising. Unfortunately the referenced download site http

[Help-glpk] glp_ios_del_row

2010-06-25 Thread Nigel Galloway
Andrew, Please do me a favour and look at glp_ios_del_row. When I attempt to compile test.cpp the linker generates the following error: Error: Unresolved external '_glp_ios_del_row' referenced from C:\NIGEL\R\BUILD\TEST.OBJ I think glp_ios_del_row is the only procedure I have a problem with.

Re: [Help-glpk] glp_ios_del_row

2010-06-28 Thread Nigel Galloway
*/ Thanks, Nigel - Original Message - From: Andrew Makhorin m...@gnu.org To: Andrew Makhorin m...@gnu.org Cc: Nigel Galloway nigel_gallo...@operamail.com, bug-g...@gnu.org, help-glpk@gnu.org Subject: Re: [Help-glpk] glp_ios_del_row Date: Sat, 26 Jun 2010 05:15:56 +0400 Please do

Re: [Help-glpk] glpk bat script for mingw

2010-07-05 Thread Nigel Galloway
You might find the following useful: http://www.mail-archive.com/help-glpk@gnu.org/msg03346.html - Original Message - From: Wendel Alexandre Xavier de Melo wendelalexan...@gmail.com To: help-glpk@gnu.org Subject: [Help-glpk] glpk bat script for mingw Date: Sun, 4 Jul 2010 01:04:39

[Help-glpk] IAJAAR.H, The Division Theorem, Swig, R, Java, and C++

2010-07-17 Thread Nigel Galloway
I am not saying that Euclid did a bad job, but The Division Theorem is very old. It is time for a new one. In order to demonstrate wrapping GLPK for R using SWIG and IAJAAR.H I present The Division Theorem as Euclid might have done it had he known about GLPK. The examples morph GLPK's

Re: [Help-glpk] RE: sample.c

2010-08-04 Thread Nigel Galloway
Have you compiled glpk using mingw? When you do that successfully you will have two files glpk4_44.dll and libglpk4_44.a When you have these copy them both into the same directory as sample.c and use -lglpk4_44 When this works move the dll and the archive to a safe_place and try

[Help-glpk] IAJAAR.H_C-C++.dev.7z

2010-08-09 Thread Nigel Galloway
I have added another fire to IAJAAR.H: https://sourceforge.net/projects/iajaarh/files/IAJAAR.H_C-C%2B%2B.dev.20100806.7z/download It expands the origional by including the library needed to compile the C++ example igst10yo.cpp. I also added sample.c to demonstrate using it with C and could not

re: [Help-glpk] IAJAAR.H_C-C++.dev.7z

2010-08-13 Thread Nigel Galloway
To: help-glpk@gnu.org Subject: [Help-glpk] IAJAAR.H_C-C++.dev.7z From: Nigel Galloway nigel_gallo...@operamail.com Date:Mon, 9 Aug 2010 13:30:50 +0100

re: [Help-glpk] IAJAAR.H_C-C++.dev.7z

2010-08-16 Thread Nigel Galloway
rob...@actrix.co.nz To: GLPK help list help-glpk@gnu.org Cc: Nigel Galloway nigel_gallo...@operamail.com Subject: re: [Help-glpk] IAJAAR.H_C-C++.dev.7z Date: Mon, 16 Aug 2010 04:40:43 +1200 (NZST) Hello Nigel Unfortunately I could not open the file 'I have a nephew.xps' as XPS

Re: [Help-glpk] Compiling for 64bit Windows with Visual Studio Express 2010

2010-09-24 Thread Nigel Galloway
Any Visual Studio edition will have a Terminal (Command Line) application. If you run the compile script from this application (or run this application with the script as a parameter) it will set the environment variables suitable for the sysytem, without the script calling vcvars or anything

Re: [Help-glpk] [Fwd: CMAKE build environment (and version control)]

2010-12-12 Thread Nigel Galloway
I would support using cmake because of it's cross platform capabilities. In order to make GLPKIDE for jEdit buildfiles using Ant are required (I have some if anyone wants them). Note that http://code.google.com/p/cmakeant/ promises a tool that: Provides a simple ant task to integrate cmake

[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.

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

Re: [Help-glpk] Re: ANNOUNCEMENT: OptimJ solver link for GLPK/Java

2011-01-19 Thread Nigel Galloway
Perhaps, but to me OptimJ looks like a compiler. Would you object to non open source compilers or debuggers which also have to link with GLPK? - Original Message - From: Andrew Makhorin m...@gnu.org To: maxcach...@gmail.com Cc: help-glpk@gnu.org Subject: [Help-glpk] Re:

Re: [Fwd: Re: [Help-glpk] ANNOUNCEMENT: OptimJ solver link for GLPK/Java]

2011-01-21 Thread Nigel Galloway
OptimJ does not link to glpk. To use glpk you download an examples set which includes a directory 'OptimJ samples - GLPK Binaries' which contains a compiled glpk 4.36 dll and a java jar file. The source to produce the java jar file is included in 'OptimJ 1.3.10 samples - GLPK\OptimJ samples -

[Help-glpk] Solving KenKen problems using CMPL and GLPK

2011-01-25 Thread Nigel Galloway
Andrew, Thanks for the link, CMPL is a useful addition to GLPK. Attached is kenken903.gen and kenken.rules. If you wish to have an example of using glpk with cmpl (which is difficult to do in mathprog) please feel free to include them in the glpk examples. The attached solve the following

Re: [Help-glpk] [Fwd: PyGLPK or python-glpk]

2011-01-25 Thread Nigel Galloway
Kevin, You may wish to try building the bindings using SWIG, see: http://lists.gnu.org/archive/html/help-glpk/2007-05/msg00076.html and http://lists.gnu.org/archive/html/help-glpk/2009-03/msg00023.html SWIG is well documented and included with most recent linux distributions. It is the

Re: [Help-glpk] Solving KenKen problems using CMPL and GLPK

2011-01-27 Thread Nigel Galloway
Attached are the rules and data for Sudoku 25x25. You are free to use them, and the KenKen example, in your manual. - Original Message - From: Prof. Dr. Mike Steglich mike.stegl...@tfh-wildau.de To: Nigel Galloway nigel_gallo...@operamail.com Cc: Andrew Makhorin m...@gnu.org, Thomas

[Help-glpk] Solving Hidato problems using CMPL and GLPK.

2011-01-29 Thread Nigel Galloway
The joy continues. Is there anything one can not do with CMPL and GLPK. We must get from 1 to 42 passing through the fixed cells in sequence. -1 indicates that the cell is not used: x, x,11,12,42, x, x 8, 6, x, x,16,17, x 7, x, x,-1, x, x,38 3, x,-1,-1,-1, x,20 x, 1,-1,-1,-1, x,36 28,26,

[Help-glpk] Callback using IAJAAR (Python and Java examples)

2011-02-01 Thread Nigel Galloway
Who so beset me round with dismal stories. The Python and Java examples described below can be compiled using the swig input file: http://master.dl.sourceforge.net/project/iajaarh/Callback_examples/IAJAAR_H.swg.xps test.py

Re: [Help-glpk] Re: Java GLPK to Javascript GLPK bindings

2011-03-25 Thread Nigel Galloway
: http://p2p.wrox.com/javascript/17313-how-call-dll-method-javascritp-urgent.html My executive summary would be: don't. -- Nigel Galloway nigel_gallo...@operamail.com On Tue, 22 Mar 2011 09:09 +1100, Noli Sicad nsi...@gmail.com wrote: Hi Xypron, This project might not be as relevant

Re: [Help-glpk] Re: Java GLPK to Javascript GLPK bindings

2011-03-29 Thread Nigel Galloway
, and display the result page. Good Luck, -- Nigel Galloway nigel_gallo...@operamail.com On Mon, 28 Mar 2011 12:06 +1100, Noli Sicad nsi...@gmail.com wrote: If one wants to do something looking for a tool is OK, but better is to understand what you want to do. The following dyslexic link may

Re: [Help-glpk] Option to set to generate all solutions

2011-04-14 Thread Nigel Galloway
so. Perhaps in this railway case you could be modern and politcally correct by factoring in an environmental cost and selecting the route with the lowest carbon footprint. -- Nigel Galloway [1]nigel_gallo...@operamail.com On Tue, 12 Apr 2011 14:49 -0500, Meketon, Marc marc.meke...@oliverwyman.com

Re: [Help-glpk] [Fwd: New input method.]

2011-04-23 Thread Nigel Galloway
, the Sparse Matrix class is seperate code which compiles and functions independantlly of COIN. -- Nigel Galloway [1]nigel_gallo...@operamail.com On Fri, 22 Apr 2011 19:49 +0200, Pierre Parent pierre.par...@insa-rouen.fr wrote: Thank you for answering. I do agree that we could think of a lot

Re: [Help-glpk] Calling GLPK successively/iteratively/recurisvely for nonlinear problems.

2011-04-26 Thread Nigel Galloway
See t1.cs in the examples directory -- Nigel Galloway [1]nigel_gallo...@operamail.com On Mon, 25 Apr 2011 07:33 -0400, Kelly, Jeff (ON0F) jeff.ke...@honeywell.com wrote: All; I am wondering if anybody calls GLPK iteratively/successively/recursively to solve nonlinear problems similar

Re: [Help-glpk] Calling GLPK successively/iteratively/recurisvely for nonlinear problems.

2011-04-28 Thread Nigel Galloway
a way to provide the rules. -- Nigel Galloway [1]nigel_gallo...@operamail.com On Tue, 26 Apr 2011 09:42 -0400, Kelly, Jeff (ON0F) jeff.ke...@honeywell.com wrote: Nigel – thanks. Is there anyway to save the basis so that from major iteration to major iteration it can use a “warm-start” when

[Help-glpk] We live in a world of hidden inequalities

2011-05-05 Thread Nigel Galloway
. -- Nigel Galloway nigel_gallo...@operamail.com -- http://www.fastmail.fm - Faster than the air-speed velocity of an unladen european swallow ___ Help-glpk mailing list Help-glpk@gnu.org https://lists.gnu.org/mailman

Re: [Help-glpk] [Fwd: Suppressing output]

2011-05-14 Thread Nigel Galloway
inequality monsters hiding under the bed. -- Nigel Galloway nigel_gallo...@operamail.com On Thu, 12 May 2011 17:04 +0400, Andrew Makhorin m...@gnu.org wrote: Forwarded Message From: Páidí Creed paidicr...@gmail.com To: help-glpk@gnu.org Subject: Suppressing output Date

Re: [Help-glpk] [Fwd: unable to call method from glpk_4_45.dll]

2011-06-28 Thread Nigel Galloway
In the case that you have compiled glpk with Visual C++ you will have created a dll and a .lib file. The easiest (normal) way to the use this in a C# project is to make the C++ glpk project a dependancy for the C# project and include the .lib file. -- Nigel Galloway nigel_gallo

Re: [Help-glpk] type of variables

2011-09-05 Thread Nigel Galloway
Do you obtain this value with GLPK.glp_get_mip_col_val ? -- Nigel Galloway [1]nigel_gallo...@operamail.com On Mon, 05 Sep 2011 09:52 +0200, name name ono...@gmail.com wrote: Hello, I have a very strange problem I solve un Lp problem but the and the value of my variables are not ineger I

Re: [Help-glpk] type of variables

2011-09-05 Thread Nigel Galloway
to perform Integer Optimization. Having done this there are different routines to obtain the integer optimal solution as opposed to the linear solution. -- Nigel Galloway [1]nigel_gallo...@operamail.com On Mon, 05 Sep 2011 14:26 +0200, name name ono...@gmail.com wrote: On Mon, Sep 5, 2011 at 1:18 PM

Re: [Help-glpk] type of variables

2011-09-06 Thread Nigel Galloway
in glp_print_mip are to the values in glp_print_sol if you just rounded them. -- Nigel Galloway [1]nigel_gallo...@operamail.com On Sep 5 ’11, name name ono...@gmail.com wrote: I solve it with glp_simplex(lp, parm) routine On Mon, Sep 5, 2011 at 2:54 PM, Nigel Galloway [2]nigel_gallo

[Help-glpk] (no subject)

2011-11-06 Thread Nigel Galloway
the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. RUN FAILED (exit value 3, total time: 4s) -- Nigel Galloway nigel_gallo...@operamail.com -- http://www.fastmail.fm - One of many happy users: http://www.fastmail.fm/docs

Re: [Help-glpk] Embedding a mathprog model in latex

2011-11-13 Thread Nigel Galloway
A cheating way to do this is to use an editor which saves the source code as HTML (inc colours), arrange it (if required using an html editor), and then use an html to latex converter (if you must). -- Nigel Galloway nigel_gallo...@operamail.com On Saturday, November 12, 2011 4:02 AM

Re: [Help-glpk] [Fwd: memory]

2011-11-25 Thread Nigel Galloway
it is unexpected. -- Nigel Galloway nigel_gallo...@operamail.com On Friday, November 25, 2011 12:11 AM, Andrew Makhorin m...@gnu.org wrote: Forwarded Message From: Ronald Wolthoff ronald.p.wolth...@gmail.com To: help-glpk@gnu.org Subject: memory Date: Thu, 24 Nov 2011

Re: [Help-glpk] [Fwd: Can't load IA 32-bit .dll on a AMD 64-bit platform]

2011-11-28 Thread Nigel Galloway
Are you able to compile glpk as a 64 bit dll? -- Nigel Galloway nigel_gallo...@operamail.com On Monday, November 28, 2011 2:39 AM, Andrew Makhorin m...@gnu.org wrote: Forwarded Message From: Alik Peltinovich alik...@gmail.com To: help-glpk@gnu.org Subject: Can't load

Re: [Help-glpk] glp_ios_heur_sol

2011-11-28 Thread Nigel Galloway
contact Nigel Galloway. Best regards Xypron There is also quite a lot of introductory material on IAJAAR, including sample java code, in the GLPK wikibook: http://en.wikibooks.org/wiki/GLPK/IAJAAR.H_project best wishes, Robbie --- Robbie Morrison PhD student -- policy-oriented

Re: [Help-glpk] Indicator constraints

2011-12-17 Thread Nigel Galloway
than any positive number in the number system but greater than zero. Whats required is a number greater than any number in the number system, such that any operation performed on it results in a number outside the real number system. -- Nigel Galloway nigel_gallo...@operamail.com On Fri, Dec

Re: [Help-glpk] Viewing input constraints in Java

2011-12-30 Thread Nigel Galloway
. -- Nigel Galloway nigel_gallo...@operamail.com On Thu, Dec 29, 2011, at 02:11 PM, Powers II II, Raymond J wrote: Hello, I am using glpk-java to solve a network flow LP using the simplex solver (smcp). The solver has solved a few instances correctly, but not all (even simple ones). My belief

[Help-glpk] Ramsey, GLPK, chrestomathy

2012-01-07 Thread Nigel Galloway
/Solution_Ramsey_Mathprog -- Nigel Galloway nigel_gallo...@operamail.com -- http://www.fastmail.fm - Email service worth paying for. Try it for free ___ Help-glpk mailing list Help-glpk@gnu.org https://lists.gnu.org/mailman/listinfo/help-glpk

Re: [Help-glpk] Ramsey, GLPK, chrestomathy

2012-01-19 Thread Nigel Galloway
with scalar variables. -- Nigel Galloway nigel_gallo...@operamail.com On Tue, Jan 17, 2012, at 08:28 PM, Andrew Makhorin wrote: Hi Nigel, Chrestomathy is my word for 2012. Don't worry I don't know what it means, looks like it may have escaped from Greek and is seeking refuge

Re: [Help-glpk] Podhradsky (2010) review of optimization modeling languages

2012-01-21 Thread Nigel Galloway
time depends upon which MILP problem format is used? Perhaps languages for LP/MIP require a Chrestomathy so that we can do this research properly. -- Nigel Galloway nigel_gallo...@operamail.com On Fri, Jan 20, 2012, at 11:09 PM, Robbie Morrison wrote: Hello all Those interested

Re: [Help-glpk] [Fwd: Can MathProg Translator generate C or C++ code snippet?]

2012-02-09 Thread Nigel Galloway
KuKu3 does this using MPS as the simple to load representation of the matrix elements. Translating MPS into FML and vv is reasonably easy. Building FML into glpk would be convinient. -- Nigel Galloway nigel_gallo...@operamail.com On Thu, Feb 9, 2012, at 10:27 AM, Harley Mackenzie wrote

Re: [Help-glpk] [Fwd: Re: Building a graph on the fly]

2012-04-17 Thread Nigel Galloway
be useful. This document could be used to define the wrapper, which probably is needed for Java. -- Nigel Galloway nigel_gallo...@operamail.com On Tue, Apr 17, 2012, at 06:18 PM, Andrew Makhorin wrote: Forwarded Message From: Sylvain Fournier sylv...@wplex.com.br

Re: [Help-glpk] Complexity of MILP

2012-09-18 Thread Nigel Galloway
, and so take the same time to solve (or not!). -- Nigel Galloway [2]nigel_gallo...@operamail.com On Tue, Sep 18, 2012, at 02:23 AM, esma mehiaoui wrote: Hello everyone, I am befog in front of the execution times that i get when i run my MILP formulation. For instance: When i run

Re: [Help-glpk] jEdit 5.opre1 and glpkIDE plugin in Mac OS X

2012-11-01 Thread Nigel Galloway
directory and jEdit's plugin manager used to make jEdit aware of and enable it. -- Nigel Galloway nigel_gallo...@operamail.com On Sat, Oct 27, 2012, at 09:12 PM, Meketon, Marc wrote: jEdit is not listed in the wiki-books (https://en.wikibooks.org/wiki/GLPK/Cross_Platform_IDEs). Might be nice

Re: [Help-glpk] MIP Solvers (i.e CBC, CPLEX, GLPK, GUROBI, LPSOLVE, SCIPC, SCIPL, SCIPS and XPRESS) Benchmark

2012-11-18 Thread Nigel Galloway
), it is able to read MathProg / GMPL models but not reading back the results. https://projects.coin-or.org/Cbc/ticket/108 It would be nice to have an alternative MIP solver for MathProg. LPSOLVE can read and solve mathprog. -- Nigel Galloway nigel_gallo...@operamail.com Thanks. Noli

Re: [Help-glpk] language and clarity

2012-12-20 Thread Nigel Galloway
As a native english speaker let me deny, on all our behalf, resposibility for users of internet slang. see http://www.internetslang.com/W_2F-meaning-definition.asp -- Nigel Galloway nigel_gallo...@operamail.com On Wed, Dec 19, 2012, at 11:58 AM, Robbie Morrison wrote: Hi all Just

Re: [Help-glpk] Linking error in AIX 6.1 for glpk 4.47

2012-12-31 Thread Nigel Galloway
. -- Nigel Galloway nigel_gallo...@operamail.com On Sun, Dec 30, 2012, at 06:43 AM, Souvik Sutradhar wrote: Hello Heinrich , Thanks for replying. Below are the installation steps for GLPK 1. ./configure CC=xlC128_r --prefix=/data4/balios/glpk-4.47/glpkgenerated 2. make 3. make install I

  1   2   >