Skip to content

Integration of my test fixes with new logger - #493

Open
skylerreid wants to merge 9 commits into
mainfrom
mergelogger
Open

Integration of my test fixes with new logger#493
skylerreid wants to merge 9 commits into
mainfrom
mergelogger

Conversation

@skylerreid

Copy link
Copy Markdown
Collaborator

copy/pasting my old PR description and oscar's, since this is just those 2 squashed together.

Non-breaking change. Switched @test result["termination_status"] == LOCALLY_SOLVED to @test result["primal_status"] == FEASIBLE_POINT. This fixes the issue where all versions of Julia can get to an objective that looks reasonable, but the solver is not convinced that the solution is optimal (often resulting in OTHER_ERROR or similar).

Added CASE3B and CASE3U as exported constants in PMD. This lets the user call case = parse_file(CASE3B), for example.

Oscar's description:
I am migrating the InfrastructureModels ecosystem away from Memento.jl.

See lanl-ansi/InfrastructureModels.jl#99

PMD made this change a number of years ago. Your current design has a number of unforeseen consequences.

There are two main issues. The first is that this function mutates global state. If someone changes the logger after PMD, this function will erase their changes back to the global state before PMD.

Summary: this is a pretty significant modernization of PMD and will make future fixes easier. All tests pass on this branch.

@skylerreid
skylerreid requested a review from pseudocubic May 19, 2026 22:32
@skylerreid skylerreid added Type: Enhancement New feature or request breaking labels May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Type: Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants