Search found 5 matches

by AndreSchnabel
2 years ago
Forum: Modeling
Topic: Model optimal with continuous variables but infeasible with integer
Replies: 2
Views: 1851

Re: Model optimal with continuous variables but infeasible with integer

Hey Sergio, first: Did you force the integrality for all variables or only those which already happen to be integer in the optimal solution for the model with continuous variables? I assume the former for now. Have you tried solving your model as "relaxed MIP" by replacing "mip" ...
by AndreSchnabel
2 years ago
Forum: Modeling
Topic: multi-machine job shop scheduling
Replies: 1
Views: 1923

Re: multi-machine job shop scheduling

Hey hllsyr, there are multiple issues in the GAMS model that you have posted. The model itself is infeasible due to conflicting constraints. - It is not possible for both E1 and E2 to hold with the sets you have provided. When there are just three machines being responsible for as many as 37*96=3552...
by AndreSchnabel
2 years ago
Forum: Modeling
Topic: Opening facilities and transportation of commodities across links
Replies: 4
Views: 2252

Re: Opening facilities and transportation of commodities across links

Hey hh-student, you could set the upper bound for the transported amount x from i to j to zero for all scenarios s and goods k , if and only if there is no link a(i,j) between those two locations. The GAMS code for this is as follows: x.up(s,i,j,k)$(not a(i,j)) = 0; Kind regards, André
by AndreSchnabel
2 years ago
Forum: Modeling
Topic: Opening facilities and transportation of commodities across links
Replies: 4
Views: 2252

Re: Opening facilities and transportation of commodities across links

Hey hh-student, your model does not contain any restriction preventing setting pretty much all variables to zero (e.g. all y 's are zero thus no place is actually setup) and hence obtaining zero costs as optimal objective value. Quickly skimming over the model I was curious if maybe your equation &q...
by AndreSchnabel
2 years ago
Forum: Modeling
Topic: Need help for University Project
Replies: 2
Views: 1548

Re: Need help for University Project

Hey Daniel, the GAMS model you provided seems infeasible when enforcing the integrality constraints for the binary variables Y and U in your model. When relaxing the integrality constraints by replacing MIP with RMIP in the solve statement in line 149, the model becomes feasible and the optimal solu...