[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Excessive copies of set elements in GMPL
From: |
Domingo Alvarez Duarte |
Subject: |
Re: Excessive copies of set elements in GMPL |
Date: |
Fri, 17 Jul 2020 13:24:04 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
Hello Andrew !
Thank you again for reply !
Running all GMPL models in the examples folder and comparing it's
output I found that the ones that have "SET UNION" operations was
failing, reviewing the code I found that only
"src/mpl/mpl3.c::set_union" was not making a working copy to
return, creating a working copy there seems to fix the problem
(all models now have the same output).
It doesn't seem to make sense penalize almost all set operations
with "copies" only to save the creation of a working copy in
"set_union".
I propose to incorporate the changes here https://github.com/mingodad/GLPK
to the official release.
Cheers !
On 16/7/20 22:30, Andrew Makhorin
wrote:
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, Andrew Makhorin, 2020/07/16
- Re: Excessive copies of set elements in GMPL, Domingo Alvarez Duarte, 2020/07/16
- Re: Excessive copies of set elements in GMPL, Domingo Alvarez Duarte, 2020/07/16
- Re: Excessive copies of set elements in GMPL, Andrew Makhorin, 2020/07/16
- Re: Excessive copies of set elements in GMPL, Domingo Alvarez Duarte, 2020/07/16
- Re: Excessive copies of set elements in GMPL, Andrew Makhorin, 2020/07/16
- Re: Excessive copies of set elements in GMPL,
Domingo Alvarez Duarte <=
- Re: Excessive copies of set elements in GMPL, Michael Hennebry, 2020/07/21
- Re: Excessive copies of set elements in GMPL, Domingo Alvarez Duarte, 2020/07/21
- Re: Excessive copies of set elements in GMPL, Michael Hennebry, 2020/07/23
- Re: Excessive copies of set elements in GMPL, Domingo Alvarez Duarte, 2020/07/24
- Re: Excessive copies of set elements in GMPL, Domingo Alvarez Duarte, 2020/07/24
- Re: Excessive copies of set elements in GMPL, Domingo Alvarez Duarte, 2020/07/24
- Re: Excessive copies of set elements in GMPL, Andrew Makhorin, 2020/07/24
- Re: Excessive copies of set elements in GMPL, Andrew Makhorin, 2020/07/24
- Is this code correct in the GMPL implementation ?, Domingo Alvarez Duarte, 2020/07/25
- Re: Is this code correct in the GMPL implementation ?, Andrew Makhorin, 2020/07/25