Search found 20 matches

by chrispahm
5 months ago
Forum: Syntax
Topic: Enable $show / $showVariables from Command Line
Replies: 2
Views: 7399

Re: Enable $show / $showVariables from Command Line

Hey Lutz,

Thanks your suggestion! That's indeed a clever and simple solution, though I have to check if it breaks other parts of the script since it changes the include file structure!
Thanks,
Christoph
by chrispahm
5 months ago
Forum: Syntax
Topic: Enable $show / $showVariables from Command Line
Replies: 2
Views: 7399

Enable $show / $showVariables from Command Line

Hi :wave: I'm parsing the results of the $show command, specifically $showVariables (aka the compile time variable list) using a script. Right now, the script relies on the $show command being present at the end of an input GAMS file, otherwise the compile time variable list would obviously not be p...
by chrispahm
5 months ago
Forum: Bugs
Topic: GDXIN produces compilation error in dump file with onEmpty
Replies: 3
Views: 4340

Re: GDXIN produces compilation error in dump file with onEmpty

Awesome! Can confirm that v45 fixes this issue!
by chrispahm
6 months ago
Forum: Bugs
Topic: GDXIN produces compilation error in dump file with onEmpty
Replies: 3
Views: 4340

GDXIN produces compilation error in dump file with onEmpty

Hi there, I'm (once again) running a model with the command line parameter `dumpOpt=11` in order to generate a single GAMS file containing all includes and data. However, using GDXIN with empty empty data statements seem to create a compilation error in the .dmp file. Consider the following minimum ...
by chrispahm
3 years ago
Forum: Contributed Documentation and Tools
Topic: Data storytelling in operations research
Replies: 0
Views: 6893

Data storytelling in operations research

Hey there :) I'd like to use the opportunity to showcase a piece we have done regarding interactive "data-story" notebooks using GAMS. An Introduction to operations research in Observables https://user-images.githubusercontent.com/20703207/87766667-d1ee1480-c819-11ea-9d1c-c8db46ffb17a.png ...
by chrispahm
4 years ago
Forum: Bugs
Topic: GDXIN produces compilation error in dump file
Replies: 2
Views: 7841

Re: GDXIN produces compilation error in dump file

Thanks a lot for your help! The workaround is sufficient for me (for the time being)

Best
Christoph
by chrispahm
4 years ago
Forum: Bugs
Topic: GDXIN produces compilation error in dump file
Replies: 2
Views: 7841

GDXIN produces compilation error in dump file

Hi there, I'm running a model with the command line parameter `dumpOpt=11` in order to generate a single GAMS file containing all includes and data. However, using $GDXIN with 0 level elements seems to create a compilation error in the .dmp file: Simplified (reproducible) problem (which compiles fin...
by chrispahm
4 years ago
Forum: Modeling
Topic: Writing model tests - best practices
Replies: 4
Views: 3678

Re: Writing model tests - best practices

Thanks Steve and Renger for your replies, So again a short note about our current procedure: We don't do the tests manually anymore, as we wrote an R-script that automates the process: 1) On every SVN update, a post-commit hook on the SVN server runs the R-script, which in turn runs the GAMS batch f...
by chrispahm
4 years ago
Forum: Modeling
Topic: Writing model tests - best practices
Replies: 4
Views: 3678

Writing model tests - best practices

Here at our institute, we work on a couple of (larger scale) economics related GAMS models. Different teams, involved in different projects make adaptations to the models in order to answer their specific research questions. The models are equipped with a Graphical User Interface (GUI), and are vers...
by chrispahm
5 years ago
Forum: Modeling
Topic: CPLEX does not find true optimum despite optcr=0
Replies: 2
Views: 2999

Re: CPLEX does not find true optimum despite optcr=0

Thanks @ameeraus for the reply and the elegant solution to my problem. As you might have guessed, I totally oversaw that my .fx was actually resetting the lower bound of the variable. If I would have actually set a lower bound of 1 (instead of fixing it), I would have received a matrix error stating...