This class is an interface for the commercial GUROBI solver.
GUROBI()# S4 method for GUROBI
lp_capable(solver)
# S4 method for GUROBI
socp_capable(solver)
# S4 method for GUROBI
sdp_capable(solver)
# S4 method for GUROBI
exp_capable(solver)
# S4 method for GUROBI
mip_capable(solver)
# S4 method for GUROBI
name(object)
# S4 method for GUROBI
import_solver(solver)
# S4 method for GUROBI
Solver.solve(solver, objective, constraints,
cached_data, warm_start, verbose, ...)
A list representing the canonicalized objective.
A list of canonicalized constraints.
A list mapping solver name to cached problem data.
A logical value indicating whether the previous solver result should be used to warm start.
A logical value indicating whether to print solver output.
Additional arguments to the solver.
lp_capable
: GUROBI can handle linear programs.
socp_capable
: GUROBI can handle second-order cone programs.
sdp_capable
: GUROBI cannot handle semidefinite programs.
exp_capable
: GUROBI cannot handle exponential cone programs.
mip_capable
: GUROBI can handle mixed-integer programs.
name
: The name of the solver.
import_solver
: Imports the reticulate library to use the python solver.
Solver.solve
: Call the solver on the canonicalized problem.
Gurobi optimizer reference manual version 5.0, Gurobi Optimization, Inc., Houston, Texas, July 2012.
the GUROBI Official Site.