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 lowest steam consumption and the corresponding level of my temperature variable.

I defined a set for all temperatures between 50 and 150 degrees and used a binary variable over this set for finding the optimal value for my temperature. This worked but I realized that if I start applying this procedure for further variables the complexity of the solving procedure increases too much.

Is there any other way I could do such calculation without using a binary variable? (To find the best value of a variable over an interval)

I hope my beginner’s question is understandable, if not please let me know