ml4co_kit.wrapper.routing.vrp.cvrpbl

CVRPBL Wrapper.

Classes

CVRPBLWrapper(precision)

class ml4co_kit.wrapper.routing.vrp.cvrpbl.CVRPBLWrapper(precision: ~numpy.float32 | ~numpy.float64 = <class 'numpy.float32'>)[source]

Bases: WrapperBase

from_txt(file_path: Path, cvrp_open: bool = False, mixed_backhaul: bool = False, distance_type: DISTANCE_TYPE = DISTANCE_TYPE.EUC_2D, round_type: ROUND_TYPE = ROUND_TYPE.NO, ref: bool = False, overwrite: bool = True, normalize: bool = False, show_time: bool = False)[source]

Read task data from .txt file

to_txt(file_path: Path, show_time: bool = False, mode: str = 'w')[source]

Write task data to .txt file