Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
gurobi_relax()
gurobi_relax | ( model, env=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.
env: The env list, when provided, allows you to use Gurobi Compute Server or Gurobi Instant Cloud. See the env 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)