Oscar Dowson
Oscar Dowson
I have it working for HiGHS: https://github.com/jump-dev/HiGHS.jl/pull/147. There's just one problem left: ```julia julia> using JuMP, HiGHS julia> using SnoopCompileCore julia> tinf = @snoopi_deep @eval begin model = Model(HiGHS.Optimizer) @variable(model,...
I'm about to add a PR to MOI that gets it down to:  Nice progress! It brings HiGHS down to ```Julia julia> @time @eval begin let model = Model(HiGHS.Optimizer)...
With jump-dev/JuMP.jl#3195, the graph is now 
The `_rewrite` bits would be greatly improved by https://github.com/jump-dev/JuMP.jl/pull/3125:  and it gets us to less than 0.5s: ```Julia julia> @time @eval begin let model = Model(HiGHS.Optimizer) @variable(model, x >=...
Latest change to HiGHS drops to ```julia julia> @time @eval begin let model = Model(HiGHS.Optimizer) @variable(model, x >= 0) @variable(model, 0 = 120) optimize!(model) end end; Running HiGHS 1.4.0 [date:...
This is a very nice win. Thanks for all of the work you've put in. This should make a massive improvement to the ecosystem as it gets rolled out. ##...
I couldn't make the last red bar go away, even with explicit calls. Is the problem that there are still some invalidations? The gist of the problem is something like:...
So using `SnoopCompile.parcel` and `SnoopCompile.write`, I get this precompile block for MathOptInterface: ```julia function _precompile_() ccall(:jl_generating_output, Cint, ()) == 1 || return nothing Base.precompile(Tuple{typeof(setindex!),IndexMap,MathOptInterface.ConstraintIndex{MathOptInterface.VectorOfVariables, S},MathOptInterface.ConstraintIndex{MathOptInterface.VectorOfVariables, S}}) # time: 0.014820462 end...
I thought it'd be useful to put some concrete numbers on where things stand. Small increase in `using` time, big decrease in runtime. | | | HiGHS | Ipopt |...
I guess we'll roll this out for all the solvers. I've been holding off until 1.9 is actually released