-
Notifications
You must be signed in to change notification settings - Fork 258
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 can I use Python to obtain the relationship between the time and gap of each log print during the solving process of Scip solver #955
Comments
I don't know if there's a super nice way to get what you want. You can get more information than when using You can use a workaround, however. Suppose you're minimizing EDIT: If I may ask, how did you come in contact with SCIP? To help us understand where our users are coming from 😃 |
hi @Joao-Dionisio ,Thank you for your response. Do you know under what circumstances these intermediate log records are recorded by Scip? |
While solving an LP, I think SCIP doesn't have access to the intermediate solutions, it's Soplex (an outside LP-solver) that's doing it by default. However, in each node, the LP is solved multiple times because there are separation rounds that add cuts to strengthen the LP-relaxation. And it's these in-between LPs that SCIP doesn't have an event for, but records the progress. |
@Joao-Dionisio Thank you again for your response. I may not have wanted to obtain the intermediate solution. The progress recorded by SCIP includes time and gap parameters. Can I read these two data in Python when SCIP records them |
If you don't want the intermediate solutions, then using an event handler with the Accessing the data directly is not possible with PySCIPOpt. |
I just came into contact with the SCIP solver. I found that the SCIP solver may be blocking all processes
The proof is as follows:
I want to obtain the relationship between time and gap as recorded in the log of the solver during the solving process. Using a handler with event type
BESTSOLFOUND
can only retrieve a portion of the time and gap values. If I want to obtain all the time and gap data like the log output, how can I do it? If anyone can help solve it, I would be extremely gratefulThe log information recorded during the execution process is as follows:
The text was updated successfully, but these errors were encountered: