Search found 3 matches

by before2
3 years ago
Forum: Tools
Topic: Creating multiple gx files using "option savepoint=2"
Replies: 1
Views: 3539

Creating multiple gx files using "option savepoint=2"

eoglsp_test.gms Hello, for a Lot sizing model I'd like to run multiple test instances and have the solution and some parameters of the test instances saved in different excel files. My attempt was to run a loop and let it solve the different cases like this: model EOGLSP_test /All /; option savepoi...
by before2
3 years ago
Forum: Syntax
Topic: Initializing a binary variable
Replies: 1
Views: 2207

Initializing a binary variable

Hello, I have a problem regarding the assignment of an initial value to a binary variable in a lot sizing model. Basically i want to assign the value 1 to the binary setup variable w for the dummyproduct k=0 in the dummy period s=0. sets s microperiods with s=0 being a dummy period k products with k...
by before2
3 years ago
Forum: Modeling
Topic: GLSP implementation
Replies: 1
Views: 1988

GLSP implementation

Hello, I'm fairly new to GAMS and appreciate any potential help. I tried implementing the GLSP with the following restrictions (attached PDF). It worked more or less, since i got the same value for the objective function as the solution (which should be 1196). But my solution differs in regards to t...