Benoît Legat

Results 290 issues of Benoît Legat

I did this some months ago in an attempt to see if we could get allocation-free iterations after https://github.com/jump-dev/MathOptInterface.jl/pull/2740. Before this PR, it relies on calling `MOI.eval_objective(model, x)` which access...

We allow the users to create the model without using the MOI interface which might seem scary. But this will probably only be used either by advanced users or using...

Follow up from https://github.com/jump-dev/JuMP.jl/pull/4032. At the moment, you can have a small model in terms of memory footprint of the `MOI.ScalarNonlinearFunction`. However, when you add it to the MOI level,...

I always thought it a bit silly to only define the setter for `ConstraintDualStart` and not with `ConstraintDual`. I sometimes want to test things mixing a `MockOptimizer` and a bridge...

Extracted from https://github.com/jump-dev/MathOptInterface.jl/pull/2788 I'm not too convinced by the current approach. For `canonical`, I think we need to implement `canonical` with a cache that checks that it creates aliases when...

Extracted from https://github.com/jump-dev/MathOptInterface.jl/pull/2788

```julia julia> x = sparse([1, 2], [1, 2], [1.0, 2.0]) 2×2 SparseMatrixCSC{Float64, Int64} with 2 stored entries: 1.0 ⋅ ⋅ 2.0 julia> y = FillArrays.Zeros{Float64}(2, 2) 2×2 Zeros{Float64} julia> x...

I am getting: ``` [09:54:42] /opt/bin/x86_64-linux-musl-libgfortran5-cxx11/x86_64-linux-musl-g++ --sysroot=/opt/x86_64-linux-musl/x86_64-linux-musl/sys-root/ -DIMGUI_ENABLE_FREETYPE -I/workspace/srcdir/tracy/cmake/../public/common -I/workspace/srcdir/tracy/cmake/../server -I/workspace/srcdir/tracy/profiler/build/_deps/capstone-src/include/capstone -I/workspace/srcdir/tracy/profiler/build/_deps/capstone-src/include -I/workspace/srcdir/tracy/cmake/../zstd -I/workspace/srcdir/tracy/cmake/../imgui -I/workspace/destdir/include/freetype2 -I/workspace/srcdir/tracy/cmake/../nfd -I/workspace/destdir/lib/pkgconfig/../../include/dbus-1.0 -I/workspace/destdir/lib/pkgconfig/../../lib/dbus-1.0/include -fdiagnostics-color=always -O3 -DNDEBUG -flto -fno-fat-lto-objects -std=gnu++2a -MD -MT CMakeFiles/tracy-profiler.dir/src/profiler/TracyView_Callstack.cpp.o -MF CMakeFiles/tracy-profiler.dir/src/profiler/TracyView_Callstack.cpp.o.d -o...

Not sure if there is an easy fix for PlutoPDF but we can add this warning in the meantime. See https://github.com/JuliaPluto/PlutoPDF.jl/issues/28#issuecomment-2744190543

I probably added it by accident