Skip to content
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

[docs] remove mention of the time-to-first-solve issue #3929

Merged
merged 1 commit into from
Jan 30, 2025
Merged

Conversation

odow
Copy link
Member

@odow odow commented Jan 29, 2025

I don't know that this is helpful anymore. I see people on the forum adding add_bridges = false when they don't really need too. Beginners should never use PackageCompiler. And the ecosystem has made great strides to solving the problem more generally. The examples that took 15 s in the docs now takes <5, which is at the point where I'm willing to declare success:

% time julia --project=. model.jl
julia --project=. model.jl  4.71s user 0.45s system 100% cpu 5.115 total

and a big chunk of what remains is writing the solution summary to a log file. Excluding that so the file is:

using JuMP, HiGHS
model = Model(HiGHS.Optimizer)
set_silent(model)
@variable(model, x >= 0)
@variable(model, 0 <= y <= 3)
@objective(model, Min, 12x + 20y)
@constraint(model, c1, 6x + 8y >= 100)
@constraint(model, c2, 7x + 12y >= 120)
optimize!(model)

we get

% time julia --project=. model.jl
julia --project=. model.jl  2.72s user 0.40s system 101% cpu 3.077 total

@odow odow merged commit 324c3a7 into master Jan 30, 2025
9 checks passed
@odow odow deleted the od/doc-ttfs branch January 30, 2025 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant