The interactive shell includes an extensive help facility. To access it, simply type help() at the prompt; help is available for all of the important objects in the interface. For example, as explained in the help facility, you can type help(Model), help(Var), or help(Constr).
You can also obtain detailed help on any of the available methods on these objects. For example, help(Model.setParam) gives help on setting model parameters.
You can also use a variable, or a method on a variable, to ask for help. For example, if variable m contains a Model object, then help(m) is equivalent to help(Model), and help(m.setParam) is equivalent to help(Model.setParam).
Please sign in to leave a comment.