-------- Forwarded Message --------
From: Ahmed Shahein <[email protected]>
To: [email protected]
Subject: expression following = has invalid type
Date: Sun, 11 Jun 2017 04:41:58 +0200

Dear Madam/Sir,


I have tried to compile the attached AMPL model using the GLPK solver
however, it gave me the following error message:


GLPSOL: GLPK LP/MIP Solver, v4.55
Parameter(s) specified in the command line:
 --model fir.mod
Reading model section from fir.mod...
fir.mod:20: expression following = has invalid type
Context:  0 ] + sum { k in 1 .. n - 1 } 2 * r [ k ] * cos ( k * o ) ;
MathProg model processing error





When I posted the code at the AMPL forum I received a reply that they
managed to compile the code using another solver.


The AMPL fourms link is:
https://groups.google.com/forum/#!topic/ampl/1HpbT3Rfi1U


Is this a bug, or a limited feature? Do you have any suggestion(s) to
overcome this issue?


Thanks in advance.


Regards.


Ahmed.


-- 
Ahmed Shahein

HW Design Engineer


Attachment: fir.mod
Description: MPEG movie

_______________________________________________
Bug-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to