__init__(**kwds)
|
|
add_block(block)
|
Add a block to the model. |
add_constraints(cons)
|
Add constraints to the model. |
add_sos_constraints(cons)
|
|
api_version()
|
Return the public API supported by this interface. |
available()
|
Test if the solver is available on this system. |
cbCut(con)
|
Add a cut within a callback. |
cbGet(what)
|
|
cbGetNodeRel(variables)
|
|
cbGetSolution(variables)
|
|
cbLazy(con)
|
|
cbSetSolution(variables, solution)
|
|
cbUseSolution()
|
|
env()
|
|
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_quadratic_constraint_attr(con, attr)
|
Get the value of an attribute on a gurobi quadratic constraint. |
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()
|
|
release_license()
|
|
remove_block(block)
|
Remove a block from the model. |
remove_constraints(cons)
|
Remove constraints from the model. |
remove_sos_constraints(cons)
|
|
reset()
|
|
set_callback([func])
|
Specify a callback for gurobi to use. |
set_gurobi_param(param, val)
|
Set a gurobi parameter. |
set_instance(pyomo_model, **kwds)
|
Set an instance of the model. |
set_linear_constraint_attr(con, attr, val)
|
Set the value of an attribute on a gurobi linear constraint. |
set_objective(obj)
|
Set current objective for the model. |
set_var_attr(var, attr, val)
|
Set the value of an attribute on a gurobi variable. |
solve(model, **kwds)
|
Solve a Pyomo model. |
update(**kwds)
|
|
update_parameters(params)
|
Update parameters on the model. |
update_variables(variables)
|
Update variables on the model. |
version()
|
Return the solver version found on the system. |
write(filename)
|
Write the model to a file (e.g., and lp file). |