Skip to content

quadform for positive semi-definite matrices #446

@JGSuw

Description

@JGSuw

Hello Convex.jl community,

I am using Julia v1.4 and Convex v0.4.11 and apparently the function quadform currently does not support positive semi-definite nor negative semi-definite matrices. This is apparent from quadform.jl which uses the ispodef routine found in LinearAlgebra.jl to test for positive or negative definiteness.

Unfortunately this restriction is not reflected in the documentation for Convex.jl, which states that to use quadform "if x is not constant than P must be symmetric and positive semi-definite". Perhaps the documentation on supported operations was copy/pasted from another language where this functionality is present.

Regardless it is an unfortunate omission, since AFAIK that minimization QPs with positive semi-definite terms in the objective are still convex. Are they still not DCP?

Best,
Joseph Sullivan

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions