-------- Forwarded Message --------
From: Manuel Castro <[email protected]>
To: [email protected]
Subject: Help please
Date: Sat, 17 Oct 2020 17:02:16 -0000
> Hi there,
>
> I have the following constraint:
>
>
> subject to linctr20 {i in 1..365}:
> sum {j in (i - 1) * 48 + 1..(i * 48)} FlexibleLoadIncrease[j], <=
> FlexibleLoadEnergyRating * LoadPowerProfile[j];
>
>
> FlexibleLoadIncrease is a decision variable
> whilst FlexibleLoadEnergyRating and LoadPowerProfile are param.
>
> I get the following error message:
>
> \Local\Temp\SolverStudio cyzbbe4o\model.txt:147: j not defined
> Context: ...[ j ] , <= FlexibleLoadEnergyRating * LoadPowerProfile [ j
> ]
> MathProg model processing error
>
> I have spent hours and hours trying to resolve this by going through
> the forums but couldn't find a solution. My last option was to contact
> you. Any help would be appreciated. Many thanks.
>
> Kind regards,
> MAnuel.