If you want some help, you need to send something one can reproduce.
-Michael
Search found 1042 matches
- 11 months ago
- Forum: API
- Topic: Checkpoint file {}/_gams_py_gc1.g00 does not exist
- Replies: 2
- Views: 4191
- 11 months ago
- Forum: Modeling
- Topic: Endogenous error
- Replies: 1
- Views: 1151
Re: Endogenous error
The problematic construct is sum((t,q)$Rc(i) where Rc is a variable. GAMS does not allow an endogenous parameter, i.e. a variable in a $ expression. We see this oven with binary variables. Such constructs can be rewritten with regular algebra. In your case, I don't even know what this should mean, b...
- 11 months ago
- Forum: Modeling
- Topic: Solve aborted Error
- Replies: 12
- Views: 4248
Re: Solve aborted Error
That is serious. You can suppress the domain violation by only taking records that match your sets by replacing $loadDC by $load. This is extremely dangerous, since you have no clue of what you leave behind, so the results of the model are very questionable. If you have to use a complex model like I...
- 11 months ago
- Forum: Modeling
- Topic: Solve aborted Error
- Replies: 12
- Views: 4248
Re: Solve aborted Error
I think the error is clear from the message, your symbol QHTAB has been declared over some sets (probably H,XC) that do not include the element 'init' (or 'base' or 'total') and hence the compiler gives you an error. Look at the declaration of QHTAB and confirm that the domain sets do not include 'i...
- 11 months ago
- Forum: Modeling
- Topic: GAMS on MACOS CATALINA
- Replies: 1
- Views: 1173
Re: GAMS on MACOS CATALINA
gdxxrw is supported on Windows only, see https://www.gams.com/latest/docs/T_MAIN.html#GAMS_TOOLS_SUPPORTED_PLATFORMS. If you need to read/write Excel files independent of Windows and Excel, check out GAMS/Connect (still in beta and subject to change): https://www.gams.com/latest/docs/UG_GAMSCONNECT....
- 11 months ago
- Forum: Announcements
- Topic: GAMS Distribution 43.1.0 (Major Release)
- Replies: 0
- Views: 6312
GAMS Distribution 43.1.0 (Major Release)
Hi GAMS Users,
We started distributing GAMS Release 43.1.0 on April 27, 2023.
You can download the software from https://www.gams.com/download/
Here are the release notes: https://www.gams.com/latest/docs/RN_43.html
Your GAMS Team
www.gams.com
We started distributing GAMS Release 43.1.0 on April 27, 2023.
You can download the software from https://www.gams.com/download/
Here are the release notes: https://www.gams.com/latest/docs/RN_43.html
Your GAMS Team
www.gams.com
- 11 months ago
- Forum: Modeling
- Topic: How to correct the error message of "A suffix is missing".
- Replies: 0
- Views: 4156
Re: How to correct the error message of "A suffix is missing".
GAMS has no defining variables, so you need to write your X(i) := A(i)*e(i) as regular equality constraints. Only if you have a constant expression on the right (as for Xexp(i) := 0) you can "fix" the variable" using the .fx suffix: "Xexp.fx(i) := 0;". Here is the equation c...
- 1 year ago
- Forum: Archive Google Group
- Topic: An urgent help
- Replies: 6
- Views: 10857
Re: An urgent help
Without Excel file (or GDX file) this is hard to run to see where your problem is. You can also make a version with dummy data. -Michael
- 1 year ago
- Forum: Modeling
- Topic: Count how many values in a row
- Replies: 3
- Views: 2876
Re: Count how many values in a row
Why don't you share your non-working attempts (i.e. your compilable and executable GAMS model) and point to a "smoking gun" (show what does not work). Perhaps, then you get more feedback. -Michael
- 1 year ago
- Forum: Syntax
- Topic: How can i set option seed=<A SCALAR>
- Replies: 1
- Views: 5763
Re: How can i set option seed=<A SCALAR>
The execSeed "function" (https://www.gams.com/latest/docs/UG_Par ... 1_function) allows to set the random seed in a regular assignment: "execSeed = MODEL_SETTINGS("random_seed");"
-Michael
-Michael