Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Constantinides G.A., Cheung P.Y.K., Luk W. - Synthesis and optimization of DSP algorithms (2004)(en).pdf
Скачиваний:
21
Добавлен:
15.08.2013
Размер:
1.54 Mб
Скачать

6.3 Optimum Solutions

121

Consider performing ASAP and ALAP scheduling of the operations, using a latency = min for all operations. Let asap(v) denote the resulting ASAP control step for each operation v V . Similarly let alap(v, λ) denote the ALAP control step for each operation v V given a user-specified latency bound of λ and under the same operation latencies.

Each operation v V , executing on resource type r R(v), can only start its execution during one of the time steps in the set T (v, r) (6.13).

T (v, r) = {t N{0} : t ≥ asap(v) t ≤ alap(v, λ)−L(r)+ min(v)} (6.13)

It is useful to enumerate all possible start times T (v) for each operation v V , according to (6.14), and indeed the complete set of time-steps T (6.15).

T (v) = {t|r R(v) : t T (v, r)}

(6.14)

T = {t|v V : t T (v)}

(6.15)

6.3.2 ILP Formulation

Extending the notation used by Landwehr, et al. [LMD94], the ILP may be formulated as follows. Let bi,r define a Boolean variable with bi,r = 1 i instance number i of resource type r has at least one operation bound to it. This allows the objective function to be formulated in linear form (6.16).

 

 

I(r)

 

 

 

 

Minimize

cost(r)

bi,r

(6.16)

r R

 

i=1

 

In order to introduce the constraints, let xv,t,i,r be defined as in (6.17).

1, if operation v is scheduled at time-step t on the

xv,t,i,r = ith instance of resource type r (6.17)0, otherwise

The minimization is performed subject to three types of constraint. The first are the binding constraints, to ensure that each operation is executed on exactly one instance (6.18). The second are the resource constraints, to ensure that no resource instance is executing more than one operation at a time (6.19). The final set are the precedence constraints, to ensure that all operations obey the dependencies in the sequencing graph (6.20).

 

I(r)

 

v V,

 

 

xv,t,i,r = 1

(6.18)

r R(v) i=1 t T (v,r)