Search found 3 matches

by Faustino
4 months ago
Forum: Syntax
Topic: Set optimal solution
Replies: 1
Views: 140

Set optimal solution

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...
by Faustino
5 months ago
Forum: Modeling
Topic: MIP minimisation too restrictive
Replies: 1
Views: 220

Re: MIP minimisation too restrictive

The variable in my Model that I would like to minimise is "dis" calculated as follows: Distance(i,j)$(ord(i) lt ord(j)).. dis =e= sum(k$(ord(k)<3), y(k, i, j)*d( i, j)) d(i,j) is a table that I put under Parameters and y(k,i,j) is a binary variable that is 1 if a game takes place and 0 if there is n...
by Faustino
5 months ago
Forum: Modeling
Topic: MIP minimisation too restrictive
Replies: 1
Views: 220

MIP minimisation too restrictive

Hello, I'm trying to generate a sports league schedule with GAMS. I want to minimise the distance travelled on certain match days (for example in winter) while also limiting the carry-over effect given from one team to another. My problem is that my minimisation only returns a result if the solution...