Skip to content

The positive-definite question #647

@gzspkgypt

Description

@gzspkgypt

Hello, thank you very much for the resources you provided. I am using this library to write the quadratic optimization part, and now I have encountered a problem, the console information——RuntimeWarning: There was an error while running the linear optimizer. Original error message: linalg.cholesky: (Batch element 0): The factorization could not be completed because the input is not positive-definite (the leading minor of order 1 is not positive-definite)..warnings.warn(msg, RuntimeWarning).I would like to ask how positive definiteness is determined and how my input matrix is decomposed.

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