runGurobi: Running Gurobi solver

Description Usage Arguments Value

View source: R/lp.R

Description

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.

Usage

1
runGurobi(model, solver.options)

Arguments

model

list of matrices and vectors defining the linear programming problem.

solver.options

list, each item of the list should correspond to an option specific to the LP solver selected.

Value

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) .


ivmte documentation built on Sept. 17, 2021, 5:06 p.m.