0

I'm using ortools SCIP to solve a really large mixed-integer-programming problem.

solver = pywraplp.Solver_CreateSolver('SCIP')

"""
Problem Definition Is Omitted Here
"""

solver.Minimize(target_function)

status = solver.Solve()

That problem costs more than 30 minutes.

The SCIP uses branch-cut-and-price to solve the mixed-integer-programming problem.

Each time, the SCIP would cut some branches.

So, my question is, how to print the value of the target function, after each cut(after each iteration)?

2 Answers 2

0

Looks like a SCIP question and not an OR-Tools one.

So how would you do it with the SCIP binary or library.

If you know how to do this, I believe there are no mechanism in OR-Tools linear solver wrappers to support that, but maybe there is a parameter to display that kind of info. In that case, you should be able to set it directly through the API.

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks for reply, I'm using python ortools library to use SCIP
Yes but it only offers a subset of what Scip library do. Is what you ask even feasible with the Scip api?
0

Just use

solver.EnableOutput()

That will enable verbosity of solver.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.