Search found 566 matches

by Renger
3 weeks ago
Forum: Modeling
Topic: Solutions given by solver same as initial values set
Replies: 3
Views: 155

Re: Solutions given by solver same as initial values set

In your model, the bounds are the optimal values.
R
by Renger
3 weeks ago
Forum: Modeling
Topic: Solutions given by solver same as initial values set
Replies: 3
Views: 155

Re: Solutions given by solver same as initial values set

Hi If you fix the upper bound for X with X.UP and the lower bound for Y with Y.LO, those two variables can't get bigger or smaller resp. than these bounds. My guess is that X without restriction would tend to infinity, and Y to minus infinity. Setting whatever value for the bounds will return these ...
by Renger
3 weeks ago
Forum: Tools
Topic: GAMS default executable not found
Replies: 9
Views: 1591

Re: GAMS default executable not found

I did
Cheers
Renger
by Renger
3 weeks ago
Forum: Tools
Topic: GAMS default executable not found
Replies: 9
Views: 1591

Re: GAMS default executable not found

Yes, 100% false positives.
CHeers
Renger
by Renger
4 weeks ago
Forum: Tools
Topic: GAMS default executable not found
Replies: 9
Views: 1591

Re: GAMS default executable not found

No problem. Good you can now work with GAMS again.
Cheers
Renger
by Renger
4 weeks ago
Forum: Tools
Topic: GAMS default executable not found
Replies: 9
Views: 1591

Re: GAMS default executable not found

Hi As you seem to have Windows Defender (WD), I am almost 100% sure, that this is the problem. Reinstall GAMS but do not run GAMS afterward. Go to the settings of Windows Defender and exclude either the folder or the file from the scan. Start GAMS and closely check your Windows Defender icon/message...
by Renger
4 weeks ago
Forum: Tools
Topic: GAMS default executable not found
Replies: 9
Views: 1591

Re: GAMS default executable not found

Hi
This might be caused by Windows Defender who puts gams32.exe into quarantine (which happened on my Windows computer. I reported it as false positive two weeks ago).
You have to go to the quarantine and tell Defender that this is not a threat.
Cheers
Renger
by Renger
1 month ago
Forum: Syntax
Topic: Error Using ParallelMode
Replies: 2
Views: 819

Re: Error Using ParallelMode

Hi Gams does not recognize the option parallelmode as it is solver specific and should be put in an option file. For example, you could add this to your code $echo parallelmode -1 > cplex.opt $echo threads = 8 >>cplex.opt mymodel.optfile=1; where "mymodel" is your model name. Try this and see if the...
by Renger
1 month ago
Forum: Tools
Topic: Load zero values to GAMS from GDX File
Replies: 6
Views: 783

Re: Load zero values to GAMS from GDX File

Hi A zero value is loaded but GAMS assumes zero for a parameter without a value, so it is only a problem in displaying the values. If you want to display zero values in your listing, you can add EPS to all values of a parameter. The display will then show EPS for the zero values (the special value E...
by Renger
1 month ago
Forum: Syntax
Topic: Equations related to different values of a set
Replies: 2
Views: 1047

Re: Equations related to different values of a set

Hi You can write just one equation: set t /1*100/; FI(i,j,t) =E= It0(i,j)$(t.val = 1) + FI(i,j,t-1)$(t.val > 1) .... If your t set has numbers you can use t.val otherwise you should use ord(t). set t /y1*y100/; FI(i,j,t) =E= It0(i,j)$(ord(t) = 1) + FI(i,j,t-1)$(ord(t)l > 1) .... I hope this helps! C...