Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
Env.setParam()
setParam ( paramname, newvalue )
Set the value of a parameter to a new value.
Arguments:
paramname: String containing the name of parameter that you would like to modify. The name can include '*' and '?' wildcards. If more than one parameter matches, a GurobiError is raised with the matching names listed, and no parameters are modified. Note that case is ignored.
newvalue: Desired new value for parameter. Can be 'default', which indicates that the parameter should be reset to its default value.
Example usage:
env.setParam("Cuts", 2) env.setParam("Heu*", 0.5) env.setParam("*Interval", 10)