Skip to content

MinimizerResult and ModelResult inconsistencies #359

Open
@tritemio

Description

@tritemio

The two similar classes MinimizerResult and ModelResult inherit from different objects (the former from object the latter from Minimizer).

Also the MinimizerResult doc states:

    Notes
    -----
    Additional attributes not listed above may be present, depending on the
    specific solver. Since this class is essentially a subclass of dict
    with attribute accessors, one can see which attributes are available
    using the `keys()` method.

which is not true ATM.

The two classes should inherit from the same object and possibly from dict.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions