Skip to main content

Heuristic solution for continuous and binary variables

Answered

Comments

1 comment

  • David Torres Sanchez
    Gurobi Staff Gurobi Staff

    Hi,

    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().

    Cheers, 
    David

    0

Please sign in to leave a comment.