Get / set the email address NEOS requires for job submission. set_neos_email()
stores it in the energyRt option and exports it to the NEOS_EMAIL
environment variable, so it is picked up by BOTH backends: the GAMS/NEOS
backend (R-side, neos_submit_job()) and the Pyomo/NEOS backend (which reads
NEOS_EMAIL from inside the python subprocess). get_neos_email() returns the
option, falling back to the NEOS_EMAIL environment variable, or NULL.
Usage
get_neos_email()
set_neos_email(email = NULL)
Arguments
- email
a valid email address (character), or NULL to clear.
Value
get_neos_email() the email or NULL; set_neos_email() the email,
invisibly.
See also
Other solver:
en_check,
en_check_packages(),
en_install_deps(),
en_install_python_deps(),
en_mosox_run(),
en_setup(),
get_default_solver(),
get_mosox_path(),
mosox_run(),
neos,
neos_build_gams_text_job(),
neos_build_gams_xml(),
neos_gams_inline(),
neos_job,
set_mosox_path(),
set_solver_path()
Examples
if (FALSE) { # \dontrun{
set_neos_email("you@example.com")
get_neos_email()
} # }