__init__ (**kwds)
|
Constructor |
add_block (block)
|
Add a single Pyomo Block to the solver's model. |
add_column (model, var, obj_coef, ...)
|
Add a column to the solver's and Pyomo model |
add_constraint (con)
|
Add a single constraint to the solver's model. |
add_sos_constraint (con)
|
Add a single SOS constraint to the solver's model (if supported). |
add_var (var)
|
Add a single variable to the solver's model. |
available ([exception_flag])
|
True if the solver is available. |
config_block ([init])
|
|
default_variable_value ()
|
|
has_capability (cap)
|
Returns a boolean value representing whether a solver supports a specific feature. |
has_instance ()
|
True if set_instance has been called and this solver interface has a pyomo model and a solver model. |
license_is_valid ()
|
True if the solver is present and has a valid license (if applicable) |
load_duals ([cons_to_load])
|
Load the duals into the 'dual' suffix. |
load_rc (vars_to_load)
|
Load the reduced costs into the 'rc' suffix. |
load_slacks ([cons_to_load])
|
Load the values of the slack variables into the 'slack' suffix. |
load_vars ([vars_to_load])
|
Load the values from the solver's variables into the corresponding pyomo variables. |
problem_format ()
|
Returns the current problem format. |
remove_block (block)
|
Remove a single block from the solver's model. |
remove_constraint (con)
|
Remove a single constraint from the solver's model. |
remove_sos_constraint (con)
|
Remove a single SOS constraint from the solver's model. |
remove_var (var)
|
Remove a single variable from the solver's model. |
reset ()
|
Reset the state of the solver |
results_format ()
|
Returns the current results format. |
set_callback (name[, callback_fn])
|
Set the callback function for a named callback. |
set_instance (model, **kwds)
|
This method is used to translate the Pyomo model provided to an instance of the solver's Python model. |
set_objective (obj)
|
Set the solver's objective. |
set_options (istr)
|
|
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. |
set_results_format (format)
|
Set the current results format (if it's valid for the current problem format). |
solve (*args, **kwds)
|
Solve the model. |
update_var (var)
|
Update a single variable in the solver's model. |
version ()
|
Returns a 4-tuple describing the solver executable version. |
warm_start_capable ()
|
True is the solver can accept a warm-start solution |
write (filename[, filetype])
|
Write the model to a file (e.g., and lp file). |