Make papers into modules, instead of structs; add StartupCostsFormulation

This commit is contained in:
2021-06-01 14:20:36 -05:00
parent ecb13dba7c
commit 8cdd88d6de
23 changed files with 181 additions and 97 deletions

View File

@@ -5,7 +5,7 @@
function _add_ramp_eqs!(
model::JuMP.Model,
g::Unit,
formulation::DamKucRajAta2016,
formulation::DamKucRajAta2016.Ramping,
)::Nothing
# TODO: Move upper case constants to model[:instance]
RESERVES_WHEN_START_UP = true

View File

@@ -8,4 +8,10 @@ Formulation described in:
Damcı-Kurt, P., Küçükyavuz, S., Rajan, D., & Atamtürk, A. (2016). A polyhedral
study of production ramping. Mathematical Programming, 158(1), 175-205.
"""
struct DamKucRajAta2016 <: RampingFormulation end
module DamKucRajAta2016
import ..RampingFormulation
struct Ramping <: RampingFormulation end
end