Objective functions

Objective functions

Given a schedule, one can find its objective value based on one of the following functions from the Scheduling.Objectives submodule. After the module is loaded, the function names are in the global scope.

cmax(S::Schedule)

Returns the maximum completion time in schedule S.

source
csum(S::Schedule; weighted = false)

Returns the total completion time of these jobs in schedule S which are referenced in the S.jobs vector. If weighted is set to true, then the result will be weighted.

source
wcsum(S::Schedule)

Returns the total weighted completion time of these jobs in schedule S which are referenced in the S.jobs vector. It is an alias for csum(S::Schedule, weighted = true).

source
lmax(S::Schedule)

Returns the maximum lateness in schedule S. If the schedule is empty, then the function returns -Inf.

source
nt(S::Schedule; weighted = false)

Returns the number of tardy jobs in schedule S which are referenced in the S.jobs vector. If weighted is set to true, then the result will be weighted.

source
wnt(S::Schedule)

Returns the number of tardy jobs in schedule S which are referenced in the S.jobs vector. It is an alias for nt(S::Schedule, weighted = true).

source
tsum(S::Schedule; weighted = false)

Returns the total tardiness of these jobs in schedule S which are referenced in the S.jobs vector. If weighted is set to true, then the result will be weighted.

source
wtsum(S::Schedule)

Returns the total tardiness of these jobs in schedule S which are referenced in the S.jobs vector. It is an alias for tsum(S::Schedule, weighted = true).

source