Search found 137 matches
- 2 years ago
- Forum: GAMS-FAQ
- Topic: How to reference GAMS in a paper?
- Replies: 0
- Views: 6860
How to reference GAMS in a paper?
This post contains some information on how to give a proper reference to the GAMS software and the GAMS documentation in a (scientific) paper. Since the software and the documentation changes with every release, it is a good idea to include the release number XX.Y.Z. A particular release has a publi...
- 2 years ago
- Forum: Syntax
- Topic: Domain violation for set
- Replies: 3
- Views: 4579
Re: Domain violation for set
Looking at your .gms file I see that you declared IOT30 over the domains (RIOT, CIOT ). PS1 is an alias to PS which is a subset of RIOT not CIOT, therefore the domain violation occurs for xx(PS,PS1) = IOT30(PS, PS1 ); and VI(FI,PS1) = IOT30(FI, PS1 ); (PS1 is the wrong domain here given how you decl...
- 2 years ago
- Forum: GAMS-FAQ
- Topic: How do I implement a "lookup-table"? FAQ
- Replies: 1
- Views: 8442
Re: How do I implement a "lookup-table"? FAQ
Please have a look at the code below. The second model requires a decent GAMS/CPLEX license: set i / 1*4 / s / 1*5 / table data(s,*) 1 2 3 4 val 1 0 1 1 0 23 2 1 0 0 1 -5 3 1 0 1 0 16 4 0 1 0 1 4 5 1 1 1 0 111 ; parameter c(i) "cost of i when on"; c(i) = -uniformInt(1,10); display c; varia...
- 2 years ago
- Forum: GAMS-FAQ
- Topic: How do I implement a "lookup-table"? FAQ
- Replies: 1
- Views: 8442
How do I implement a "lookup-table"? FAQ
In my case the determinant is the summation of the variables from U1 to Ux that have been introduced as a binary variable to GAMS. In each iteration during the optimization these variables are set to 0 or 1 but the structure of these variables should be considered in the optimization process, for ex...
- 2 years ago
- Forum: Syntax
- Topic: Scenario Reduction
- Replies: 5
- Views: 5914
Re: Scenario Reduction
Hi paganini, Can you say more specifically where you got confused reading the documenation of SCENRED2 and what it is you are confused about? You might want to check out the simplified interface to SCENRED2 . You need to specify n the set of nodes in the tree, tree the set of ancestor relations desc...
- 3 years ago
- Forum: GAMS-FAQ
- Topic: Different results depending on the order of data
- Replies: 1
- Views: 5187
Re: Different results depending on the order of data
I assume that you've checked the model and solver status values in the Solve Summary to be sure that the model is stopping with "Normal Completion" and "Locally Optimal". If not, you are just looking at the point where the solver gave up looking for a solution. Unless your model ...
- 3 years ago
- Forum: GAMS-FAQ
- Topic: Different results depending on the order of data
- Replies: 1
- Views: 5187
Different results depending on the order of data
I am using a non-linear solver and I am finding I get different results depending on the order of my data. Can you suggest any reason why this would be?
- 3 years ago
- Forum: Contributed Documentation and Tools
- Topic: Some GAMS Programming Utilities for Economists by Thomas F. Rutherford
- Replies: 0
- Views: 6575
Some GAMS Programming Utilities for Economists by Thomas F. Rutherford
Some GAMS Programming Utilities for Economists including: A little GAMS Program that illustrates Report Generation with Excel.pdf Copy Table to Word - Copy non-blank cells from Excel into Word as a Windows metafile graphical image (retaining Excel formatting). qtool - Tools for Systematic Sensitivit...
- 3 years ago
- Forum: Contributed Documentation and Tools
- Topic: GAMSMAP - Exporting to MapInfo Maps by Armin Pruessner, Michael Bussieck
- Replies: 0
- Views: 6709
GAMSMAP - Exporting to MapInfo Maps by Armin Pruessner, Michael Bussieck
Overview GAMSMAP is a collection of GAMS routines and data files to create specific MapInfo© maps. The tools grew out of a project we did with one of our clients in which we sought to speed up by replacing hand drawn maps by automatically created maps. Because of the proprietary nature of the work,...
- 3 years ago
- Forum: Contributed Documentation and Tools
- Topic: GAMS-MATLAB by Johannes Dorfner
- Replies: 0
- Views: 6452
GAMS-MATLAB by Johannes Dorfner
GAMS-MATLAB - Helper functions for coupling GAMS optimisation models with MATLAB for data I/O.