run¶
The CLI for the EHub Model.
The options for running the model are set in the config.yaml file or as command-line arguments. See the config.yaml file for more information about the yaml format.
Given the config.yaml file, solving the model is easy:
$ python run.py
The program will then print out the output of whatever solver is configured in the config.yaml file and then the solved variables, parameters, constraints, etc..
If you want to learn how to use run.py as a command-line tool, run
$ python run.py -h
to learn more about the arguments.
Note: You can use both the config.yaml and the command-line arguments together in certain situations.