Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

ValueError: matrix G is not positive definite #4

@andreamad8

Description

@andreamad8

Thanks for your great work and for releasing these code.

I am having the same problem. As suggested I have done the following:

G = np.eye(t) + np.eye(t)*0.00001

But still, I am having the same error:
v = quadprog.solve_qp(P, q, G, h)[0] File "quadprog/quadprog.pyx", line 104, in quadprog.solve_qp ValueError: matrix G is not positive definite

Any suggestion?

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