tuple sa_pjt
{
int p;
int j;
int t;
int SA_pjt;
}
{sa_pjt} SA_pjt =...;
For these tuples, I have the SA_pjt for all t=1, but the remaining t= 2..T will be calculated through the model. How can I modify the code to compensate for this? Do I need to change the .dat file at all?
It is resulting with an output of SA_pjt is undefined for all SA_pjt
Within OPL you can compute a new set out of an existing set.
.mod
.dat
gives