Search found 20 matches
- 5 years ago
- Forum: Modeling
- Topic: CPLEX does not find true optimum despite optcr=0
- Replies: 2
- Views: 3183
CPLEX does not find true optimum despite optcr=0
Hi everyone, In a MIP model with option optCR=0; , I face the problem that CPLEX does not return the "true" optimal solution to the problem. When I manually fix some binaries, I can increase the objective value (without breaking any constraints) by more than 1%. I'm sure that this is cause...
- 5 years ago
- Forum: Modeling
- Topic: Generate Equation and Column Listing without solving
- Replies: 3
- Views: 3300
Re: Generate Equation and Column Listing without solving
Hi,
Thanks a lot for that great hint Fred!
I just tried and it seems to work really nice
Best,
Christoph
Thanks a lot for that great hint Fred!
I just tried and it seems to work really nice
Best,
Christoph
- 5 years ago
- Forum: Modeling
- Topic: Generate Equation and Column Listing without solving
- Replies: 3
- Views: 3300
Generate Equation and Column Listing without solving
Dear all, I would like to know if there is a way to generate the equation and column listing of a model without actually solving it (basically dry running the model). The background is that solving the model takes quiet some time, and for debugging I sometimes just want to check if e.g. the dollar c...
- 5 years ago
- Forum: Tools
- Topic: Atom GAMS IDE
- Replies: 0
- Views: 3598
Atom GAMS IDE
Hi, I worked on a GAMS IDE plugin for the popular Atom editor for the past half-year and thought that it might be of interest for some of you. The plugin is called linter-gams . Atom is an open-source editor maintained by Github, that features a beautiful user-interface, high customizability and a l...
- 5 years ago
- Forum: Syntax
- Topic: Domain checking in sameas (and similar commands)
- Replies: 0
- Views: 1954
Domain checking in sameas (and similar commands)
As so often when writing code, typos happen. When such a typo occurs in a dollar conditional (in my case today using a sameas operator), and the typo happens to be part of the universal set already (because the typo is a set element from a different set), the GAMS compiler doesn't throw an error. Co...
- 6 years ago
- Forum: Modeling
- Topic: Dimension different in GAMS error message
- Replies: 2
- Views: 3348
Re: Dimension different in GAMS error message
You could add a variable where you sum over the countries, but just make it sum over the Netherlands. Then you minimize that variable. I attached a file where I made the appropriate changes to your model.
- 6 years ago
- Forum: Announcements
- Topic: GAMS Studio
- Replies: 3
- Views: 14193
Re: GAMS Studio
I don't know whether this is the right forum for feedback, so please feel free to move/delete if deemed inappropriate. As I understood correctly, GAMS Studio is supposed to be an Open-Source project. If you are still in an early development phase, something really great for the Open-Source community...
Re: model2tex
Thanks a lot for your help! I totally forgot to reply that removing the SOS variables did indeed resolve the issue.
Re: model2tex
Hi Celmens, thanks a lot for your reply! I will try removing the SOS variables tomorrow. Another question I have is whether there are any plans to publish the model2tex source code. The background is that I would like to create a little script where I could quickly transform single GAMS equations in...
model2tex
Hi, I'm currently using GAMS 25.0 and would like to use the model2tex feature. The creation of the docfiles (as dicsussed in the documentation of model2tex) works fine, however when running model2tex I get the following error: PS C:\model\gams> model2tex mymodel -m m_farm -f Traceback (most recent c...