Search found 7 matches

by vbind
3 years ago
Forum: API
Topic: x.fx(i,j) equivalent in Python API
Replies: 3
Views: 5181

Re: x.fx(i,j) equivalent in Python API

Dear Atharv, thanks a lot. This is what I was looking for. In the example transport7.py UpdateAction.Upper was used to fix the value of the variable x (in combination with the fact that variable x is positive). Is there a specific reason to use UpdateAction.Upper instead of UpdateAction.Fixed? And i...
by vbind
3 years ago
Forum: API
Topic: x.fx(i,j) equivalent in Python API
Replies: 3
Views: 5181

x.fx(i,j) equivalent in Python API

Hello everybody,

I would like to know how I can fix some variables in a model from the Python API. For example in transport4.py (as included in GAMS). Can anybody provide some example code?

Best regards,
Viktor
by vbind
3 years ago
Forum: Bugs
Topic: Can't Select Text Using Arrow Keys in GAMS Studio on Ubuntu
Replies: 6
Views: 11561

Re: Can't Select Text Using Arrow Keys in GAMS Studio on Ubuntu

Hello Lutz,

yes, it works for me now. Thank you.

Best regards,
Viktor
by vbind
4 years ago
Forum: Syntax
Topic: Get Scenario Probabilities SP multi-stage
Replies: 1
Views: 2481

Re: Get Scenario Probabilities SP multi-stage

I can't run your model, but the probabilities should be stored in s_rep. If not please specify the error and provide a minimal example.

See also the farmsp.gms example in the EMP example library. There the probabilities are displayed.
by vbind
4 years ago
Forum: Bugs
Topic: Can't Select Text Using Arrow Keys in GAMS Studio on Ubuntu
Replies: 6
Views: 11561

Re: Can't Select Text Using Arrow Keys in GAMS Studio on Ubuntu

Hi Lutz,

I've compiled the latest GAMS Studio (1.1.0) on Ubuntu 20.04 which fixed the problem. I'm able to select text again using the keyboard.

Any chance that this issue will be fixed in the original AppImage binaries?

Best regards,
Viktor
by vbind
4 years ago
Forum: Bugs
Topic: Can't Select Text Using Arrow Keys in GAMS Studio on Ubuntu
Replies: 6
Views: 11561

Re: Can't Select Text Using Arrow Keys in GAMS Studio on Ubuntu

Hi Lutz,

thank you for your suggestion.

Seems to be not the most convenient option. I'll test it next week after having upgraded to Ubuntu 20.04.

Best regards,
Viktor
by vbind
4 years ago
Forum: Bugs
Topic: Can't Select Text Using Arrow Keys in GAMS Studio on Ubuntu
Replies: 6
Views: 11561

Can't Select Text Using Arrow Keys in GAMS Studio on Ubuntu

Hello everyone,

If I keep shift pressed I can't move the cursor and hence can't select text. I'm using GAMS Studio 0.14.6. I've checked some older studio versions and the problems seems to start with 0.11.3 (0.11.2 still works).

I'm using Ubuntu 18.04 and GAMS 30.3.

Best regards,
Viktor