Documentation

Solving the model

Solving the model

The next statement is where the actual optimization occurs:

result = gurobi(model, params);
We pass the model and the optional list of parameter changes to the gurobi() function. It computes an optimal solution to the specified model and returns the computed result.