Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Better error log to showcase why solution failed for python. #1097

Closed
sharmas1ddharth opened this issue Sep 19, 2024 · 2 comments · Fixed by #1114
Closed

Feat: Better error log to showcase why solution failed for python. #1097

sharmas1ddharth opened this issue Sep 19, 2024 · 2 comments · Fixed by #1114
Labels
enhancement New feature or request python Is related to Python code.
Milestone

Comments

@sharmas1ddharth
Copy link

Is your feature request related to a problem? Please describe.
It's really difficult to understand why solver failed as there is only solution failed text not the reason or exception

Describe the solution you'd like
It will be better if we get to see the exception or error causing solving failed

@sharmas1ddharth sharmas1ddharth added enhancement New feature or request process/needs triage Requires initial assessment of validity, priority etc. labels Sep 19, 2024
@triceo
Copy link
Contributor

triceo commented Sep 19, 2024

@sharmas1ddharth Thanks for the report!

We'd like to understand the situation in which this happens; we keep improving our error messages with every release. Please provide steps to reproduce your issue and we'll take a look when time permits.

@sharmas1ddharth
Copy link
Author

sharmas1ddharth commented Sep 19, 2024

In VRP optimisation,
I have 3 locations and one depot when fetching distance and duration from our custom distance time matrix.
first one is depot and other are locations.

locations_set1 = [Location(77.27926863862307, 28.5261602315649), Location(73.0578158, 19.2522977), Location(73.0578158, 19.2522977), Location(78.9475437, 25.7242883)]

locations_set2 = [Location(77.27926863862307, 28.5261602315649), Location(77.27926863862307, 28.5261602315649), Location(73.0578158, 19.2522977), Location(73.0578158, 19.2522977), Location(78.9475437, 25.7242883)]

locations_set3 = [Location(77.27926863862307, 28.5261602315649), Location(73.0578158, 19.2522977), Location(73.0578158, 19.2522977), Location(78.9475437, 25.7242883), Location(77.27926863862307, 28.5261602315649)]

locations_set1 and locations_set3 is not working and throwing solving failed but locations_set2 is working.

I hope you understand my issue, It will be helpful to know why solving is failing.

@triceo triceo added the python Is related to Python code. label Sep 19, 2024
@triceo triceo linked a pull request Sep 26, 2024 that will close this issue
@triceo triceo added this to the 1.15.0 milestone Sep 26, 2024
@triceo triceo removed the process/needs triage Requires initial assessment of validity, priority etc. label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python Is related to Python code.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants