[Fwd: GLPK doubt]

2024-02-07 Thread Andrew Makhorin
Forwarded Message Date: Wed, 7 Feb 2024 16:17:04 -0300 Subject: GLPK doubt To: help-glpk@gnu.org From: Nicolas Herculano Pires > Dear esteemed GNU colleague, > > I hope this message finds you well. I am writing to address an issue I > have encountered with GLPK, albeit it may

Re: [Fwd: GLPK CMake build configuration (Windows)]

2024-01-29 Thread Andrew Makhorin
On Mon, 2024-01-29 at 12:25 -0500, Derek Huang wrote: > Hi, >   > Quick update on this—I tried rebuilding clean again using the > CMakeLists.txt and realized there is an issue with the glpk_5_0.def > files in ./w32 and ./w64 since they list glp_netgen_prob as an export, > but it has no definition

[Fwd: GLPK CMake build configuration (Windows)]

2024-01-27 Thread Andrew Makhorin
Forwarded Message Date: Sat, 27 Jan 2024 00:30:37 -0500 Subject: GLPK CMake build configuration (Windows) To: help-glpk@gnu.org From: Derek Huang > Hi, > My name is Derek Huang; I am currently a quant [developer] at TD > Securities. I needed to use GLPK at work on Windows but

[Fwd: Question to GLPK installation]

2023-12-13 Thread Andrew Makhorin
Forwarded Message From: Mario Linsenmeyer To: help-glpk@gnu.org Subject: Question to GLPK installation Date: Wed, 13 Dec 2023 19:54:08 +0100 Hello all,   I don't know whether you are still answering at this email address but I try it.   I have used GLPK during my study time and

[Fwd: ANTONIO Carlos Moretti ]

2023-07-24 Thread Andrew Makhorin
Forwarded Message Date: Mon, 24 Jul 2023 11:55:59 -0300 Subject: To: help-glpk@gnu.org From: ANTONIO Carlos Moretti > Hello,I want to set the parameter presolve in the glp_intopt. > I have no idea in how to do that. > Can you,please, help me. > Thanks in advance > Antonio >

[Fwd: GLPK]

2023-07-05 Thread Andrew Makhorin
Forwarded Message From: Adolfo Roquero To: m...@gnu.org Subject: GLPK Date: Wed, 5 Jul 2023 12:44:48 +0200 > Dear Mao, > My name is Adolfo and I have been struggling for the past 2 weeks to > install the GLPK solver to be used with cvxpy in a docker container. I > have spent an

[Fwd: Re: [Fwd: Re: [Fwd: MathProg set vs param]]]

2023-05-28 Thread Andrew Makhorin
Forwarded Message Date: Sun, 28 May 2023 14:08:46 -0300 Subject: Re: [Fwd: Re: [Fwd: MathProg set vs param]] Cc: help-glpk@gnu.org, Andrew Makhorin To: Jeff Kantor From: Code Raguet >   > > The ’set’ and ‘param’ statements need to be considered from > >

[Fwd: MathProg set vs param]

2023-05-27 Thread Andrew Makhorin
Forwarded Message From: Code Raguet To: help-glpk@gnu.org Subject: MathProg set vs param Date: Sat, 27 May 2023 19:51:01 -0300 > Hi, there! > I'm new to MathProg (and LP) but I have several years as a software > developer. > I would like to understand the semantic differences

Re: Glpk and R

2023-03-16 Thread Andrew Makhorin
On Wed, 2023-03-15 at 13:02 +, Ma, Lingjie wrote: > Hi,  Mr. Mao,  > > I have some quantile regression type portfolio optimization programs > which needs to call glpk package in R.  > > My question is how to call glpk with R? please see https://en.wikibooks.org/wiki/GLPK/R > > Thanks, >

[Fwd: Integer solutions]

2023-01-18 Thread Andrew Makhorin
Forwarded Message Date: Tue, 17 Jan 2023 20:33:01 -0800 Subject: Integer solutions To: 'Help-glpk@gnu.org' From: neillcl...@gmail.com > Hi, > If I call glp_simplex without specifying that any variables be > integers and then call glp_intop it looks like it at least makes the >

[Fwd: Using the summation operator with GLPK.]

2022-11-01 Thread Andrew Makhorin
Forwarded Message Date: Mon, 31 Oct 2022 20:46:36 +Subject: Using the summation operator with GLPK.To: help-glpk@gnu.org From: philliprusso So from reading the documentation I guess that GLPK can read a file in and that there are a number of formats to be using. So I would

Re: Is glpk available for commercial deployment

2022-10-27 Thread Andrew Makhorin
On Thu, 2022-10-27 at 06:02 +, ajit.a.mu...@shell.com wrote: > Hi, >   > I am using glpk for an optimisation problem. > I was wondering if the tool that I have developed needs to > commercialized, can I use the glpk for the commercial purpose. Please see

Re: Linear Program Optimal Extreme Points

2022-10-18 Thread Andrew Makhorin
The following article by Katta Murty, "A Problem in Enumerating Extreme Points, and an efficient Algorithm.", sheds some light on the issue; see http://www-personal.umich.edu/~murty/segments.pdf

Re: Dual negative values in optimal table

2022-10-15 Thread Andrew Makhorin
On Sat, 2022-10-15 at 23:24 -0400, Hector Arciniegas wrote: > Greetings, I don't understand why negative dual values appear in an > optimal simplex table. Thanks. Because your constraints are double-bounded, in which case dual values (= lagrangian multipliers) can have any sign. > > > MODELO

[Fwd: Linear Program Optimal Extreme Points]

2022-10-06 Thread Andrew Makhorin
Forwarded Message From: Prabhu Manyem To: fuk...@math.ethz.ch, Andrew Makhorin , avis@cs.mcgill.c a Subject: Linear Program Optimal Extreme Points Date: Thu, 6 Oct 2022 10:04:22 +1030 Dear Andrew, Komei, David, I am a retired Maths professor in Adelaide, Australia. About

[Fwd: Inquiry about using GNU MathProg]

2022-10-02 Thread Andrew Makhorin
Forwarded Message Date: Sun, 2 Oct 2022 19:14:51 + (UTC) Subject: Inquiry about using GNU MathProg Cc: basma Mamdouh To: help-glpk@gnu.org From: basma mohamed Dear GLPK developers and helpers, After greeting, I recently started to use lp_solve for optimizing the

[Fwd: For help]

2022-08-12 Thread Andrew Makhorin
Forwarded Message Date: Fri, 12 Aug 2022 11:18:40 +0800 Subject: For help To: help-glpk@gnu.org From: travelor <1085886...@qq.com> > Hello, I'm having some trouble, could you tell me some parameter > for GLPK to optimizing many Linear problem? > I understarded many usage, such

[Fwd: MIP solution/optimisation process information]

2022-07-14 Thread Andrew Makhorin
Forwarded Message From: Pedro Magalhães To: help-glpk@gnu.org Subject: MIP solution/optimisation process information Date: Thu, 14 Jul 2022 10:32:31 +0200 > Hello, > > I've recently realised that GLPK/GLPSOL only writes a limited amount > of  > information to solution files,

Re: Maximum independent set computation

2022-07-05 Thread Andrew Makhorin
Hi Prabhu, Thank you for your interest in glpk and the link to your article. I think you may be interested in challenge MIS problems, some of which were used on testing glpk; see https://oeis.org/A265032/a265032.html . Best regards, Andrew Makhorin On Tue, 2022-07-05 at 10:38 +0930, Prabhu

Re: GLPK library for Dev-C++

2022-07-04 Thread Andrew Makhorin
uild the library in glpk-5.0/setup.job (it is a plain text file). Best regards, Andrew Makhorin > > Another way to solve the problem wuld be to make a "header only  > library", by putting all the code in a ".h" file. This is what the  > designers of the

Re: 'module' object has no attribute 'LPX'

2022-07-04 Thread Andrew Makhorin
not maintained anymore for a long time. Try to look at https://en.wikibooks.org/wiki/GLPK/Python ; this may help. Best regards, Andrew Makhorin >   > From: Alireza Asadi  > Sent: Thursday, June 30, 2022 7:52 PM > To: Andrew Makhorin > Cc: help-glpk@gnu.org > Subject: Re:

[Fwd: GLPK library for Dev-C++]

2022-06-30 Thread Andrew Makhorin
Forwarded Message From: Christian Prins To: m...@gnu.org Subject: GLPK library for Dev-C++ Date: Thu, 30 Jun 2022 11:54:03 +0200 > Dear Andrei, > > I am a professor of operations research and industrial engineering at  > the University of Technology of Troyes, France. > > I

Re: 'module' object has no attribute 'LPX'

2022-06-30 Thread Andrew Makhorin
On Thu, 2022-06-30 at 12:14 +, Alireza Asadi wrote: > Hi all, >   > Any idea how to solve this problem? I googled a lot but no luck ☹ Please provide more detailed information. Thanks. >   >   > Kind regards, > > Alireza Asadi >   >  

[Fwd: GLPK Linear Programming solver]

2022-06-28 Thread Andrew Makhorin
Forwarded Message From: Prabhu Manyem To: Andrew Makhorin , Neill Clift Subject: GLPK Linear Programming solver Date: Tue, 28 Jun 2022 14:39:01 +0930 > Hello, > > About the GLPK Linear Programming solver 5.0, running Linear > Programming models: > > For so

Re: Removing Redundant Constraints in LP

2022-06-14 Thread Andrew Makhorin
to the corresponding routines (see glpk/src/npp/*.c). Best regards, Andrew Makhorin > > Dr Prabhu Manyem, > Retired Professor of Applied Mathematics, > Adelaide Australia >

[Fwd: GUSEK exercise review support request]

2022-06-04 Thread Andrew Makhorin
Forwarded Message Date: Fri, 3 Jun 2022 16:46:42 -0500 Subject: GUSEK exercise review support request To: m...@gnu.org From: Román Leonardo Rodriguez Florián > Kind regards Andrew, > > I hope you are very well, I would like to ask for your support, if you > can help me by

Re: GLPK Dualprices

2022-05-29 Thread Andrew Makhorin
atters is that the solution found is optimal. > > Best regards > > Harald > > Am 29.05.2022 um 18:36 schrieb Andrew Makhorin: > > Hi Harald, > > > > > > On Sun, 2022-05-29 at 08:39 +0200, Harald Mumm wrote: > > > Hallo Andrew, > > > &g

[Fwd: Re: GLPK Dualprices]

2022-05-29 Thread Andrew Makhorin
Forwarded Message From: Andrew Makhorin To: Harald Mumm Subject: Re: GLPK Dualprices Date: Sun, 29 May 2022 19:36:20 +0300 > Hi Harald, > > > On Sun, 2022-05-29 at 08:39 +0200, Harald Mumm wrote: > > Hallo Andrew, > > > > is it possible, that G

[Fwd: GLPK Dualprices]

2022-05-29 Thread Andrew Makhorin
Forwarded Message From: Harald Mumm To: m...@gnu.org Subject: GLPK Dualprices Date: Sun, 29 May 2022 08:39:28 +0200 > Hallo Andrew, > > is it possible, that GLPK sometimes calculates wrong dual prices? > > I send you an example  in the attachment,  where CPLEX calculates > >

Re: GLPK memory problem

2022-05-04 Thread Andrew Makhorin
> > On 3/5/22 13:11, Andrew Makhorin wrote: > > On Tue, 2022-05-03 at 06:38 +, Georgios Avgerinopoulos wrote: > > > Hey Community! > > >    > > > Just ran into the following problem > > >    > > > > > >    > >

Re: GLPK memory problem

2022-05-03 Thread Andrew Makhorin
On Tue, 2022-05-03 at 06:38 +, Georgios Avgerinopoulos wrote: > Hey Community! >   > Just ran into the following problem >   > >   > glp_alloc: no memory available > Error detected in file ..\src\env\alloc.c at line 91 >   > We've got plenty of memory (both RAM and hard drive). >   > Any

[Fwd: Discussion on GLPK]

2022-04-19 Thread Andrew Makhorin
Forwarded Message Date: Tue, 19 Apr 2022 10:00:54 +0800Subject: Discussion on GLPKTo: help -glpk@gnu.orgFrom: jimingyue <20s103...@stu.hit.edu.cn>Dear developer, Hope you are well! Recently, I use GLPK to solve a LP problem in my graduation project. My coefficient matrix is very

[Fwd: identifying infeasible problem without using the LP presolver]

2022-03-21 Thread Andrew Makhorin
Forwarded Message From: Will Tipton To: help-glpk@gnu.org Cc: John Rice Subject: identifying infeasible problem without using the LP presolver Date: Mon, 21 Mar 2022 11:15:44 -0400 > Hi help-glpk, > > We're using GLPK's simplex algorithm to solve some medium-sized lp >

[Fwd: gmpl question]

2021-12-17 Thread Andrew Makhorin
Forwarded Message From: Davor Ocelic To: m...@gnu.org Subject: gmpl question Date: Fri, 17 Dec 2021 10:07:38 +0100 Heya, I would appreciate minimal help with gmpl if you could: In the glpk example `assign.mod`, the constraint is that an agent can have only one task assigned:

Re: GLPK won't load its own exported MPS file

2021-11-01 Thread Andrew Makhorin
On Mon, 2021-11-01 at 11:47 +, Sierra Ansuas, Juan Pablo wrote: > Hello, >   > I am trying to write a MPS file and then load it but I appear to be > doing something wrong. >   > 1.   glp_write_mps(prob, GLP_MPS_FILE,NULL, “file.mps”); > 2.   glp_read_mps(prob, GLP_MPS_FILE, NULL,

[Fwd: Re: Simplifications de glpsol]

2021-10-10 Thread Andrew Makhorin
Forwarded Message Date: Sun, 10 Oct 2021 13:58:47 +0200 Subject: Re: Simplifications de glpsol To: help-glpk@gnu.org From: guy chevalier > I translate my precedent email in English :Good morning,  > > I have a constraint x+y+z<=2 in glpsol model and I would like to know > if

[Fwd: Guidance for import data in gusek from excel table]

2021-09-27 Thread Andrew Makhorin
Forwarded Message Date: Mon, 27 Sep 2021 19:33:19 -0300 Subject: Guidance for import data in gusek from excel table To: help-glpk@gnu.org From: Sagarkumar Patel > Hello Team, > I wrote down a program for my final year project. The program works > perfectly but I want to make

[Fwd: Presolve]

2021-09-22 Thread Andrew Makhorin
Forwarded Message Date: Wed, 22 Sep 2021 18:16:56 + Subject: Presolve To: help-glpk@gnu.org From: Javad Ahmadi > > > > > > > > > Does GLPK provide access or output the pre-solve model? > If so please advise. >   > Regards, J. Ahmadi >   >   > > > > > > Nothing

[Fwd: Feeding an initial feasible solution to GLPK for MILP in CVXPy]

2021-09-09 Thread Andrew Makhorin
Forwarded Message Date: Thu, 9 Sep 2021 15:49:30 + Subject: Feeding an initial feasible solution to GLPK for MILP in CVXPy To: help-glpk@gnu.org From: "Vasebi, Saeed [JJCUS]" > > > > > > > > > Hi all, >   > I have a MILP problem in GLPK, using CVXPy library. GLPK

[Fwd: help for gusek]

2021-07-15 Thread Andrew Makhorin
Forwarded Message Date: Thu, 15 Jul 2021 13:27:24 +0200 Subject: help for gusek To: help-glpk@gnu.org From: Adrien T > Hello, > > I would like to use the Gusek solver to optimize a problem but in > order to avoid a too long calculation I would like to be able to stop > the

[Fwd: help for glpk]

2021-06-27 Thread Andrew Makhorin
Forwarded Message From: yege...@sina.com Reply-to: yege...@sina.com To: mao Subject: help for glpk Date: Sun, 27 Jun 2021 11:57:36 +0800 > Hi Andrew, > How are you? Sorry for bother you. I have some questions about > glpk,I will be very appreciated if I can get some help

[Fwd: Constraint not respected]

2021-06-22 Thread Andrew Makhorin
Forwarded Message Date: Tue, 22 Jun 2021 09:25:01 +0200 Subject: Constraint not respected To: help-glpk@gnu.org From: Gioia Lorusso > Hi GLPK team,I am using GLPK and I am struggling in understanding why > an upper bound constraint is not respected.  > I have submitted a

[Fwd: Include Examples in Documentation Showing Usage]

2021-06-09 Thread Andrew Makhorin
Forwarded Message From: Dario Strbenac To: help-glpk@gnu.org Subject: Include Examples in Documentation Showing Usage Date: Wed, 9 Jun 2021 07:00:09 + Good day, The README and INSTALL files contain only details to compile the software. Could there be a vignette provided

Re: The notes in English?

2021-06-05 Thread Andrew Makhorin
On Sat, 2021-06-05 at 12:16 +0200, Tadeus Prastowo wrote: > Hello, > > After downloading GLPK 5.0 tarball, I see some PDF notes written in > Russian in the directory ./glpk-5.0/doc/notes. > > By any chance, are the English translations of the PDF notes available > somewhere? AFAIK google has

Re: Solver delivers wrong answer when 2 constraints are close

2021-03-04 Thread Andrew Makhorin
On Thu, 2021-03-04 at 17:47 +0100, Heinrich Schuchardt wrote: > On 3/4/21 4:44 PM, Antti Lehtila wrote: > > Hi, > > > > I think it works fully as documented, and so *per design*. Singleton > > rows are treated as column bounds by the preprocessor. See > > documentation > > for

Re: [Fwd: What is this format?]

2021-01-26 Thread Andrew Makhorin
On Tue, 2021-01-26 at 16:36 +0100, Alexandre Garreau wrote: > Le mardi 26 janvier 2021, 16:12:24 CET Domingo Alvarez Duarte a écrit > : > > Where is GLPK 6.0 available ? > > > > It's the first time I hear of it, and it's not available at > > https://ftp.gnu.org/gnu/glpk/ . > > Mine is below 5.0

Re: [Fwd: What is this format?]

2021-01-26 Thread Andrew Makhorin
On Tue, 2021-01-26 at 16:12 +0100, Domingo Alvarez Duarte wrote: > Where is GLPK 6.0 available ? Sorry, I meant 5.0 :) > > It's the first time I hear of it, and it's not available at  > https://ftp.gnu.org/gnu/glpk/ . > > On 26/1/21 15:57, Andrew Makhorin wrote: > >

Re: [Fwd: What is this format?]

2021-01-26 Thread Andrew Makhorin
iquer[o] >= 1; > > solve; > > #display duree, planches, profit; > printf "Il faut fabriquer :\n"; > printf{i in objets} "%f objet(s) %d\n", aFabriquer[i], i; > printf "Il faut fabriquer :%f\n", result; > > data; > > param N := 5;

[Fwd: What is this format?]

2021-01-26 Thread Andrew Makhorin
Forwarded Message From: Alexandre Garreau To: help-glpk@gnu.org Subject: What is this format? Date: Tue, 26 Jan 2021 11:46:03 +0100 Hello, In my university, they use cplex for teaching linear programming, and I’d  like not to install anything proprietary on my computer, but I

[Fwd: GLPK usage for Eclipse C++ project]

2021-01-06 Thread Andrew Makhorin
Forwarded Message From: Mahmut Yavuzer To: help-glpk@gnu.org Subject: GLPK usage for Eclipse C++ project Date: Wed, 6 Jan 2021 14:31:28 + Hi,   I have downloaded glpk-4.65 unpacked to the directory C:\progs\glpk- 4.65. I have added environment variable

[Fwd: Question for infeasible LP problem]

2021-01-04 Thread Andrew Makhorin
Forwarded Message Date: Mon, 4 Jan 2021 23:23:17 + Subject: Question for infeasible LP problem To: help-glpk@gnu.org From: "Du, Jeanette" > > > > > > > > > Hello, >   > I am relatively new to GLPK LP solver. Is there a way to find out the > constraint(s) that cause

Re: glpk 5.0 release information

2020-12-20 Thread Andrew Makhorin
.html This bug is not fixed yet, because both ssx_chuzc and ssx_chuzr will be replaced by new versions. > > This one  > https://github.com/mingodad/GLPK/commit/c7abf466f0e31b3eeb1cf1bfd2b7c0 > dc8e05edad  > apparently I've got a the mailing list link wrongly. > > Cheers ! >

Re: glpk 5.0 release information

2020-12-16 Thread Andrew Makhorin
orts fixed by the changes above? Thank you. Andrew Makhorin

Re: MathProg grammar in EBNF

2020-12-02 Thread Andrew Makhorin
On Wed, 2020-12-02 at 11:27 -0300, Germán Ferrari wrote: > Hi. > > I couldn't find the MathProg grammar in EBNF You can find all the grammar productions actually used by parsing routines in comments to these routines;  see glpk/src/mpl/mpl1.c and mpl2.c. For example:

Re: Help: Switch constraints on or off

2020-11-24 Thread Andrew Makhorin
On Tue, 2020-11-24 at 18:59 +, Manuel Castro wrote: > Hi there, > > I am wondering how I can use an if statement to turn a constraint on > or off. > For example in my problem I have the following constraint: > > subject to linctr14 {i in PeriodsCount: i == 1}: StorageEnergy[i] = >

Re: Change Path Input/Output file

2020-11-24 Thread Andrew Makhorin
On Tue, 2020-11-24 at 19:11 +, Manuel Castro wrote: > Hi there, > > I am currently using gusek as an IDE to model and run GLPK. > I use the following statement to read from CSV file. > > table tab_plant IN "CSV" "plants.csv" : I <- [plant], a ~ capacity; > > This assumes that the file is

[Fwd: 4.60 script not working in 4.65]

2020-11-10 Thread Andrew Makhorin
Forwarded Message From: Diederik Veenendaal To: help-glpk@gnu.org Subject: 4.60 script not working in 4.65 Date: Tue, 10 Nov 2020 09:28:13 +0100 > Dear Andrew, > Thank you for providing GLPK. I'm trying to share a knapsack ILP > script that works on my computer with someone

[Fwd: Portable version]

2020-11-02 Thread Andrew Makhorin
Forwarded Message From: "Andraschko, Bernhard" To: help-glpk@gnu.org Subject: Portable version Date: Mon, 2 Nov 2020 07:21:45 + > Hi, > > I'm currently working for the Chair of Symbolic Computation in Passau > and help developing ApCoCoA-2, a computer algebra framework

[Fwd: Help w. Constraint Please]

2020-10-24 Thread Andrew Makhorin
Forwarded Message From: Manuel Castro To: help-glpk@gnu.org Subject: Help w. Constraint Please Date: Sat, 24 Oct 2020 09:02:40 - > Hi there, > > I would be thankful if you could help me in clarifying my questions > below. > I really appreciate your support. Many thanks in

[Fwd: Help please]

2020-10-17 Thread Andrew Makhorin
Forwarded Message From: Manuel Castro To: help-glpk@gnu.org Subject: Help please Date: Sat, 17 Oct 2020 17:02:16 - > Hi there, > > I have the following constraint: > > > subject to linctr20 {i in 1..365}:  >    sum {j in (i - 1) * 48 + 1..(i * 48)}

Re: GLPSOL in webassemby faster than native ?

2020-09-27 Thread Andrew Makhorin
or not, I known that in the > general case it is not, but for me it is a desirable behavior, and I > think that the software should be as close to that behavior as > possible. > > El sáb, 26-09-2020 a las 15:40 +0300, Andrew Makhorin escribió: > > > > In case of TeX it is impor

[Fwd: Re: Solver performance solving examples/life_goe.mod]

2020-09-26 Thread Andrew Makhorin
Forwarded Message From: Jeffrey Kantor To: Chris Matrakidis Cc: Domingo Alvarez Duarte , help-glpk@gnu.org Subject: Re: Solver performance solving examples/life_goe.mod Date: Sat, 26 Sep 2020 10:23:18 -0400 > Will there be a point where the GLPK package will be opened for >

Re: GLPSOL in webassemby faster than native ?

2020-09-26 Thread Andrew Makhorin
On Sat, 2020-09-26 at 09:51 +0200, Manuel Muñoz Márquez wrote: > > Why do you want glpk to produce absolutely identical results on > > different platforms? This has no practical sense.  > > > > I think this is a desirable behavior. If your are solving a real > problem it look very weird if you

Re: Solver performance solving examples/life_goe.mod

2020-09-26 Thread Andrew Makhorin
On Sat, 2020-09-26 at 13:54 +0200, Domingo Alvarez Duarte wrote: > Hello ! > > Testing GLPK I left it solving examples/lie_goe.mod for more than 2  > hours and it didn't found a solution (wasm and native) then I stopped  > then and tried with cplex/gurobi/xpress/scip all of then gives a  >

Re: GLPSOL in webassemby faster than native ?

2020-09-25 Thread Andrew Makhorin
> Something doesn't match for me, because I'm compiling GLPK/glpsol > with and without optmization and get the same reported cuts: > > Cuts on level 0: gmi = 5; mir = 44; cov = 20; clq = 3;  !! * > the same > = > Cuts on level 0: gmi = 5; mir = 44; cov = 20; clq = 3;  * > the

Re: GLPSOL in webassemby faster than native ?

2020-09-25 Thread Andrew Makhorin
On Fri, 2020-09-25 at 10:04 +0200, Domingo Alvarez Duarte wrote: > Hello Michael ! > > Thank you for reply ! > > I'll take into account the use of possible wider float format for  > intermediary values using something like your suggestion of > redefinable  > type like "glp_double_t" (actually in

Re: GLPSOL in webassemby faster than native ?

2020-09-22 Thread Andrew Makhorin
m and native. > > On x86_64 "--cuts" improves in wasm but degrade in native. > > I hope this could give hints to improve GLPK solver performance by  > inspecting the decision's criteria and eventually find a better ones. > > Anyone can give any idea with this data

Re: GLPSOL in webassemby faster than native ?

2020-09-21 Thread Andrew Makhorin
ta as a rule produces different results on different platforms. > > Cheers ! > > On 21/9/20 15:08, Andrew Makhorin wrote: > > > Does someone can give a possible explanation ? > > > > floating-point computations > >

Re: GLPSOL in webassemby faster than native ?

2020-09-21 Thread Andrew Makhorin
> Does someone can give a possible explanation ? floating-point computations

Re: [Help-glpk] Operand following / has invalid type

2020-09-09 Thread Andrew Makhorin
On Wed, 2020-09-09 at 18:17 -0300, yami...@cock.li wrote: > Hey, > > I'm trying to make a program that populates a binary matrix keeping > as  > many blank lines as possible, e.g. > > > 00| > > 11| > > 10| > > instead of > > > 10| > > 10| > > 10| > > > Since I know the sum of the lines won't

Re: Adding if/then/else statement to GMPL

2020-08-29 Thread Andrew Makhorin
On Sat, 2020-08-29 at 15:29 +0200, Domingo Alvarez Duarte wrote: > Hello ! > > With this commit I'm close for a proof of concept of GMPL with multi  > problem, multi solve, repeat and let statements. > > The let needs work for the dependence hell when update a parameter. > > The multi solve

Re: GMPL/GLPK display objective function value

2020-08-28 Thread Andrew Makhorin
> While trying to implement multi solve statements I found that in GMPL > the display of an objective function after solving do not show the > optimal value.  BTW, glpsol warns about that: [...] 38 lines were read Generating Reduced_Cost... Generating Width_Limit... Model has been successfully

Re: GMPL/GLPK display objective function value

2020-08-28 Thread Andrew Makhorin
> While trying to implement multi solve statements I found that in GMPL  > the display of an objective function after solving do not show the  > optimal value. Please see http://en.wikibooks.org/wiki/GLPK/Troubleshooting#Objective_shift_term_ignored_when_exported

Re: Adding scoped local set/param declaration to GMPL

2020-08-25 Thread Andrew Makhorin
On Tue, 2020-08-25 at 22:12 +0200, Domingo Alvarez Duarte wrote: > Hello ! > > I'm experimenting with allow local set/param declarations inside > scoped  > blocks (for/if/then/else), it's the base to possibly experiment > further  > with problem/callback/function declarations you can

Re: Adding if/then/else statement to GMPL

2020-08-24 Thread Andrew Makhorin
> Probably something like MPL (Math Programming > Language) developed by G.Dantzig in 70's is what you would like to > have; > see https://dl.acm.org/doi/10.1145/800184.810495 . > I've got a scanned copy of this Tech. Report (May 1968, 92 pages); so if someone is interested, I can post it via

[Fwd: Re: Adding if/then/else statement to GMPL]

2020-08-24 Thread Andrew Makhorin
Forwarded Message From: Jeffrey Kantor To: Andrew Makhorin Cc: "Meketon, Marc" , Domingo Alvarez Duarte , help-glpk@gnu.org Subject: Re: Adding if/then/else statement to GMPL Date: Mon, 24 Aug 2020 12:38:42 -0500 > Respectfully, and I very much appreciate the c

Re: Adding if/then/else statement to GMPL

2020-08-24 Thread Andrew Makhorin
am; see https://lilypond.org/ ), where the domain- specific part is built over the Scheme programming language (a dialect of Lisp): in normal circumstances the user writes all things with domain-specific constructions, but if something unusual is needed, he/she may write things on a lower level directly in Scheme. Andrew Makhorin

[Fwd: Re: Adding if/then/else statement to GMPL]

2020-08-24 Thread Andrew Makhorin
Forwarded Message From: Jeffrey Kantor To: "Meketon, Marc" Cc: Andrew Makhorin , Domingo Alvarez Duarte , help-glpk@gnu.org Subject: Re: Adding if/then/else statement to GMPL Date: Mon, 24 Aug 2020 09:54:33 -0500 > This would be another vote for extending GM

Re: Adding if/then/else statement to GMPL

2020-08-23 Thread Andrew Makhorin
On Sun, 2020-08-23 at 15:36 +0200, Domingo Alvarez Duarte wrote: > Hello ! > > Also I've added the break/continue statements here  > https://github.com/mingodad/GLPK/commit/9d70a37b16bd377722eeb3880fcf86 > bb3b812118  > > > Again any comment/suggestion is welcome ! > > Cheers ! > > >

Re: Huge memory usage difference

2020-08-16 Thread Andrew Makhorin
On Sun, 2020-08-16 at 11:53 +0200, Domingo Alvarez Duarte wrote: > Hello ! > > I just found a class of models that can exhibit a huge memory usage  > difference depending on if we add or not add parameter missing values  > when there is a default value declaration for then. > > See this model

Re: AVL tree silently accept duplicate keys

2020-08-10 Thread Andrew Makhorin
On Mon, 2020-08-10 at 14:28 +0200, Domingo Alvarez Duarte wrote: > Hello ! > > Replacing usages of AVL tree by SplayTree I found that AVL tree > silently  > accepts duplicate keys on "avl_insert_node" see example bellow, there > is  > only one way to find by key "avl_find_node" which make it

Re: Is this code correct in the GMPL implementation ?

2020-08-01 Thread Andrew Makhorin
On Sat, 2020-08-01 at 11:26 +0200, Domingo Alvarez Duarte wrote: > Hello ! > > This is my fourth time trying to replace the actual TUPLE struct  > representation https://github.com/mingodad/GLPK/tree/new-tuple and > I'm  > struggling again in understand/rewrite some parts of the code, > mainly  >

Re: Help - GLPK - "Time used" in millisecond ?

2020-07-28 Thread Andrew Makhorin
On Tue, 2020-07-28 at 20:58 +0530, Biplab Kanti Sen wrote: > Thanks for your kind response. Is it possible to get the exact time > in millisecond ? Is there any wayout to change the format spec "%.1f" > ? I need to know the exact time required for solving the problem. I > need this value for a

Re: Help - GLPK - "Time used" in millisecond ?

2020-07-28 Thread Andrew Makhorin
On Tue, 2020-07-28 at 19:48 +0530, Biplab Kanti Sen wrote: > Sir/Madam, > > I am Biplab kanti sen, would like to state you that, I use GLPK to > solve linear programs. I found that, one of my program is > successfully running, but the execution time is showing as "Time > used: 0.0 sec". Is there

Re: Excessive copies of set elements in GMPL

2020-07-25 Thread Andrew Makhorin
On Fri, 2020-07-24 at 13:04 -0500, Michael Hennebry wrote: > On Fri, 24 Jul 2020, Andrew Makhorin wrote: > > > The issue can be illustrated by the following example: > > > >  for (i = 0; i < 100; i++) > >  for (j = 0; j < 100; j++) > >  for (k

Re: Is this code correct in the GMPL implementation ?

2020-07-25 Thread Andrew Makhorin
On Sat, 2020-07-25 at 13:35 +0200, Domingo Alvarez Duarte wrote: > Hello ! > > Trying to change the actual TUPLE structure by: > > > > #ifndef TUPLE_SIZE_T > #define TUPLE_SIZE_T int > #endif > struct TUPLE > { >    TUPLE_SIZE_T size; >    TUPLE_SIZE_T refcount; >    SYMBOL

Re: Excessive copies of set elements in GMPL

2020-07-24 Thread Andrew Makhorin
> if (j == i+1 && j == j+2) > Must read if (j == i+1 && k == j+2)

Re: Excessive copies of set elements in GMPL

2020-07-24 Thread Andrew Makhorin
p;& j == j+2) foo(i, j, k); Would you expect the C compiler to optimize this fragment in order not to perform obvious excessive computations? Andrew Makhorin

Re: Excessive copies of set elements in GMPL

2020-07-16 Thread Andrew Makhorin
> Do you have any tests or know someone that has then and can share > then ?  > (Preferable in a public repository.) > > You might try models from glpk/examples.

Re: Excessive copies of set elements in GMPL

2020-07-16 Thread Andrew Makhorin
> > After doing some experimentation I think I found an easy way to  > eliminate unnecessary set copies here is a commit on  > https://github.com/mingodad/GLPK/commit/6f3da6ab31ca8d710f706f60635e5 > b17cf2ded40,  > also see bellow, glpsol now uses 1/3 of the memory and is slight > faster:

Re: Excessive copies of set elements in GMPL

2020-07-16 Thread Andrew Makhorin
mber of set element copies (see bellow). Please note that most of the copies might be temporary quantities  that exist (allocated in the memory) only during evaluation of the (sub)expressions involving these quantities. Best regards, Andrew Makhorin

[Fwd: installation help]

2020-07-15 Thread Andrew Makhorin
OST/libglpk-java- > 1.12.0/swig' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/storage2/APPS/MOST/libglpk-java-1.12.0' > make: *** [all] Error 2 >   >   >   > I have following dependencies installed: > > glpsol --version > GLPSOL: GLPK LP/M

[Fwd: Need help in Fixing GUSEK Code]

2020-04-10 Thread Andrew Makhorin
Forwarded Message From: sahani rathnasiri To: help-glpk@gnu.org Subject: Need help in Fixing GUSEK Code Date: Fri, 10 Apr 2020 19:08:39 +1000 > Hi All, > > I am running code in GUSEK and I need to define three indexes. I am > getting a syntax error. Please help me fix this. >

Re: glp ios heur sol

2020-03-04 Thread Andrew Makhorin
On Wed, 2020-03-04 at 15:29 +0100, Jacopo Pierotti (Optimisation) wrote: > Dear Mao, > > my name is Jacopo Pierotti and I am a PhD candidate in > Optimization. > > I'm writing you because I am working on heuristic solutions for MILP. > To  > test my algorithm, I would like to know what kind

[Fwd: Intellij syntax highlighting]

2020-02-12 Thread Andrew Makhorin
Forwarded Message From: Jonas Stenberg To: help-glpk@gnu.org Subject: Intellij syntax highlighting Date: Wed, 12 Feb 2020 13:56:25 + > In case anyone is interested: I have created a config file that > brings  > syntax highlighting for GLPK model files to Intellij. > >

further plans about glpk

2020-02-04 Thread Andrew Makhorin
ould help with this), however I will be unable to work on it at least to the end of this year. Best regards, Andrew Makhorin > > Best regards > > Heinrich >

[Fwd: Fyi: this list, help-glpk, just had it's subject [tag] and footer removed]

2019-10-28 Thread Andrew Makhorin
Forwarded Message From: sysad...@gnu.org To: help-glpk@gnu.org Subject: Fyi: this list, help-glpk, just had it's subject [tag] and footer removed Date: Thu, 24 Oct 2019 16:17:36 -0400 The Free Software Foundation has changed the GNU Mailman settings on this list. The short

[Help-glpk] [Fwd: Installation of software]

2019-04-07 Thread Andrew Makhorin
Forwarded Message From: Reza Rafiee To: m...@gnu.org Subject: Installation of software Date: Sat, 6 Apr 2019 16:30:11 +0430 > Dear GLPK team, > I have downloaded GLPK package (version 4.65) and wanted to run it on > a 64-bit windows. However, I could not find the steps to

[Help-glpk] [Fwd: Project development]

2019-04-02 Thread Andrew Makhorin
Forwarded Message From: Marc Garcia To: help-glpk@gnu.org Subject: Project development Date: Tue, 2 Apr 2019 12:02:16 +0100 Hi there, I'd like to get involved with glpk development, and I found the information on the website: https://www.gnu.org/software/glpk/ but I'm used to

[Help-glpk] [Fwd: Install problem]

2018-07-18 Thread Andrew Makhorin
rom hkp server keys.gnupg.net gpg: key 5981E818: "Andrew Makhorin " not changed gpg: Total number processed: 1 gpg: unchanged: 1 C:\Users\wangp>gpg --verify glpk-4.32.tar.gz.sig gpg: can't open `glpk-4.32.tar.gz.sig' gpg: verify signatures failed: file open error Would

  1   2   3   4   5   6   7   8   9   10   >