Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get Best Bound when model is not MILP. Specifically when model is SOCP, MIQP. #83

Closed
Ashim-Khanal opened this issue Dec 14, 2022 · 1 comment

Comments

@Ashim-Khanal
Copy link

I am trying to retrieve the best bound (after certain specified run time) for a second-order cone program model with quadratic constraints. Since the model is not MILP, the method: "m.get_solve_details().best_bound" did not work.

Please help to get the best bound when there are quadratic constraints.

@Ashim-Khanal
Copy link
Author

Following this solution worked

#79 (comment)

    c = m.get_cplex()
    best_bound = c.solution.MIP.get_best_objective()

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant