gurobi_relax()

gurobi_relax ( model, params=NULL )

Create the relaxation of a MIP model. Transforms integer variables into continuous variables, and removes SOS and general constraints.

Arguments:

model: The model list must contain a valid Gurobi model. See the model argument section for more information.

params: The params list, when provided, contains a list of modified Gurobi parameters. See the params argument section for more information.

Return value:

A model list variable, as described in the model parameter section.

Example usage:
model <- gurobi_read('stein9.mps')
relaxed <- gurobi_relax(model)