jump-dev / Convex.jl

A Julia package for disciplined convex programming
https://jump.dev/Convex.jl/stable/
Other
567 stars 121 forks source link

Move all atom files into a single-level directory layout #609

Closed odow closed 5 months ago

odow commented 5 months ago

Now that we can support arbitrary MOI sets, and we aim to move as much of the complexity to MOI as possible, including various bridge reformulations, it doesn't really make sense to talk about exp_cone atoms or second_order_cone atoms. (Consider the GeoMeanAtom, which can have a SOCP or PowerCone formulation.)

This PR moves everything to src/atoms/FooBarAtom.jl.

Longer term, I want to better document each atom, and provide a way of searching for various atoms that you can use.

codecov[bot] commented 5 months ago

Codecov Report

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

Project coverage is 97.84%. Comparing base (cc6a9b0) to head (762e917).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #609 +/- ## ======================================= Coverage 97.84% 97.84% ======================================= Files 88 88 Lines 5066 5066 ======================================= Hits 4957 4957 Misses 109 109 ```

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