MIP-Heuristic as a MIP-start


1 comment

  • Eli Towle


    You can specify a MIP start vector by setting the Start variable attributes. An example of how this is done in Java can be found in the Facility.java example, part of the examples library.

    To be clear, the greedy heuristic function (greedy_heur) referenced in that PDF presentation is not an actual Gurobi function. It is meant to be a placeholder for a user-defined function which populates the greedy_x dictionary, which is then used to assign the Start values for the model variables. Thus, if you want to provide a MIP start to Gurobi using a greedy heuristic, you will have to implement the actual heuristic yourself.



    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk