Search found 1042 matches

by bussieck
2 years ago
Forum: Syntax
Topic: Saving result on MAC
Replies: 7
Views: 3033

Re: Saving result on MAC

Just do this opposite. Bring the result.gdx over to your Windows machine and run gdxxrw to create results.xlsx from your results.gdx.

-Michael
by bussieck
2 years ago
Forum: Tools
Topic: Problem in requesting GAMS in CGEBox (using Windows command prompt)
Replies: 1
Views: 4156

Re: Problem in requesting GAMS in CGEBox (using Windows command prompt)

As you say, this does not seem to be a GAMS problem but a CGEbox problem. If you don't get good answers here, I would try to contact Wolfgang (https://www.ilr.uni-bonn.de/em/staff/britz/britz_e.htm) directly.

-Michael
by bussieck
2 years ago
Forum: Tools
Topic: Need of GAMS 25 windows version for my license
Replies: 2
Views: 5040

Re: Need of GAMS 25 windows version for my license

Rodrigue,

If you hold a valid license in your name or your department/company GAMS will make the version that can be used with this license available to you. Just email sales|support@gams.com your request (including the license)

-Michael
by bussieck
2 years ago
Forum: Modeling
Topic: Infeasible Solution
Replies: 1
Views: 1300

Re: Infeasible Solution

An infeasible model is a normal outcome for optimization, so this is no error . Nevertheless, it often points to an issue in the implementation or the data, since the real world is normally not infeasible. There are many different ways to detect the cause of infeasibilities. Search the forum and you...
by bussieck
2 years ago
Forum: Syntax
Topic: Error 492 Symbol not in GDX
Replies: 8
Views: 8864

Re: Error 492 Symbol not in GDX

No, GAMS does not allow duplicate records. If you post the spreadsheet and what you want to read into GAMS then we might be able to help better.

-Michael
by bussieck
2 years ago
Forum: Syntax
Topic: Error 492 Symbol not in GDX
Replies: 8
Views: 8864

Re: Error 492 Symbol not in GDX

Hi, Study the documentation of gdxxrw and how to use a gdxxrw option/parameteri file. You seem to have destroyed your xlsx workbook with your command sequence. What you probably want to do is: $onecho> Data-x-y-z.txt input = Data-x-y-z.xlsx set=t rng=Tabelle5!E2:E201 cdim=0 rdim=1 par=x rng=Tabelle5...
by bussieck
2 years ago
Forum: Syntax
Topic: How to check infeasible results in gdx file?
Replies: 2
Views: 2285

Re: How to check infeasible results in gdx file?

Sure, the model attribute "modStat" (https://www.gams.com/latest/docs/UG_GamsCall.html#GAMSAOmodelstat) gives you programmatic access to the model status. You can save the model status in a parameter: "mstat(day) = mymodel.modstat;" and save this to GDX. Be aware that there are m...
by bussieck
2 years ago
Forum: Modeling
Topic: MIP model does not return any solution and any error message-CPLEX
Replies: 1
Views: 1087

Re: MIP model does not return any solution and any error message-CPLEX

I suggest that you run recent versions of the software. Cplex still solves the root LP and stops after a little more than an hour. If your "super computer" uses some kind of batch submission system I guess the system has imposed some resource limits (time and/or memory) and kills the job a...
by bussieck
2 years ago
Forum: Modeling
Topic: Sequantial solve statements
Replies: 2
Views: 1445

Re: Sequantial solve statements

The typical solution for this in GAMS is to write you the model equations with a dynamic subset of the domain sets: set i /AF,A,B,C/, ii(i) set j /A,B,C,EF/m jj(j); Variable F(i,j) OF .. FT =e= sum((ii,jj),F(ii,jj)); model m /OF/; loop((i,j), option clear=ii, clear=jj; ii(i) = yes; jj(j) = yes; solv...
by bussieck
2 years ago
Forum: Modeling
Topic: Error $141 - Can't figure out what is wrong
Replies: 1
Views: 1270

Re: Error $141 - Can't figure out what is wrong

Hi, please follow thew forum rules. Don't just paste program in your text. At least use a code section or better attach the file. All the table formatting is broken if you just paste in the text! The error is pretty clear 254 Pw.up(bus,t)=DataWDL(t,'w')*Wcap(bus)/Sbase; **** $141 **** 141 Symbol dec...