Skip to content

A stub repository for GAMS-based models with associated tools.

License

Notifications You must be signed in to change notification settings

iiasa/gams_stub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A GAMS Project Stub

This is a stub for a new GAMS project. It contains the following features:

  1. Automatic documentation from reStructuredText and \LaTeX comments in the GAMS file(s)
  2. Writing comments to the GAMS log file during a GAMS run
  3. Auxiliary function to write the computation time (since start of the GAMS run) to the log file

Dependencies

This stub depends on

  1. Python
  2. Sphinx

Making a New Project

Choose a project name and run the following commands replacing <project name> with your choice:

git clone https://github.com/iiasa/gams_stub.git <project name>
cd <project name>
./make_proj.sh <project name>

You should now have a fresh new repository with your project ready to go. You can sync it with Github via:

git remote add origin [email protected]:<user name>/<project name>
git push origin master

Documentation

On *Nix Platforms

After you install the project locally, you can generate documentation by:

cd doc
make html

You can serve the documentation locally via:

make serve

You can then view the docs at https://localhost:8000

On Windows

For Windows users, Anaconda is a good way to get started with Python, and Sphinx is already included.

Follow the above instructions replacing make with ./make.bat.

About

A stub repository for GAMS-based models with associated tools.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published