AffineDemandFunction.delete_nodes

AffineDemandFunction.delete_nodes(*args, **kwargs) int

Delete all commodities that are made up by nodes.

Parameters
nodesint or array_like

Indices of nodes to remove.

Returns
int

Number of removed commodities.