specless.tsp.solver.milp.MILPTSPSolver

class specless.tsp.solver.milp.MILPTSPSolver[source]

Bases: TSPSolver

Methods

get_cost

get_tours

initialize_problem

Initialize the problem

optimize

Optimize the defined model

solve

initialize_problem(tsp)[source]

Initialize the problem

optimize(m, variables, objective: LinExpr)[source]

Optimize the defined model