Task Module

The Task module is the data layer of ML4CO-Kit. A TaskBase instance holds a single combinatorial optimization problem: instance data, a candidate solution (sol), and an optional reference solution (ref_sol).

Inheritance for routing problems:

TaskBase
  └── RoutingTaskBase
        └── CVRPTask  (and other VRP / TSP variants)