Hope you are all fine. I am getting the following error in my model file which I dont know where it is coming from and why:
*************************************************************
amplin, line 17 (offset 250):
Abandoning compound command to accept declaration of Pmax.
context: param >>> Pmax:=0.5; <<<
ng commands.
Executing on neos-7.neos-server.org
Error (2) in /opt/ampl/ampl -R amplin
*************************************************************
I searched this group as well. But I dont understand how can I debug it and from where I have done any fault. In my model file I have these declarations
for the param Pmax:
In Model File
param Pmax:=0.5;
#using it as a constraint here
subject to Max_Power_All {ma in M,kh in K}: sum{f in U} P[m,k,u] <= Pmax;
In Data File
for {is in K,kl in M} {
let rate[kl,is] := B*(1+((Pmax/NPRBs[kl,is])*h[kl,is])/NoB);
};
These are the locations where Pmax is present. But what is that error.