Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
gurobi_relax()
gurobi_relax | ( model ) |
gurobi_relax | ( model, params ) |
Create the relaxation of a MIP model. Transforms integer variables into continuous variables, and removes SOS and general constraints.
Arguments:
model: The model struct must contain a valid Gurobi model. See the model argument section for more information.
params: The params struct, when provided, contains a list of modified Gurobi parameters. See the params argument section for more information.
Return value:
A model struct variable, as described in the model parameter section.
Example usage:
model = gurobi_read('stein9.mps');
relaxed = gurobi_relax(model);