Skip to content

CeresMinimizer from bqskitrs requires num_residuals, which is neither documented nor properly implemented in the Python code #264

Open
@WolfLink

Description

@WolfLink

CeresMinimizer from bqskitrs makes a call to num_residuals on DifferentiableResidualsFunction objects. The string num_residuals is not present anywhere in the Python bqskit repo, making it unclear that this is a requirement for DifferentiableCostFunction.

Also HilbertSchmidtResiduals does not implement num_residuals, which is problematic for what I am trying to do (I'm writing a residuals function that modifies another residuals function).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions