This function solves the LP/QCQP problem using the Gurobi package. The
object generated by lpSetup
is compatible with the
gurobi
function. See runCplexAPI
for
additional error code labels.
runGurobi(model, solver.options)
list of matrices and vectors defining the linear programming problem.
list, each item of the list should correspond to an option specific to the LP solver selected.
a list of the output from Gurobi. This includes the
objective value, the solution vector, and the optimization
status (status of 1
indicates successful optimization) .