Skip to content

Can‘t solve QP problem when dimension is too high. #37

@WHQ1111

Description

@WHQ1111

When I try this:

G = torch.eye(2000).expand(8,2000,2000).cuda()
e = torch.randint(0,1,[8,2000]).cuda()
C = torch.eye(2000).expand(8,2000,2000).cuda()
h = torch.randint(0,1,[8,2000]).cuda()
A = torch.randn(8,100,2000).cuda()
b = torch.zeros(8,100).cuda()
qp_sol = QPFunction(verbose=False, maxIter=15)(G, e, C, h, A, b)

I get

RuntimeError: CUDA error: invalid configuration argument

How to solve this problem? Or it can't work when dimension is too high.

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