pyscheduling.SMSP.solvers.dispatch_heuristic#

Module Contents#

Classes#

DispatchHeuristic

Helper class that provides a standard way to create an ABC using

class pyscheduling.SMSP.solvers.dispatch_heuristic.DispatchHeuristic#

Bases: pyscheduling.core.base_solvers.BaseSolver

Helper class that provides a standard way to create an ABC using inheritance.

rule :Callable#
reverse :bool = False#
solve(instance: pyscheduling.SMSP.SingleMachine.SingleInstance)#

Orders the jobs according to the rule (lambda function) and returns the schedule accordignly

Parameters

instance (SingleInstance) – Instance to be solved

Returns

SolveResult of the instance by the method

Return type

RootProblem.SolveResult