Skip to content

Is there a need for SingleOutputProblem and MultiOutputProblem? #1372

@ben18785

Description

@ben18785

Both methods take the same arguments. Indeed, looking at the two classes, they're both virtually identical.

They both use model.n_parameters() to check that the user has provided an object of which outputs the correct dimensions. By the same token, couldn't we just use model.n_outputs() in a single OutputProblem method to determine whether it's a single or multiple output problem internally (so a user doesn't have to specify this)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions