Difference: AMPLAtHome (1 vs. 7)

Revision 72009-07-23 - CameronWalker

Line: 1 to 1
 
META TOPICPARENT name="AMPLGuide"
<-- Ready to Review - done - Lauren-->

Installing AMPL at Home

Line: 13 to 13
 

Downloading AMPL

  1. Go to the AMPL website at www.ampl.com.
Changed:
<
<
  1. Click on the download link to get the Student Edition.

    ampl_download.jpg


  2. Get the quick start zip file (for Windows) and save it to the appropriate directory <AMPL root>. Here we will use
    <AMPL root> = C:\Temp

    ampl_windows.jpg

>
>
  1. Click on the download link to get the Student Edition.

    ampl_download.jpg

  2. Get the quick start zip file (for Windows) and save it to the appropriate directory . Here we will use
     = C:\Temp

    ampl_windows.jpg

  Your directory should look like this:

ampl_dir.jpg

Extracting AMPL

Changed:
<
<
Open the zip file and extract it into <AMPL root>. Make sure to check Use folder names.
>
>
Open the zip file and extract it into . Make sure to check Use folder names.
 
Changed:
<
<
After extraction your <AMPL root> directory should look like this:
>
>
After extraction your directory should look like this:
  ampl_done.jpg

Creating a Batch File

To simplify your use of AMPL it is easiest to set it up to run from any directory. To do this you need to create a batch file that will set the path to your AMPL executable and then open a Command Line (aka DOS Prompt) window. Here are the steps to do this:
Changed:
<
<
  1. Right click on the Desktop and create a new Text Document.

    make_text.jpg


  2. Name the document setup_ampl.bat. If queried about changing the extension, click Yes.

    change_ext.jpg


  3. Open Notepad. Go to the start menu, select Programs, then Accessories and finally Notepad.

    run_notepad.jpg


  4. Open setup_ampl.bat in Notepad.

    open_batch.jpg


  5. Add the following lines to setup_ampl.bat:
    path %path%;<AMPL root>\ampcml
    start cmd.exe

    edit_batch.jpg


>
>
  1. Right click on the Desktop and create a new Text Document.

    make_text.jpg

  2. Name the document setup_ampl.bat. If queried about changing the extension, click Yes.

    change_ext.jpg

  3. Open Notepad. Go to the start menu, select Programs, then Accessories and finally Notepad.

    run_notepad.jpg

  4. Open setup_ampl.bat in Notepad.

    open_batch.jpg

  5. Add the following lines to setup_ampl.bat:
    path %path%;\amplcml
    start cmd.exe

    edit_batch.jpg

 
  1. Save setup_ampl.bat and then double click on setup_ampl.bat in your Desktop. You will get a command line window (also known as a DOS prompt) pop up and your path will be set to find AMPL.

    run_batch.jpg

You can now run AMPL from anywhere on your computer.

Revision 62008-06-27 - MichaelOSullivan

Line: 1 to 1
 
META TOPICPARENT name="AMPLGuide"
<-- Ready to Review - done - Lauren-->

Installing AMPL at Home

Line: 34 to 34
 
  1. Name the document setup_ampl.bat. If queried about changing the extension, click Yes.

    change_ext.jpg


  2. Open Notepad. Go to the start menu, select Programs, then Accessories and finally Notepad.

    run_notepad.jpg


  3. Open setup_ampl.bat in Notepad.

    open_batch.jpg


Changed:
<
<
  1. Add the following lines to setup_ampl.bat:
    path %path%;\ampcml
    start cmd.exe

    edit_batch.jpg


>
>
  1. Add the following lines to setup_ampl.bat:
    path %path%;<AMPL root>\ampcml
    start cmd.exe

    edit_batch.jpg


 
  1. Save setup_ampl.bat and then double click on setup_ampl.bat in your Desktop. You will get a command line window (also known as a DOS prompt) pop up and your path will be set to find AMPL.

    run_batch.jpg

You can now run AMPL from anywhere on your computer.

Revision 52008-03-09 - LaurenJackson

Line: 1 to 1
 
META TOPICPARENT name="AMPLGuide"
Changed:
<
<
<-- Ready to Review -->
>
>
<-- Ready to Review - done - Lauren-->
 

Installing AMPL at Home

For Windows

Revision 42008-02-27 - MichaelOSullivan

Line: 1 to 1
 
META TOPICPARENT name="AMPLGuide"
Added:
>
>
<-- Ready to Review -->
 

Installing AMPL at Home

For Windows

Line: 20 to 21
 ampl_dir.jpg

Extracting AMPL

Changed:
<
<
Open the zip file and extract it into . Make sure to check Use folder names.
>
>
Open the zip file and extract it into <AMPL root>. Make sure to check Use folder names.
 
Changed:
<
<
After extraction your directory should look like this:
>
>
After extraction your <AMPL root> directory should look like this:
  ampl_done.jpg

Creating a Batch File

Changed:
<
<
To simplify your use of AMPL it is easiest to set it up to run from any directory. To do this you need to create a batch file that will set the path to your AMPL executable and then open a Command Line (aka DOS Prompt) window. Here are the steps to do this:
>
>
To simplify your use of AMPL it is easiest to set it up to run from any directory. To do this you need to create a batch file that will set the path to your AMPL executable and then open a Command Line (aka DOS Prompt) window. Here are the steps to do this:
 
Changed:
<
<
  1. Right click on the Desktop and create a new Text Document.

    make_text.jpg

  2. Name the document setup_ampl.bat. If queried about changing the extension, click Yes.

    change_ext.jpg

  3. Open Notepad. Go to the start menu, select Programs, then Accessories and finally Notepad.

    run_notepad.jpg

  4. Open setup_ampl.bat in Notepad.

    open_batch.jpg

  5. Add the following lines to 'setup_ampl.bat':
    path %path%;\ampcml
    start cmd.exe

    edit_batch.jpg

  6. Save setup_ampl.bat and then double click on setup_ampl.bat in your Desktop. You will get a command line window (also known as a DOS prompt) pop up and your path will be set to find AMPL.

    run_batch.jpg

>
>
  1. Right click on the Desktop and create a new Text Document.

    make_text.jpg


  2. Name the document setup_ampl.bat. If queried about changing the extension, click Yes.

    change_ext.jpg


  3. Open Notepad. Go to the start menu, select Programs, then Accessories and finally Notepad.

    run_notepad.jpg


  4. Open setup_ampl.bat in Notepad.

    open_batch.jpg


  5. Add the following lines to setup_ampl.bat:
    path %path%;\ampcml
    start cmd.exe

    edit_batch.jpg


  6. Save setup_ampl.bat and then double click on setup_ampl.bat in your Desktop. You will get a command line window (also known as a DOS prompt) pop up and your path will be set to find AMPL.

    run_batch.jpg

  You can now run AMPL from anywhere on your computer.

Revision 32008-02-27 - MichaelOSullivan

Line: 1 to 1
 
META TOPICPARENT name="AMPLGuide"

Installing AMPL at Home

For Windows

You can easily set up AMPL on your (Windows) computer by:

Changed:
<
<
  1. Downloading a "starter kit" from the AMPL website;
  2. Extracting it on your computer;
  3. Creating a batch file to set up AMPL.
>
>
  1. Downloading a "starter kit" from the AMPL website;
  2. Extracting it on your computer;
  3. Creating a batch file to set up AMPL.
 

Downloading AMPL

Changed:
<
<
  1. Go to the AMPL website at www.ampl.com.

  1. Click on the download link to get the Student Edition.

  1. Get the quick start zip file (for Windows) and save it to the appropriate directory . Here we will use = C:\Temp.
>
>
  1. Go to the AMPL website at www.ampl.com.
  2. Click on the download link to get the Student Edition.

    ampl_download.jpg


  3. Get the quick start zip file (for Windows) and save it to the appropriate directory <AMPL root>. Here we will use
    <AMPL root> = C:\Temp

    ampl_windows.jpg

  Your directory should look like this:
Added:
>
>
ampl_dir.jpg
 

Extracting AMPL

Open the zip file and extract it into . Make sure to check Use folder names.

After extraction your directory should look like this:

Added:
>
>
ampl_done.jpg
 

Creating a Batch File

To simplify your use of AMPL it is easiest to set it up to run from any directory. To do this you need to create a batch file that will set the path to your AMPL executable and then open a Command Line (aka DOS Prompt) window. Here are the steps to do this:
Changed:
<
<
  1. Right click on the Desktop and create a new Text Document.

  1. Name the document setup_ampl.bat. If queried about changing the extension, click Yes.

  1. Open Notepad. Go to the start menu, select Programs, then Accessories and finally Notepad.

  1. Open setup_ampl.bat in Notepad

  1. Add the following lines to 'setup_ampl.bat': LatexWiki Image

  1. Save setup_ampl.bat and then double click on setup_ampl.bat in your Desktop. You will get a command line window (also known as a DOS prompt) pop up and your path will be set to find AMPL.
>
>
  1. Right click on the Desktop and create a new Text Document.

    make_text.jpg

  2. Name the document setup_ampl.bat. If queried about changing the extension, click Yes.

    change_ext.jpg

  3. Open Notepad. Go to the start menu, select Programs, then Accessories and finally Notepad.

    run_notepad.jpg

  4. Open setup_ampl.bat in Notepad.

    open_batch.jpg

  5. Add the following lines to 'setup_ampl.bat':
    path %path%;\ampcml
    start cmd.exe

    edit_batch.jpg

  6. Save setup_ampl.bat and then double click on setup_ampl.bat in your Desktop. You will get a command line window (also known as a DOS prompt) pop up and your path will be set to find AMPL.

    run_batch.jpg

  You can now run AMPL from anywhere on your computer.

-- MichaelOSullivan - 27 Feb 2008

Added:
>
>
META FILEATTACHMENT attachment="ampl_download.jpg" attr="h" comment="" date="1204104466" name="ampl_download.jpg" path="ampl_download.jpg" size="51174" stream="ampl_download.jpg" tmpFilename="" user="MichaelOSullivan" version="1"
META FILEATTACHMENT attachment="ampl_windows.jpg" attr="h" comment="" date="1204104498" name="ampl_windows.jpg" path="ampl_windows.jpg" size="53007" stream="ampl_windows.jpg" tmpFilename="" user="MichaelOSullivan" version="1"
META FILEATTACHMENT attachment="ampl_done.jpg" attr="h" comment="" date="1204104534" name="ampl_done.jpg" path="ampl_done.jpg" size="19348" stream="ampl_done.jpg" tmpFilename="" user="MichaelOSullivan" version="1"
META FILEATTACHMENT attachment="make_text.jpg" attr="h" comment="" date="1204104573" name="make_text.jpg" path="make_text.jpg" size="38822" stream="make_text.jpg" tmpFilename="" user="MichaelOSullivan" version="1"
META FILEATTACHMENT attachment="change_ext.jpg" attr="h" comment="" date="1204104614" name="change_ext.jpg" path="change_ext.jpg" size="11639" stream="change_ext.jpg" tmpFilename="" user="MichaelOSullivan" version="1"
META FILEATTACHMENT attachment="run_notepad.jpg" attr="h" comment="" date="1204104653" name="run_notepad.jpg" path="run_notepad.jpg" size="61949" stream="run_notepad.jpg" tmpFilename="" user="MichaelOSullivan" version="1"
META FILEATTACHMENT attachment="open_batch.jpg" attr="h" comment="" date="1204104694" name="open_batch.jpg" path="open_batch.jpg" size="70677" stream="open_batch.jpg" tmpFilename="" user="MichaelOSullivan" version="1"
META FILEATTACHMENT attachment="edit_batch.jpg" attr="h" comment="" date="1204104717" name="edit_batch.jpg" path="edit_batch.jpg" size="8105" stream="edit_batch.jpg" tmpFilename="" user="MichaelOSullivan" version="1"
META FILEATTACHMENT attachment="run_batch.jpg" attr="h" comment="" date="1204104755" name="run_batch.jpg" path="run_batch.jpg" size="22076" stream="run_batch.jpg" tmpFilename="" user="MichaelOSullivan" version="1"
META FILEATTACHMENT attachment="ampl_dir.jpg" attr="h" comment="" date="1204104973" name="ampl_dir.jpg" path="ampl_dir.jpg" size="21566" stream="ampl_dir.jpg" tmpFilename="" user="MichaelOSullivan" version="1"

Revision 22008-02-27 - MichaelOSullivan

Line: 1 to 1
 
META TOPICPARENT name="AMPLGuide"

Installing AMPL at Home

For Windows

Added:
>
>
You can easily set up AMPL on your (Windows) computer by:

  1. Downloading a "starter kit" from the AMPL website;
  2. Extracting it on your computer;
  3. Creating a batch file to set up AMPL.

Downloading AMPL

  1. Go to the AMPL website at www.ampl.com.

  1. Click on the download link to get the Student Edition.

  1. Get the quick start zip file (for Windows) and save it to the appropriate directory . Here we will use = C:\Temp.

Your directory should look like this:

Extracting AMPL

Open the zip file and extract it into . Make sure to check Use folder names.

After extraction your directory should look like this:

Creating a Batch File

To simplify your use of AMPL it is easiest to set it up to run from any directory. To do this you need to create a batch file that will set the path to your AMPL executable and then open a Command Line (aka DOS Prompt) window. Here are the steps to do this:

  1. Right click on the Desktop and create a new Text Document.

  1. Name the document setup_ampl.bat. If queried about changing the extension, click Yes.

  1. Open Notepad. Go to the start menu, select Programs, then Accessories and finally Notepad.

  1. Open setup_ampl.bat in Notepad

  1. Add the following lines to 'setup_ampl.bat': LatexWiki Image

  1. Save setup_ampl.bat and then double click on setup_ampl.bat in your Desktop. You will get a command line window (also known as a DOS prompt) pop up and your path will be set to find AMPL.

You can now run AMPL from anywhere on your computer.

 -- MichaelOSullivan - 27 Feb 2008 \ No newline at end of file

Revision 12008-02-27 - MichaelOSullivan

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="AMPLGuide"

Installing AMPL at Home

For Windows

-- MichaelOSullivan - 27 Feb 2008

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback