Page 1 of 1

I can't implemet constraints for calculating some variables;

Posted: Sat Apr 22, 2023 8:58 pm
by samets
Hi,

I was trying to implement this linear model in GAMS and run with different parameters;
image.png
I wrote down the whole model with all constraints and wanted to see that really does to work, I set some parameters to run knowing the fact the objective value should equal to 2029.

But when I run this model, the objective function is calculated as zero and when I take a deep dive into the run results, I noticed that parameter T(j) may not have been calculated at all.

What I tried so far and my final model is attached ;
DRAFT2.gms
(4.55 KiB) Downloaded 54 times
I've tried every possible and different way I can think of, but my objective value is always calculated as 0. Even the slightest advice can help me solve the problem.

Thanks in advance.

Regards.