GAMS2GAMS - Writing GAMS data to new GAMS file 

Uwe A. Schneider

last modified January 2015

Other GAMS interfaces  from/to:  ShadeMap   Gnuplot   Stata    Powerpoint    Html    Awk

 

Purpose

Installation

  1. Download compilation file (1_compile_gams2gams.gms)
  2. Open 1_compile_gams2gams.gms in editor
  3. Adjust scope of the interface (SCALAR maxcolcount, SET dimensions, SET arguments) - If you use higher values, the interface will be slower
  4. Run 1_compile_gams2gams.gms in GAMS (This will install two file in the .\inclib subdirectory)

General Instructions

Syntax

$setglobal gams2gams_rowdim  <#>

$libinclude gams2gams <gams parameter name>

Optional formatting

$setglobal gams2gams_nd   <#>
$setglobal gams2gams_nw   <#>
$setglobal gams2gams_lw   <#>
$setglobal gams2gams_tw   <#>
$setglobal gams2gams_nj   <#>
$setglobal gams2gams_lj   <#>
$setglobal gams2gams_tj   <#>
$setglobal gams2gams_startcolumlabel      <#>   
$setglobal gams2gams_advancecolumlabel    <#>
$setglobal gams2gams_movecollabeltoright  <#>

$setglobal gams2gams_quotes <yes/no>

Example

example_gams2gams.gms

 

Legal Notice