Skip to content

Parsing of Xpress' primal bounds history incomplete #103

Description

@rschwarz

It seems that Xpress changed some of the texts in the logging output.

Here is a log line that was detected by the current parsing code:

 *** Solution found:     1.000000   Time:   0.02    Heuristic: A ***

There is code to parse a slightly different line:

ipet/ipet/parsing/Solver.py

Lines 895 to 896 in dbdb0f5

elif line.startswith(" \*\*\* Heuristic solution found: "):
self.readBoundAndTime(line, -4, -2)

I was able to fix this by adding yet another case:

        elif line.startswith(r" *** Solution found: "):
            self.readBoundAndTime(line, 3, 5)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions