The GAMS-X Update Page

All of the following information is taken directly from the Upgrade section of the GAMS-X User's Guide and Owner's Manual.

Please consult the GAMS-X User's Guide and Owner's Manual for more details.

2.3.5  Upgrading from GAMS-X Version 2.x

As this is a brand-new product, and doubtless will improve as it is used in a variety of modeling situations, regular updates will be posted to remedy bugs and enhance the existing base of GAMS-X features.

Do I need an update?

An update is not necessary if you have just installed GAMS-X.

If the date of your version of GAMS-Tk is more than a few days older than the update, you could benefit from the update.

How to Find Your GAMS-X Version Number

Run GAMS-Tk and select the Help.About GAMS-Tk menu option.

Alternatively, you could write a simple GAMS-X script like the following:

use GAMS::Script;
print "I am running GAMS-X version ", $GAMS::Ini::VERSION, "\n";

For more information on creating GAMS-X scripts, see chapter .

How to Upgrade

Before updating your version of GAMS-X:

  1. Download the new update utility update.pl and put it in your GAMS-X root directory (typically C:\gams-x), replacing the existing update.pl.
  2. If you do not have unzip.exe either in your path or in your GAMS-X root directory, put it in your GAMS-X root directory.

To update your version of GAMS-X:

You have a choice between the easy way and the hard way, with the hard way not really being that hard after all. You can use the easy way if you are connected to the internet.

  • The Easy Way: If you are connected to the internet

    • Simply select Update GAMS-X in the GAMS-X group in your Windows Start menu, or, alternatively, type update.pl (or perl update.pl in Windows 95/98) from a command prompt from within your GAMS-X root directory (typically C:\gams-x). The update facility will give you the option to automatically update GAMS-X from the latest update file available over the internet.

  • The Hard Way: If you are not connected to the internet

    1. Download the update file update-1999-09-12.zip from a computer connected to the internet and copy it to your GAMS-X root directory.
    2. Either select Update GAMS-X in the GAMS-X group in your Windows Start menu, or, alternatively, type update.pl (or perl update.pl in Windows 95/98) from a command prompt from within your GAMS-X root directory. If you have problems running the GAMS-X update from your Windows Start menu, refer to FAQ .

2.3.6  Upgrading from GAMS-CGI Version 1.x

Unfortunately, GAMS-X is such a radical departure from the original GAMS-CGI that an upgrade from GAMS-CGI 1.x to GAMS-X version 2.0 is not available. You can uninstall GAMS-CGI with the application uninstal (Unix) or uninstal.bat (Windows), located in the GAMS-CGI version 1.x root directory. The existing GAMS-CGI users will be lost and the installed models deleted, so if you have any files in the old GAMS-CGI users or models directories that you need to hold on to, be sure to back them up.

It is strongly recommended that you uninstall GAMS-CGI 1.x before installing GAMS-X.

If you have CGI.DAT files with case and casebook information that you would like to preserve, you may use the cgi2x.pl script located in your GAMS-X scripts directory to convert the files to GAMS-X data file format. For help using cgi2x.pl, run the script without any arguments by typing cgi2x.pl (in Windows NT) or perl cgi2x.pl (in Windows 95/98) from a command prompt.