write_script | R Documentation |
Write scenario object as a Python, Julia, GAMS, or MathProg script with data files to a directory
write_script(scen, tmp.dir = NULL, solver = NULL, ...)
write_sc(x, tmp.dir = NULL, solver = NULL, ...)
write.sc(x, tmp.dir = NULL, solver = NULL, ...)
scen |
scenario object, must be interpolated |
tmp.dir |
character, path |
solver |
list of character with solver specification. |
... |
additional solver parameters |
solve()
to run the script, solve the scenario. read_solution to read model solution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.