GurobiPersistent.add_block(block)
|
Add a single Pyomo Block to the solver's model. |
GurobiPersistent.add_constraint(con)
|
Add a single constraint to the solver's model. |
GurobiPersistent.set_objective(obj)
|
Set the solver's objective. |
GurobiPersistent.add_sos_constraint(con)
|
Add a single SOS constraint to the solver's model (if supported). |
GurobiPersistent.add_var(var)
|
Add a single variable to the solver's model. |
GurobiPersistent.available([exception_flag])
|
Returns True if the solver is available. |
GurobiPersistent.has_capability(cap)
|
Returns a boolean value representing whether a solver supports a specific feature. |
GurobiPersistent.has_instance()
|
True if set_instance has been called and this solver interface has a pyomo model and a solver model. |
GurobiPersistent.load_vars([vars_to_load])
|
Load the values from the solver's variables into the corresponding pyomo variables. |
GurobiPersistent.problem_format()
|
Returns the current problem format. |
GurobiPersistent.remove_block(block)
|
Remove a single block from the solver's model. |
GurobiPersistent.remove_constraint(con)
|
Remove a single constraint from the solver's model. |
GurobiPersistent.remove_sos_constraint(con)
|
Remove a single SOS constraint from the solver's model. |
GurobiPersistent.remove_var(var)
|
Remove a single variable from the solver's model. |
GurobiPersistent.reset()
|
Reset the state of the solver |
GurobiPersistent.results_format()
|
Returns the current results format. |
GurobiPersistent.set_callback([func])
|
Specify a callback for gurobi to use. |
GurobiPersistent.set_instance(model, **kwds)
|
This method is used to translate the Pyomo model provided to an instance of the solver's Python model. |
GurobiPersistent.set_problem_format(format)
|
Set the current problem format (if it's valid) and update the results format to something valid for this problem format. |
GurobiPersistent.set_results_format(format)
|
Set the current results format (if it's valid for the current problem format). |
GurobiPersistent.solve(*args, **kwds)
|
Solve the model. |
GurobiPersistent.update_var(var)
|
Update a single variable in the solver's model. |
GurobiPersistent.version()
|
Returns a 4-tuple describing the solver executable version. |
GurobiPersistent.write(filename)
|
Write the model to a file (e.g., and lp file). |