moptipyapps.prodsched.objectives package
Objectives for the production scheduling problem.moptipyapps.prodsched.objectives.max_stocklevel module
An objective function for minimizing the maximal stocklevel.
- class moptipyapps.prodsched.objectives.max_stocklevel.MaxStockLevel[source]
Bases: Objective
Compute the worst stock level.
- evaluate(x)[source]
Get the worst (largest) stocklevel.
- Parameters:
x (MultiStatistics) – the multi-statistics
- Return type:
int | float
- Returns:
the worst stock level
- lower_bound()[source]
Get the lower bound of the maximum storage level.
- Retval 0:
always
- Return type:
int
moptipyapps.prodsched.objectives.worst_and_mean_fill_rate module
Maximize the worst and average immediate rates.
- class moptipyapps.prodsched.objectives.worst_and_mean_fill_rate.WorstAndMeanFillRate[source]
Bases: Objective
Compute the worst immediate rate and return 1 - of it.
- evaluate(x)[source]
Get the negated worst immediate rate.
- Parameters:
x (MultiStatistics) – the multi-statistics
- Return type:
int | float
- Returns:
the worst stock level
- lower_bound()[source]
Get the lower bound of the inverted minimum immediate rate.
- Retval 0:
always
- Return type:
int
- upper_bound()[source]
Get the upper bound of the inverted minimum immediate rate.
- Retval 1:
always
- Return type:
int
moptipyapps.prodsched.objectives.worst_fill_rate module
An objective function for maximizing the worst immediate rate.
- class moptipyapps.prodsched.objectives.worst_fill_rate.WorstFillRate[source]
Bases: Objective
Compute the worst immediate rate and return 1 - of it.
- evaluate(x)[source]
Get the negated worst immediate rate.
- Parameters:
x (MultiStatistics) – the multi-statistics
- Return type:
int | float
- Returns:
the worst stock level
- lower_bound()[source]
Get the lower bound of the inverted minimum immediate rate.
- Retval 0:
always
- Return type:
int
- upper_bound()[source]
Get the upper bound of the inverted minimum immediate rate.
- Retval 1:
always
- Return type:
int