Oscar Dowson

Results 1409 comments of 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: ![image](https://user-images.githubusercontent.com/8177701/213943111-f7866b5c-af37-412c-ac29-95c28a87cac9.png) 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 ![image](https://user-images.githubusercontent.com/8177701/213944480-67972167-f326-4980-9555-32c7bc81b5c9.png)

The `_rewrite` bits would be greatly improved by https://github.com/jump-dev/JuMP.jl/pull/3125: ![image](https://user-images.githubusercontent.com/8177701/213946922-5d8ebca7-581c-42b2-99b5-4e0e77f28296.png) 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