ChE 477 GAMS Tutorials & Examples Page

GAMS Home Page
Rardin's Notes on GAMS for Optimization
GAMS Contributed Documentations
GAMS Tutorial - 1
GAMS Tutorial - 2
GAMS Model Library Subject Index
GAMS-IDE Manual PDF
You may download the student version of GAMS from the "Download" page.

    The files CHE478E1.GMS, CHE478E2.GMS, and CHE478E3.GMS listed below are GAMS`s input files for three elementary examples. Click on the file names below to view. Then, either print them or save them to your disk with the following procedure:
    • Select "Save As" from "File" menu of your browser,
    • Select "Plain Text" from "Save File as Type",
    • Change the file extension from *.HTM to *.TXT,
    • Select GAMS directory and click "OK",
    • Close your browser and go to MSDOS PROMPT,
    • Change the extension from *.TXT to *.GMS before calling GAMS.

Or, you may download them directly as *.GMS files to your GAMS directory from the "Download" section [see RARDINGMS.ZIP].

  • Example 1: CHE478E1.GMS Unconstrained minimization of a quadratic objective function in one variable with lower and uppper bounds.

  • Example 2: CHE478E2.GMS Unconstrained minimization of a nonlinear objective function in two variables with lower and uppper bounds.

  • Example 3: CHE478E3.GMS A Linear Programming (LP) problem with two decision variables, one equality constraint, and two inequality constraints.