GurobiPersistent
Interface
|
A class that provides a persistent interface to Gurobi. |
Methods
|
Add a single Pyomo Block to the solver's model. |
Add a single constraint to the solver's model. |
|
Set the solver's objective. |
|
Add a single SOS constraint to the solver's model (if supported). |
|
Add a single variable to the solver's model. |
|
|
Returns True if the solver is available. |
Returns a boolean value representing whether a solver supports a specific feature. |
|
True if set_instance has been called and this solver interface has a pyomo model and a solver model. |
|
|
Load the values from the solver's variables into the corresponding pyomo variables. |
Returns the current problem format. |
|
Remove a single block from the solver's model. |
|
Remove a single constraint from the solver's model. |
|
Remove a single SOS constraint from the solver's model. |
|
Remove a single variable from the solver's model. |
|
Reset the state of the solver |
|
Returns the current results format. |
|
|
Specify a callback for gurobi to use. |
|
This method is used to translate the Pyomo model provided to an instance of the solver's Python model. |
Set the current problem format (if it's valid) and update the results format to something valid for this problem format. |
|
Set the current results format (if it's valid for the current problem format). |
|
|
Solve the model. |
Update a single variable in the solver's model. |
|
Returns a 4-tuple describing the solver executable version. |
|
|
Write the model to a file (e.g., and lp file). |