createBlockMod
¶
createBlockMod(p::Union{Int, UnitRange}, l::Union{Int, UnitRange}, p::params, s:sets)
Generates a model for the specified range of time-periods and locations.
Returns a JuMP::Model
attachPeriodBlock
¶
attachPeriodBlock(m::JuMP::Model, p::params, s::sets)
Links the model with the period to period constrains.
attachLocationBlock
¶
attachLocationBlock(m::JuMP::Model, p::params, s::sets)
Links the model with the location to location constraints. E.g. demand.
attachFullObjectiveBlock
¶
attachFullObjectiveBlock(m::JuMP::Model, p::params, s::sets)
Creates the objective function for the model, e.g. Net Present Value (NPV).