Re: Multi problems in GMPL

2020-08-27 Thread Joao Pedro Pedroso
Dear Domingo, I share the opinion that GMPL should remain a domain-specific language, and the additions that are being proposed would fit better in a general-purpose language. This was the intention of the package python-glpk (discontinued after some internal changes in glpk), which has been

Re: Multi problems in GMPL

2020-08-26 Thread Domingo Alvarez Duarte
Hello ! Meanwhile I implemented only the parsing/display of problem statement like ampl but without domains. https://github.com/mingodad/GLPK/blob/local-set-param/examples/cut2.mod Output: ./glpsol --genonly  -m cut2.mod >./glpsol --genonly  -m cut2.mod GLPSOL: GLPK LP/MIP Solver,

Multi problems in GMPL

2020-08-26 Thread Domingo Alvarez Duarte
Hello ! Thinking in how to have multiple problem in GMPL I'm asking for other user opinions about how that could be expressed, one example can be like the one bellow where we have common elements and namespaced problems. If you have any other idea that you want to share let me know !