Skip to content

Memory error for transport model using scipy solver #389

@tsmbland

Description

@tsmbland

I tried using the scipy solver with @sharwaridixit's transport model, and got this rather alarming error:

numpy.core._exceptions._ArrayMemoryError: Unable to allocate 40.2 GiB for an array with shape (16, 16, 7, 7, 41, 41, 16, 16) and data type float64

It's specifically being thrown by this line in the calculation of the constraint matrix. I'm guessing there's a bug somewhere that's accidentally duplicating all the dimensions of an array, but I'd need to investigate further

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

On hold

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions