[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-glpk] [Fwd: expression following = has invalid type]
From: |
Andrew Makhorin |
Subject: |
[Bug-glpk] [Fwd: expression following = has invalid type] |
Date: |
Sun, 11 Jun 2017 09:08:25 +0300 |
-------- Forwarded Message --------
From: Ahmed Shahein <address@hidden>
To: address@hidden
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
fir.mod
Description: MPEG movie
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-glpk] [Fwd: expression following = has invalid type],
Andrew Makhorin <=