The Gurobi Interactive Shell (gurobi.sh or gurobi.bat) allows you to perform hands-on interaction and experimentation with optimization models. You can read models from files, perform complete or partial optimization runs on them, change parameters, modify the models, reoptimize, and so on. The Gurobi shell is actually a set of extensions to the Python shell. Python is a rich and flexible programming language, and any capabilities that are available from Python are also available from the Gurobi shell. We'll touch on these capabilities here, but we encourage you to explore the help system and experiment with the interface in order to gain a better understanding of what is possible.
One big advantage of working within Python is that the Python language is popular and well supported. One aspect of this support is the breadth of powerful Python Integrated Development Environments (IDEs) that are available, most of which can be downloaded for free from the internet.
Important note for AIX users: Due to limited Python support on AIX, our AIX port does not include the Interactive Shell or the Python interface. You can use the command line, or the C, C++, or Java interfaces.
- Tutorial: Interactive Shell Tutorial: Reading and Optimizing a Model
- Help in Interactive Shell (gurobi.sh/gurobi.bat)
- Interactive Shell Interface Customization (gurobi.sh/gurobi.bat)
- How do I install Gurobi for Python?
- What are some useful Python tools?
- How do I use the Gurobi Command Line Interface (gurobi_cl)?