abc module

Abstract module which defines the high level scheduling during the process of optimization.

class jinete.dispatchers.abc.Dispatcher(loader_cls, algorithm_cls, storer_cls=None)[source]

Bases: abc.ABC

Dispatch the problem instances.

__init__(loader_cls, algorithm_cls, storer_cls=None)[source]

Construct a new instance.

Parameters
  • loader_cls (Type[Loader]) – Loads problem instances.

  • algorithm_cls (Type[Algorithm]) – Generates the solution for the problem instance.

  • storer_cls (Type[Storer]) – Stores problem instances.

abstract run()[source]

Start the execution of the dispatcher.

Return type

Result

Returns

A result object containing the generated solution.