Skip to content

TRDH check for subsolver is not robust #303

@MaxenceGollier

Description

@MaxenceGollier

Checking if the solver is being used as a subsolver like so i odd.

is_subsolver = reg_nlp.h isa ShiftedProximableFunction # case TRDH is used as a subsolver

It would be easier just to add a kwarg to the solver constructor that is set to false and set it to true when constructing it with other solvers. The user would never need to change the value of this kwarg.

Metadata

Metadata

Labels

invalidThis doesn't seem right

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions