Skip to content

Stop/break the VRP program if no solution is found #2549

@Westlife1002

Description

@Westlife1002

I have an GUI for the VRP model, developed based on tkinter.
When clicking the "run" button and if there is "no solution", it gets stuck and no way to exit and to print ("no solution"). I guess it's the VRP programming still running. Is there any way to stop the VRP part of the program if no solution is found, and also print ("no solution")

my lastest codes is here:
https://gist.github.com/Westlife1002/03f5f2a1b03841a81221623bce63951e

Metadata

Metadata

Assignees

Labels

Help NeededModeling/Usage problemSolver: RoutingUses the Routing library and the original CP solver

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions