User Tools

Site Tools


platform:using_gams_from_a_unix_shell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

platform:using_gams_from_a_unix_shell [2008/10/27 12:12] (current)
support created
Line 1: Line 1:
 +====== Using GAMS from a Unix shell ======
  
 +Under Unix you are best of doing the following, all at the Unix command prompt:
 +
 +  - Make sure the gams system directory is in your PATH.
 +  - cd to a directory you will put your model in (e.g. ''​~/​models/​superfund''​)
 +  - enter ''​gamslib trnsport''​
 +  - enter ''​gams trnsport''​
 +
 +If you can do steps 3 and 4 to solve the transport model (see the tutorial section of the GAMS User's Guide for more info, you can download this from the Web if necessary), GAMS is installed correctly.
 +
 +Now, to solve your model, you will need to ftp your files to the Unix machine and run GAMS in the same way.  If you want to test a MIP from the model library, do
 +<​code>​
 +gamslib magic
 +gams magic
 +</​code>​
 +As far as looking at output, etc., that depends on what system tools (editors, print queues, etc.) your have installed there. ​ Every Unix system will have vi, but after that it is harder to say for sure.
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY platform/using_gams_from_a_unix_shell.txt ยท Last modified: 2008/10/27 12:12 by support