Skip to content

Refactor approximations into abstract types #114

@acostarelli

Description

@acostarelli

I think we can share some approximation logic by introducing abstract types like SeparableMethod, DisaggregationMethod (if that seems correct for NMDT), SegmentsSomething for sawtooth/SOS2. This would make adding more methods easier, but I don't know if we plan on adding more methods or even keeping all the methods we're using now.

I think we could also make Epigraph more like the other configurations by not having it build a whole series of epigraph cuts, which would allow the separable methods to use it, and then we can introduce a unique helper that builds a series of epigraph cuts, which I think makes more sense because right now Epigraph sorta sits outside the API I feel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions