File size: 1,084 Bytes
43c68a3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# UnitCommitment.jl: Optimization Package for Security-Constrained Unit Commitment
# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved.
# Released under the modified BSD license. See COPYING.md for more details.

import ..SolutionMethod
import ..Formulation
"""
    mutable struct TimeDecomposition <: SolutionMethod
        time_window::Int
        time_increment::Int
        inner_method::SolutionMethod = XavQiuWanThi2019.Method()
        formulation::Formulation = Formulation()
    end

Time decomposition method to solve a problem with moving time window.

Fields
------

- `time_window`:
    the time window of each sub-problem during the entire optimization procedure.
- `time_increment`: 
    the time incremented to the next sub-problem.
- `inner_method`: 
    method to solve each sub-problem.
- `formulation`:
    problem formulation.

"""
Base.@kwdef mutable struct TimeDecomposition <: SolutionMethod
    time_window::Int
    time_increment::Int
    inner_method::SolutionMethod = XavQiuWanThi2019.Method()
    formulation::Formulation = Formulation()
end