Search found 373 matches
- 1 year ago
- Forum: Modeling
- Topic: By-Product Synergy Model Bugs Declaration
- Replies: 1
- Views: 1020
Re: By-Product Synergy Model Bugs Declaration
Hi, If you need to use x(i,j) and x(j,i), then you should not declare variable x with domain (i,j). If sets i and j both describe subsets of nodes, you can declare a superset of nodes and make i and j subsets of this superset. Then you can declare x over the superset of all nodes and should be good,...
- 1 year ago
- Forum: Tools
- Topic: reading and writing data from/to excel (macOS)
- Replies: 4
- Views: 6215
Re: reading and writing data from/to excel (macOS)
Hi,
You could use GAMS Connect which can read/write Excel files and is platform independent.
I hope this helps!
Fred
You could use GAMS Connect which can read/write Excel files and is platform independent.
I hope this helps!
Fred
- 1 year ago
- Forum: Tools
- Topic: reading and writing data from/to excel (macOS)
- Replies: 4
- Views: 6215
Re: reading and writing data from/to excel (macOS)
Hi,
You could use GAMS Connect which can read/write Excel files and is platform independent.
I hope this helps!
Fred
You could use GAMS Connect which can read/write Excel files and is platform independent.
I hope this helps!
Fred
- 1 year ago
- Forum: Modeling
- Topic: Identifying infeasible runs
- Replies: 1
- Views: 1430
Re: Identifying infeasible runs
Hi Teo, If I understand correctly, you are are solving 121 models. The Report summary belongs to a particular solve, so you should get 121 report summaries in total. So the 8 infeasibilities refer to a particular solve where e.g. 8 constraints may be violated in the returned infeasible "solutio...
- 1 year ago
- Forum: Tools
- Topic: Openning multiple gms file in different windows (not tab)?
- Replies: 2
- Views: 10079
- 1 year ago
- Forum: Modeling
- Topic: Errors using sum
- Replies: 1
- Views: 882
Re: Errors using sum
Hi, The information provided is not sufficient to help. You seem to have declared some symbol with different domain sets than used in the shared code snippet. But since you did not share the declarations, it is impossible to pinpoint the source if the issue. I suggest to follow the forum rules and ....
- 1 year ago
- Forum: Syntax
- Topic: How to define a variable on different intervals
- Replies: 1
- Views: 1439
Re: How to define a variable on different intervals
Hi Martina, It seems that what you need is a 2-dimensional dynamic set that maps values of G, q; Please consider the following examples: set G /A,B/ q /1*4/ Gq(G,q) / A.(1,2), B.(1*4) / ; display Gq; variable x(G,q); equation e; e.. sum(Gq(G,q), x(G,q)) =e= ... I hope this helps! Fred
- 1 year ago
- Forum: Solvers
- Topic: model takes forever to solve
- Replies: 2
- Views: 7810
Re: model takes forever to solve
Hi pnong, Scheduling problems are known to be challenging. Besides finding good feasible solutions (which seems to work okay for this model), solvers also work on improving the best known bound. I fed your problem into several state-of-the-art MIP solvers. After 10 minutes, they all provide a soluti...
- 1 year ago
- Forum: Solvers
- Topic: GAMS and gurobi 10
- Replies: 1
- Views: 4796
Re: GAMS and gurobi 10
Hi Antonio,
As you noticed GAMS 41.4.0 still comes with Gurobi 9.5.2. Gurobi 10 will be part of the upcoming GAMS 42 release. The beta release of GAMS 42 is planned for mid January.
Best,
Fred
As you noticed GAMS 41.4.0 still comes with Gurobi 9.5.2. Gurobi 10 will be part of the upcoming GAMS 42 release. The beta release of GAMS 42 is planned for mid January.
Best,
Fred
- 1 year ago
- Forum: Solvers
- Topic: How Can I set license in GAMS Studio?
- Replies: 6
- Views: 15261
Re: How Can I set license in GAMS Studio?
In the meantime, the configuration editor has been added to GAMS Studio and allows users to conveniently point to a license file.