Set optimal solution

Problems with syntax of GAMS
Post Reply
Faustino
User
User
Posts: 3
Joined: 1 month ago

Set optimal solution

Post by Faustino » 1 week ago

Is there a way to set an optimal solution in my model, so GAMS won't try to find a better solution for hours if it already finds what I know to be the best solution in 15 Minutes?

I am using GAMS to create league schedules with varying constraints. One optimisation is to minimise the so-called carry-over effect (COE). But in this case, I already know the theoretical optimal solution. I just need GAMS to find one possible way to construct the schedule with the minimal COE value, but as GAMS doesn't know the minimal possible number. It keeps searching for hours without finishing, but if I interrupt it after 15 Minutes it already found a solution that I know is the minimal possible number.

I tried setting optca to the optimal number (48 in this example) which allows the Model to finish, but I don't think that is the correct way for larger models where I am uncertain if the theoretical optimal solution can be reached.

Post Reply