param DW (tr): [*,*,CD]:
param DW [*,*,CD] (tr):
Thanks a lot, I done it, and installed.
I have problem to solve my problem,
I attached 2 zip file:
1. It has 3 file ".RUN"&".MOD"and".xlxs" that my data import in excel file and called it to ".RUN" file.
when I import these files to ampl and right-click and choose "send to AMPL", show me "
C:\Users\Ahmad\Desktop\OperFebCL.run, line 2 (offset 14):
Can't find file "OperFin.mod"
context: model >>> OperFin.mod <<< ;
include stack...
-, line 55 includes
C:\Users\Ahmad\Desktop\OperFebCL.run"
and I can't solve it.
2. It has 2 file like previous zip file, but with ".MOD" and "..DAT". and done like previous way, show me several error like:
"
C:\Users\Ahmad\Desktop\code\OperFebCL - Copy.dat, line 67 (offset 1230):
expected :=
context: >>> [ <<< *,*,CD]: "
I read your guid "12-data.pdf" and example file in your website, but they didn't help to solve and clean these error.
Is it possible help me??
thanks
On Fri, Feb 8, 2019 at 6:03 PM UTC, AMPL Support Services <sup...@ampl.com> wrote:When you downloaded and then unzipped amplide.mswin64.zip, you created a folder named amplide.mswin64 that looked like:
You can see in this display that the folder contains ampl.exe (the AMPL program) and also the amplide folder. The error messages from the AMPL IDE indicate that you moved the amplide folder to your desktop -- but it won't work there. You need to move the amplide folder back into the amplide.mswin64 folder, and after that open the amplide folder and double-click the amplide application.
If you can't find the amplide.mswin64 folder anymore, then download a new copy. It will contain an amplide folder, with the amplide application inside it; just don't move the amplide folder before starting the amplide application.
--
AMPL Support Services
sup...@ampl.com
On Fri, Feb 8, 2019 at 4:49 AM UTC, Ahmad Abedinpour <ahmad_abed...@yahoo.com> wrote:and number 3 for error:
The IDE cannot find the AMPL executable.
For assistance, copy this entire message and send it to lice...@ampl.com.
Search paths:
C:\Users\Ahmad\Desktop
C:\Users\Ahmad\Desktop\amplide\ampl
C:/Users/Ahmad/Desktop/amplide/jre/bin/server
C:/Users/Ahmad/Desktop/amplide/jre/bin
C:/Users/Ahmad/Desktop/amplide/jre/lib/amd64
C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter\Driver
B:\IBM\ILOG\CPLEX_Studio_Preview126\opl\bin\x86_win32
B:\IBM\ILOG\CPLEX_Studio_Preview126\opl\oplide\
B:\IBM\ILOG\CPLEX_Studio_Preview126\cplex\bin\x86_win32
B:\IBM\ILOG\CPLEX_Studio_Preview126\cpoptimizer\bin\x86_win32
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\WINDOWS\System32\OpenSSH\
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\WINDOWS\System32\OpenSSH\
C:\Users\Ahmad\AppData\Local\Microsoft\WindowsApps
C:\Users\Ahmad\Desktop\amplide
On Thu, Feb 7, 2019 at 10:59 PM UTC, AMPL Support Services <sup...@ampl.com> wrote:To get further help, send us the following information:
- A screenshot of your folder that contains the "ampl" or "ampl.exe" file.
- A description or screenshot of the web page where you download AMPL.
- The complete error message again (so that we can see if it has changed).
--
AMPL Support Services
sup...@ampl.com
On Thu, Feb 7, 2019 at 5:32 PM UTC, Ahmad Abedinpour <ahmad_abed...@yahoo.com> wrote:your guides isn't work :(
On Thu, Feb 7, 2019 at 5:18 PM UTC, AMPL Support Services <sup...@ampl.com> wrote:It appears that you downloaded the AMPL IDE folder "amplide" from http://ampl.com/products/ide/, and you have placed "amplide" on your desktop. However this download contains only the IDE, and not the AMPL executable file ampl.exe or the rest of the AMPL installation.
If you have a different folder that contains ampl.exe, then drag your "amplide" folder inside of it. Then you can go inside the "amplide" folder and double-click "amplide.exe" to start the AMPL IDE application.
If you do not have a folder that contains ampl.exe and you are using AMPL in a course, then follow your professor's instructions for downloading a course version of the software and setting up your course AMPL folder. The course AMPL folder might already have amplide inside it, but if not, you can add on the AMPL IDE by dragging the amplide folder into your course AMPL folder.
Otherwise, delete the "amplide" folder from your desktop, and instead follow the Windows instructions at http://ampl.com/try-ampl/download-a-free-demo/ to download a package that contains both the AMPL IDE and the AMPL and solver products.
--
AMPL Support Services
sup...@ampl.com
On Thu, Feb 7, 2019 at 5:01 PM UTC, Ahmad Abedinpour <ahmad_abed...@yahoo.com> wrote:The IDE cannot find the AMPL executable.For assistance, copy this entire message and send it to lice...@ampl.com.Search paths:C:\Users\Ahmad\DesktopC:\Users\Ahmad\Desktop\amplide\amplC:/Users/Ahmad/Desktop/amplide/jre/bin/serverC:/Users/Ahmad/Desktop/amplide/jre/binC:/Users/Ahmad/Desktop/amplide/jre/lib/amd64C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter\DriverB:\IBM\ILOG\CPLEX_Studio_Preview126\opl\bin\x86_win32B:\IBM\ILOG\CPLEX_Studio_Preview126\opl\oplide\B:\IBM\ILOG\CPLEX_Studio_Preview126\cplex\bin\x86_win32B:\IBM\ILOG\CPLEX_Studio_Preview126\cpoptimizer\bin\x86_win32C:\WINDOWS\system32C:\WINDOWSC:\WINDOWS\System32\WbemC:\WINDOWS\System32\WindowsPowerShell\v1.0\C:\WINDOWS\System32\OpenSSH\C:\Program Files (x86)\NVIDIA Corporation\PhysX\CommonC:\WINDOWS\system32C:\WINDOWSC:\WINDOWS\System32\WbemC:\WINDOWS\System32\WindowsPowerShell\v1.0\C:\WINDOWS\System32\OpenSSH\C:\Users\Ahmad\AppData\Local\Microsoft\WindowsAppsC:\Users\Ahmad\Desktop\amplide
1. I done your tip, but not responding.
I solved this error, and I have a new error,that send in previous question.
On Thu, Feb 21, 2019 at 8:19 PM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
When you have a param indexed over two sets, like
param PN {DAYD,PROD} >=0;
then AMPL expects your table in the .dat file to be arranged as follows:So you are getting error messages because you have specified "param PN (tr):" in the dat file, but members of DAYD (the first set) are on the left, and members of PROD (the second set) are on the top. To fix this, remove (tr) from the specification of param PN in your .dat file. Your other errors are for similar reasons; in particular it appears that you have used (tr) in many places where it is not needed.
- Members of the first set on the left, and members of the second set on the top; or
- if (tr) is specified, then members of the second set on the left, and members of the first set on the top.
--
Robert Fourer
am...@googlegroups.com