Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
41 views

I am using Pyomo with the GAMS:IPOPT solver, and I want to track the changing value of a constraint at each iteration during the solver process. The constraint is defined as follows: model....
Ghosty's user avatar
  • 1
0 votes
1 answer
28 views

I have a script in Gtree with GAMS on the carry-over effect on groundwater. I initialised the groundwater depth in the year 2000, and then I need to use the end-of-the-year groundwater depth as a ...
0 votes
2 answers
38 views

I use GAMS with gtree to get an output file of my model, however, one excel sheet is created while the other is not created. This is my output code; $libinclude xldump Water_balance_summary Output\...
Thomas's user avatar
  • 501
0 votes
2 answers
59 views

I'm working with the GAMSPy Python API and using Set objects to define sets in a GAMS model. I can define a set like this: from gamspy import Container, Set m = Container() regions = Set(m, name=&...
0 votes
1 answer
66 views

I had never seen this problem, this is a Windows computer with GAMS is installed with a proper license. The "gams" command is found from the command shell (since the GAMS path is added to ...
0 votes
0 answers
36 views

I am working on a special network flow problem, trying to implement in GAMS, something like a (N∗N) grid, and I am having difficulties to define some of its sets. The problem is stated as follows: ...
1 vote
1 answer
40 views

I have a set lall (location) that includes theoretical node names l1,l2,l4,l6,l11,l13 as defined as followed. lall.csv is just a one column csv file with l1,l2,l4,l6,l11,l13 set lall "all ...
0 votes
1 answer
167 views

I'm trying to understand what's the proper way to make a recursive-dynamic model in GAMS. For this I've made a toy example of 2 linear equations (aka cobweb model). Now it starts at random point P(t=1)...
0 votes
1 answer
49 views

I have several errors in the following line: e3_d(b).. sum( (t)$(ord(t) >= 1) and (ord(t) <= t-N_chp_on_max+N_chp_on_max), alpha(b, t) ) =l= N_chp_on_max; Two errors (',' expected) and (Unknown ...
0 votes
1 answer
26 views

Is it possible to save "Text Document", "LOG", "SAS Output" and "LXI File" in a specific folder when executing a .gms file with GDX creation?
Michael's user avatar
  • 575
0 votes
1 answer
34 views

Sets i /1*20/ alias(i,j); Parameters pi(i) "Profit of item i" W "Width of the container" H "Height of the ...
1 vote
0 answers
44 views

I have a question regarding GAMS basics. Is it possible to include an equation with a condition that depends on a variable in another equation? Specifically, I am trying to include an equation for ...
0 votes
2 answers
449 views

How can I read data from a .gdx file without having GAMS software installed on my computer? I have Jupyter Notebook and Python, and would like to load that data into a Python script. I've tried to use ...
-1 votes
1 answer
50 views

My GAMS code throws errors, but I can't figure out why. Can you please help? SETS i beds /1,2,3,4,5,6,7,8,9,10/ w weaving machines /W1,W2,W3,W4/ h handle machines /H1,H2,H3,H4/ e ...
1 vote
1 answer
50 views

I stuck on finding max value each column by writing constraint in MIP. Unfortunately, the error was Error 59 Endogenous prod smin smax require model type Error 256 equation eq2.. VAR prod smin smax ...

15 30 50 per page
1
2 3 4 5
...
26

AltStyle によって変換されたページ (->オリジナル) /