I am quite new in the gams modelling world and I need some help by implementing a modell for a university project in gams.
It´s about moddeling a heding rule for managing a waterreservoir while drough. (The data used in the modell are fictional right now).
There is no error message but all the numbers are 0. The solver doesn´t care about any restrictions and I can´t find my mistake.
In the attachment you can find the mathematric Modell with explainations and my gams code.
I´d love to find someone who has fun in the challange and can help me at the same time!
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 solution is quickly identified with an objective value of 5.571182 and all variables have some non-zero entries. When solving your model using the Lindo solver and enabling “IIS=1” in its “lindo.opt” optfile (gams call is: optfile=1 solver=lindo) the resulting irreducible infeasible set shows some conflicting constraints (see the attached excerpt from the listing) which taken together are causing the integer infeasibility of the overall model. spielen_lindo_irreducible_infeasible_set.txt (1.45 KB)
Regards,