specless
specless
specless
specless.api
specless.automaton
specless.cli
specless.const
specless.dataset
specless.factory
specless.inference
specless.io
specless.minigrid
specless.parser
specless.specification
specless.strategy
specless.synthesis
specless.tsp
specless.tsp.solver
specless.tsp.solver.base
specless.tsp.solver.lk
specless.tsp.solver.milp
specless.tsp.solver.ortools
specless.tsp.tsp
specless.typing
specless.utils
specless.wrapper
specless
specless
specless.tsp
specless.tsp.solver
specless.tsp.solver.lk
specless.tsp.solver.lk.LinKernighanTSPSolver
View page source
specless.tsp.solver.lk.LinKernighanTSPSolver
class
specless.tsp.solver.lk.
LinKernighanTSPSolver
[source]
Bases:
TSPSolver
Methods
solve
Solve the VRP with time windows.
solve
(
tsp
,
num_agent
:
int
=
1
,
init_nodes
:
List
[
Any
]
|
None
=
None
,
come_back_home
:
bool
=
True
,
timeout
:
int
=
1
)
→
Tuple
[
List
,
float
]
[source]
Solve the VRP with time windows.