modules.applications.optimization.salbp.salbp.salbp_factory
- salbp_factory(tasks: list[Task], precedence_relations: list[tuple[Task, Task]], cycle_time: int) SALBPInstance
Create an SALBP-1 instance given a list of tasks and their precedence relations. Do validity checking on the input data and raise a ValueError if the data is invalid.
- Parameters:
tasks -- The tasks to be assigned to stations
precedence_relations -- The tasks' precedence relations
cycle_time -- The cycle time of a station (the same for every station)
- Returns:
An instance of the SALBP-1