Investigate and improve constraint_connection_flow_capacity_indices #925
Labels
Type: improvement
Improve something that already exists
Zone: model implementation
How the formulation is implemented in code
@suvayu and I ran the example included in #896 with
log_level=3
and the largest memory hog isconstraint_connection_flow_capacity
. Looking into the profile, the functionconstraint_connection_flow_capacity_indices
seems to be one of the main culprits - which aligns with what @manuelma and @Tasqu found out some time ago.Running
reports a 4.431 GB memory use for a
sizeof(v) = 17385984
(~17 MB) object, so we think this and other similar functions are a good place to start exploring and improving.@manuelma, @Tasqu, are you working on this? How can we coordinate this to avoid duplicating work?
The text was updated successfully, but these errors were encountered: