-
Notifications
You must be signed in to change notification settings - Fork 20
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
Optapy solution stuck #174
Comments
Is it because of the |
I suspect the main scaling issue has to do with The way to fix it is to use a Custom ConstraintCollector (which in your case, would implement Moves can also have a major performance impact, but it hard to tell without benchmarking (and OptaPy doesn't support custom moves yet). What is the score calculation speed reported by the solver? Ideally it should be above 1000 score calculations/sec (the higher the better). |
|
But I get |
Then it is definitely the performance of the constraints that is causing the issue. |
Hey community, I'm trying to setup a label assignment. A collection of polygons were grouped into a cluster initially. I apply some soft constraint, but importantly, a hard constraint such that at any point, union of polygons of a cluster should never be a multipolygon (disconnected)
I've went ahead and took
ClusterLabel
as a problem fact andPolygon
as a planning entity.This works but scales horribly. On real life dataset the hard penalty NEVER decreases even after 1 hour. Is there a better approach?
The text was updated successfully, but these errors were encountered: