Oscar Dowson

Results 1409 comments of Oscar Dowson

I'm not really in favour of this. What's the problem with a closure?

Do you have a worked example of code that would be improved with this?

Can't this just be achieved with: ```Julia prob = Ipopt.CreateIpoptProblem( n, x_L, x_U, m, g_L, g_U, nnzJ, nnzH, x -> eval_f(user_data, x), (args...) -> eval_g(user_data, args...), (args...) -> eval_grad_f(user_data, args...),...

You can convince me of the need for this at JuMP-dev

Conclusion is that we need an example of why we need this. It might have something to do with Enzyme.

Okkkaay. I looked into this again, and I remember where I got stuck. Variants of this: ```julia function runtests() filter_fn(name) = startswith("$name", "test_") Threads.@threads for name in filter!(filter_fn, names(@__MODULE__; all...

Or https://github.com/JuliaTesting/ParallelTestRunner.jl

I think the first step before we go making any changes to this is to come up with a large suite of benchmarks and tests. There are a number of...

@jd-lara and I discussed this over the phone. Here's a summary: ## The attribute The way to set this with Gurobi is via `Gurobi.ConstraintAttribute`: https://github.com/jump-dev/Gurobi.jl?tab=readme-ov-file#accessing-gurobi-specific-attributes Making this attribute generic in...

Perhaps I should clarify: even if this _is_ a performance win, I'm not convinced we should do anything about it. `MOI.add_delayed_constraint` is going to make the MOI API much more...