Skip to content
Discussion options

You must be logged in to vote

Interruption is possible, but only with the three "Interrupt" callbacks (because there's currently no "bailout" mechanism from the points where the other callbacks are called).

  • kCallbackSimplexInterrupt
  • kCallbackIpmInterrupt
  • kCallbackMipInterrupt

In your case, when the MIP interrupt callback is called, you'll have the following information in data_out

  • running_time
  • objective_function_value
  • mip_node_count
  • mip_total_lp_iterations
  • mip_primal_bound
  • mip_dual_bound
  • mip_gap

and if you want to interrupt, then set data_in.user_interrupt to a nonzero value

Let me know if you've got any further queries

Replies: 2 comments 1 reply

Comment options

jajhall
Apr 5, 2025
Maintainer Sponsor

You must be logged in to vote
1 reply
@enri07
Comment options

Answer selected by enri07
Comment options

jajhall
Apr 5, 2025
Maintainer Sponsor

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2279 on April 05, 2025 11:39.