Skip to content

Remove model from being interpolated into warning strings#124

Merged
jd-lara merged 2 commits into
mainfrom
od/str-model
Jun 8, 2026
Merged

Remove model from being interpolated into warning strings#124
jd-lara merged 2 commits into
mainfrom
od/str-model

Conversation

@odow

@odow odow commented May 15, 2026

Copy link
Copy Markdown
Collaborator

First one is a bug.

The others: interpolating a built! model is very expensive. I was running POM.solve!(model) and wondering why there was a 5 minute delay and so much stuff being printed to the screen. I don't know if removing is okay, or if there is a better identifier we can use here.

@jd-lara jd-lara left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can even convert that warn into a @debug call

@jd-lara

jd-lara commented Jun 8, 2026

Copy link
Copy Markdown
Member

@copilot resolve the merge conflicts in this pull request

# Conflicts:
#	src/operation/decision_model.jl
#	src/operation/emulation_model.jl

Copilot AI commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Merge conflicts in src/operation/decision_model.jl and src/operation/emulation_model.jl resolved against main, keeping the warning strings without model.name interpolation per this PR's intent.

Copilot AI requested a review from jd-lara June 8, 2026 15:46
@jd-lara
jd-lara merged commit c9be733 into main Jun 8, 2026
5 of 6 checks passed
@jd-lara
jd-lara deleted the od/str-model branch June 8, 2026 16:19
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

Performance Results

Version Precompile Time
Main 3.124582176
This Branch 3.145675678
Version Build Time
Main-Build Time Precompile 96.966627304
Main-Build Time Postcompile 2.121138042
This Branch-Build Time Precompile 89.601169382
This Branch-Build Time Postcompile 2.07080612
Version Solve Time
Main-Solve Time Precompile FAILED TO TEST
Main-Solve Time Postcompile FAILED TO TEST
This Branch-Solve Time Precompile FAILED TO TEST
This Branch-Solve Time Postcompile FAILED TO TEST

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

Successfully merging this pull request may close these issues.

3 participants