Skip to contents

Convenience wrapper: inline the model + text data of a written GAMS scenario directory and assemble a job document with an empty <gdx>. The scenario must have been written WITHOUT a gdx (i.e. set_gdxlib_path() unset), so its data lives in text $included .gms files. This is the "text data" path: no gdx encoding and no local GAMS/gdx library needed to submit.

Usage

neos_build_gams_text_job(
  dir,
  email,
  main = "energyRt.gms",
  solver = "CPLEX",
  category = "milp",
  options = "",
  parameters = "",
  wantgdx = "yes",
  wantlst = "yes",
  comments = "energyRt (text data)"
)

Arguments

dir

the scenario's GAMS working directory (holds energyRt.gms).

email

character. A valid email (required by NEOS).

main

name of the top GAMS file in dir.

category, solver

NEOS category/solver (default milp/CPLEX).

options, parameters

character. GAMS options / double-dash parameters.

comments

character. Free-text comment stored with the job.

Value

an XML job document string for neos_submit_job().