Search found 9 matches

by Lenilein78
5 years ago
Forum: Tools
Topic: How to display all results of a search in a .gms file
Replies: 0
Views: 3096

How to display all results of a search in a .gms file

Dear GAMS Users, I have a basic question regarding the search functionality in GAMSide: when I press ctrl + F the Find/Replace Text tab opens. So far so good. However, if I want to find a certain word in my GAMS code (in .gms file), I enter the word and press search, only one result is displayed (ei...
by Lenilein78
5 years ago
Forum: Modeling
Topic: To binary or not to binary...
Replies: 4
Views: 3878

Re: To binary or not to binary...

Great, it is so much easier than I thought!!

Thank you,
Helene
by Lenilein78
5 years ago
Forum: Syntax
Topic: How to keep it compact
Replies: 1
Views: 2474

How to keep it compact

Good Morning GAMS lovers! I have a small question regarding syntax of variables and parameters expressions: whenever I define a parameter and want to write an expression for that parameter I need to write again "Parameter" before defining the next parameter (see below in bold). Else GAMSid...
by Lenilein78
5 years ago
Forum: Modeling
Topic: To binary or not to binary...
Replies: 4
Views: 3878

Re: To binary or not to binary...

Thank you so much Manassaldi!
Discovering that a variable doesn't have to be defined over a set is life-changing :)
by Lenilein78
5 years ago
Forum: Modeling
Topic: To binary or not to binary...
Replies: 4
Views: 3878

To binary or not to binary...

Dear GAMS community, I have a doubt about the best way to formulate an optimization problem. Basically I am trying to find the minimal steam consumption that depends on a temperature variable which level can be anywhere between 50°C and 150°C. So I would like the program to calculate what is the low...
by Lenilein78
6 years ago
Forum: Syntax
Topic: How to find the set elements that verify a condition
Replies: 2
Views: 3273

Re: How to find the set elements that verify a condition

Hi cladelpino,

Excellent, it worked!! :)
TC(i,j) and TCmin are indeed both variables in my model.

Thanks a lot for your help!
by Lenilein78
6 years ago
Forum: Syntax
Topic: How to find the set elements that verify a condition
Replies: 2
Views: 3273

How to find the set elements that verify a condition

Dear All, In my GAMS code, I have written two equations with which I am calculating the total costs of a energy system [variable TC on the domain j (fuel type) and i (technology)] and TCmin which allows me to determine the cheapest of the different configurations: TotCost(i,j).. TC(i,j) =e=Eg(i)*C(i...
by Lenilein78
6 years ago
Forum: Solvers
Topic: GAMS vs Matlab vs Modelica
Replies: 2
Views: 4476

Re: GAMS vs Matlab vs Modelica

Great, thank you very much Lutz!
From what I see online, the book that you recommend has not yet been released...however I'm sure it will be of great help once it is!
by Lenilein78
6 years ago
Forum: Solvers
Topic: GAMS vs Matlab vs Modelica
Replies: 2
Views: 4476

GAMS vs Matlab vs Modelica

Dear All, I'm in the process of choosing a modeling environment for my research project and would be extremly thankful to hear your experienced opinions on following: my task is to perform global optimizations (probably based on MINLP) on industrial energy systems including electricity/heat storage ...