jump-dev / JuMP.jl

Modeling language for Mathematical Optimization (linear, mixed-integer, conic, semidefinite, nonlinear)
http://jump.dev/JuMP.jl/
Other
2.24k stars 396 forks source link

Add DataFrames.jl extension #3821

Closed odow closed 2 weeks ago

odow commented 2 months ago

Take II of #3441 x-ref #3438

TODOs

See https://jump.dev/JuMP.jl/previews/PR3821/extensions/DataFrames/

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.92%. Comparing base (9fb707c) to head (890ede8). Report is 32 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3821 +/- ## ========================================== + Coverage 97.90% 97.92% +0.01% ========================================== Files 44 46 +2 Lines 6022 6077 +55 ========================================== + Hits 5896 5951 +55 Misses 126 126 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

odow commented 2 months ago

Is this an improvement? I'm not sure.

Now: https://jump.dev/JuMP.jl/previews/PR3821/tutorials/linear/multi/ Previous: https://jump.dev/JuMP.jl/stable/tutorials/linear/multi/

blegat commented 1 month ago

We could also have an array with the same syntax as SparseAxisArray and a DataFrame instead of a Dict as a backend. I guess we could also have both the container of your PR and the one I just suggested.