help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fwd: Need help in Fixing GUSEK Code]


From: Andrew Makhorin
Subject: [Fwd: Need help in Fixing GUSEK Code]
Date: Fri, 10 Apr 2020 12:57:20 +0300

-------- Forwarded Message --------
From: sahani rathnasiri <address@hidden>
To: address@hidden
Subject: Need help in Fixing GUSEK Code
Date: Fri, 10 Apr 2020 19:08:39 +1000

> Hi All,
> 
> I am running code in GUSEK and I need to define three indexes. I am
> getting a syntax error. Please help me fix this.
> My constraint;
> subject to order_quantity_constraint_min {i in I, j in J, n in N: i
> <= t, j <> 2 and n <= r}: Z[i,j]* Qmin[i,n] <= a[i,n];
> 
> The result I receive in NEOS;
> 
> amplin, line 50 (offset 2865):
>         syntax error
> context:  subject to order_quantity_constraint_min {i in I, j in J, n
> in N: i <=  >>> t, <<<  j <> 2 and n <= r}: Z[i,j]* Qmin[i,n] <=
> a[i,n];
> Executing AMPL.
> 
> If anyone can help me, really appreciate your help in this regard.
> 
> Thank You,
> 
> Best Regards,
> 
> Sahani 
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]