Expand description
Module for solving the investment order of commodities
Functionsยง
- compress_
cycles ๐ - Compresses cycles into
InvestmentSet::Cyclenodes - compute_
layers ๐ - Compute layers of investment sets from the topological order
- init_
investment_ ๐graph_ for_ year - Initialise an
InvestmentGraphfor the given year from a set ofCommodityGraphs - order_
sccs ๐ - Order the members of each strongly connected component using a mixed-integer linear program.
- solve_
investment_ order_ for_ model - Determine investment ordering for each year
- solve_
investment_ ๐order_ for_ year - Analyse the commodity graphs for a given year to determine the order in which investment decisions should be made.
Type Aliasesยง
- Investment
Graph ๐