ml4co_kit.wrapper.routing.tsp.op
OP Wrapper.
Classes
|
- class ml4co_kit.wrapper.routing.tsp.op.OPWrapper(precision: ~numpy.float32 | ~numpy.float64 = <class 'numpy.float32'>)[source]
Bases:
WrapperBase- from_txt(file_path: Path, 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
.txtfile