Description Usage Arguments Details Value
Interprets the specified file. As a side effect, it invalidates all entities (as the passed file can contain any arbitrary command); the lists of entities will be re-populated lazily (at first access).
1 2 3 4 5 |
ampl |
|
filename |
Full path to the file. |
cd |
Logical indicating whether to run the file
in its directory to allow for relative path names.
|
read_model
accepts a script or model or mixed.
read_data
accepts an AMPL data file. After reading
the file the interpreter is put back to "model" mode.
amplpy.ampl.AMPL object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.