QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.jobshop.FlexibleJobShop Class Reference

Decode feasible schedules with release times from precedence and travel. More...

Public Member Functions

 block_sizes (self)
 decode (self, genome)
 Decode keys and identify a critical path controlling makespan.
 evaluate (self, genome)
 Adapt a decoded schedule to the SADE-QD evaluation callback.
 critical_edit (self, genome, schedule, block, rng)
 Modify a factory assignment, order key, or eligible machine on the critical path.

Detailed Description

Decode feasible schedules with release times from precedence and travel.

Assign jobs to a factory and pick machine choices with random keys.

The order block supplies a key for each operation. Only the next
unscheduled operation of each job competes in priority selection.
Decoding appends to the selected machine and honors both job
precedence and travel from the previous machine. Transportation
delays allow concurrent travel and require no extra vehicle resource.

:param jobs: Jobs containing operations with (machine, duration) alternatives.
:param machine_factories: Factory label for each zero-based machine index.
:param travel: Optional nonnegative matrix of delays from machine to machine.

Definition at line 46 of file jobshop.py.

Member Function Documentation

◆ block_sizes()

qdpy.algorithms.jobshop.FlexibleJobShop.block_sizes ( self)
Return the lengths of the factory, order, and machine key blocks.

Definition at line 85 of file jobshop.py.

◆ critical_edit()

qdpy.algorithms.jobshop.FlexibleJobShop.critical_edit ( self,
genome,
schedule,
block,
rng )

Modify a factory assignment, order key, or eligible machine on the critical path.

Choose one critical operation and preserve feasibility through decoding.

Definition at line 142 of file jobshop.py.

◆ decode()

qdpy.algorithms.jobshop.FlexibleJobShop.decode ( self,
genome )

Decode keys and identify a critical path controlling makespan.

Return a feasible schedule and critical path measured from time zero.

Definition at line 90 of file jobshop.py.

◆ evaluate()

qdpy.algorithms.jobshop.FlexibleJobShop.evaluate ( self,
genome )

Adapt a decoded schedule to the SADE-QD evaluation callback.

Minimize makespan and track transport and total idle time.

Definition at line 136 of file jobshop.py.


The documentation for this class was generated from the following file: