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

caching bridge optimizer copy improvement #696

Merged
merged 7 commits into from
Mar 13, 2019

Conversation

ndinsmore
Copy link
Contributor

@ndinsmore ndinsmore commented Mar 12, 2019

This pull creates a new add_constraints method for bridge optimizers than uses it copyconstraints!. The end result is a significant model creation improvement for Clp. Benchmarks to follow.

The associated PRs are:
jump-dev/Clp.jl#57
JuliaOpt/LinQuadOptInterface.jl#96

The benchmarking results for Clp show a 40x improvement in the time it takes to copy large models from the cache to the solver:
jump-dev/Clp.jl#57 (comment)

@ndinsmore ndinsmore changed the title Nrd/copy improvement caching bridge optimizer copy improvement Mar 12, 2019
@codecov-io
Copy link

codecov-io commented Mar 12, 2019

Codecov Report

Merging #696 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #696      +/-   ##
==========================================
+ Coverage   95.23%   95.24%   +<.01%     
==========================================
  Files          53       53              
  Lines        5546     5555       +9     
==========================================
+ Hits         5282     5291       +9     
  Misses        264      264
Impacted Files Coverage Δ
src/Bridges/bridgeoptimizer.jl 99.1% <100%> (+0.06%) ⬆️
src/Utilities/copy.jl 93.06% <100%> (+0.06%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8b8b2ff...28bf751. Read the comment docs.

src/Utilities/copy.jl Outdated Show resolved Hide resolved
src/Bridges/bridgeoptimizer.jl Outdated Show resolved Hide resolved
src/Bridges/bridgeoptimizer.jl Outdated Show resolved Hide resolved
src/Utilities/copy.jl Outdated Show resolved Hide resolved
src/Utilities/copy.jl Outdated Show resolved Hide resolved
src/Utilities/copy.jl Outdated Show resolved Hide resolved
src/Utilities/copy.jl Outdated Show resolved Hide resolved
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.

3 participants