Closed esmail closed 2 years ago
Please replace ortools.graph.pywrapgraph
by ortools.graph.python.min_cost_flow
.
The good news is that it now supports numpy to speed-up the creation of the graph.
See this example.
Please replace
ortools.graph.pywrapgraph
byortools.graph.python.min_cost_flow
.
As far as I my test goes, this is not sufficient. Other imports may need to be changed to adapt to or tools >=9.4
ortools.graph.pywrapgraph has been split in 3.
See https://github.com/google/or-tools/releases/tag/v9.4
Le lun. 29 août 2022, 12:26, Data Travel @.***> a écrit :
Please replace ortools.graph.pywrapgraph by ortools.graph.python.min_cost_flow.
As far as I my test goes, this is not sufficient. Other imports may need to be changed to adapt to or tools >=9.4
— Reply to this email directly, view it on GitHub https://github.com/joshlk/k-means-constrained/issues/28#issuecomment-1230096232, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUPL3M27NHMIDM2IXFNAUTV3SF43ANCNFSM56SQBD2A . You are receiving this because you commented.Message ID: @.***>
The issue should be resolved with the latest version. Please update the package using pip install 'k-means-constrained>=0.7.2'
and report back
New version is working fine for me 👍
Great. I’ll close this for now. Let me know if you have any more issues
Just tested. All ok on my side as well. Thanks
Thanks for the rapid fix.
Describe the bug
k-means-constrained
is incompatible withortools
version 9.4+Minimum working example
from k_means_constrained import KMeansConstrained
Results in:
Versions: