
Build a NEOS GAMS job from a text-mode scenario directory (no input GDX)
Source:R/neos.R
neos_build_gams_text_job.RdConvenience 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).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().
See also
neos_build_gams_xml() for the GDX-input path.
Other solver:
en_check,
en_check_packages(),
en_install_deps(),
en_install_python_deps(),
en_setup(),
get_neos_email(),
neos,
neos_build_gams_xml(),
neos_gams_inline(),
neos_job