__init__ ([only_child_vars])
|
|
add_block (block)
|
|
add_constraints (cons)
|
|
add_params (params)
|
|
add_sos_constraints (cons)
|
|
add_variables (variables)
|
|
available ()
|
Test if the solver is available on this system. |
cbCut (con)
|
Add a cut within a callback. |
cbGet (what)
|
|
cbGetNodeRel (vars)
|
|
cbGetSolution (vars)
|
|
cbLazy (con)
|
|
cbSetSolution (vars, solution)
|
|
cbUseSolution ()
|
|
get_duals ([cons_to_load])
|
Declare sign convention in docstring here. |
get_gurobi_param_info (param)
|
Get information about a gurobi parameter. |
get_linear_constraint_attr (con, attr)
|
Get the value of an attribute on a gurobi linear constraint. |
get_model_attr (attr)
|
Get the value of an attribute on the Gurobi model. |
get_primals ([vars_to_load, solution_number])
|
|
get_quadratic_constraint_attr (con, attr)
|
Get the value of an attribute on a gurobi quadratic constraint. |
get_reduced_costs ([vars_to_load])
|
|
get_slacks ([cons_to_load])
|
|
get_sos_attr (con, attr)
|
Get the value of an attribute on a gurobi sos constraint. |
get_var_attr (var, attr)
|
Get the value of an attribute on a gurobi var. |
is_persistent ()
|
|
load_vars ([vars_to_load, solution_number])
|
Load the solution of the primal variables into the value attribute of the variables. |
release_license ()
|
|
remove_block (block)
|
|
remove_constraints (cons)
|
|
remove_params (params)
|
|
remove_sos_constraints (cons)
|
|
remove_variables (variables)
|
|
reset ()
|
|
set_callback ([func])
|
Specify a callback for gurobi to use. |
set_gurobi_param (param, val)
|
Set a gurobi parameter. |
set_instance (model)
|
|
set_linear_constraint_attr (con, attr, val)
|
Set the value of an attribute on a gurobi linear constraint. |
set_objective (obj)
|
|
set_var_attr (var, attr, val)
|
Set the value of an attribute on a gurobi variable. |
solve (model[, timer])
|
Solve a Pyomo model. |
update ([timer])
|
|
update_params ()
|
|
update_variables (variables)
|
|
version ()
|
|
write (filename)
|
Write the model to a file (e.g., and lp file). |