Skip to main content

Stopping criteria for PoolSearchMode

Answered

Comments

2 comments

  • Mario Ruthmair
    • Gurobi Staff Gurobi Staff

    Hi Oscar,

    You are basically right, if the gap is below the value set by the MIPGap parameter and the desired number of different solutions is found (PoolSolutions), then the solver should terminate.

    There are, however, some additional subtleties: The solutions have to differ in the values for the integer variables to count as "different", the continuous variables are ignored here. This could be one reason why your solve takes longer.

    Best regards,
    Mario

    0
  • Mario Ruthmair
    • Gurobi Staff Gurobi Staff

    If you want have more control over the termination, you could use the MIPSOL callback to check and count solutions, and the current MIP gap, and then call abort() to cancel the process.

    0

Please sign in to leave a comment.