Skip to main content

Heuristic solution for continuous and binary variables



1 comment

  • David Torres Sanchez
    Gurobi Staff Gurobi Staff


    Some heuristics can only run on certain types of variables (due to the assumptions made) or are more effective for certain types of variables.
    The same thing for other parts of the solution process such as presolve, you can see in the MIP case we are able to remove more variables (15 vs 1).

    There is no way of getting more information about the heuristics being run.
    You can experiment with some heuristic-related parameters see the MIP section under parameters.

    In any case, It seems that there is not much difference in solving time.

    Lastly, there is a convenient function to relax the problem: model.relax().



Please sign in to leave a comment.