Closed jGaboardi closed 5 years ago
Hmm....
I kind of feel that, at this point, the different submethods are so incompatible that it may make sense to use class-level dependencies for this module, if we decide to distribute it together as a module.
Otherwise, I think it make sense to restate this more generally for spatial optimization, merge in the LSCP/MCLP stuff here, and make this package a larger or-tools dependent module.
interesting... a pysal/spopt
module...
@ljwolf I was wrong about pulp not supported in python 3. I was getting that error because I had a CPLEX_PATH
environment variable set and pulp
was attempting to import cplex
internally. The problem there was with cplex
, not pulp
. I was able to run nosetests for region
, and there are many failures, but at least now they can be run and we can stick with using pulp
for this. Moreover, pulp
now comes with a compiled Coin-or Branch Cut
install (which I did not realize) and is available on conda-forge
. I may be switching from ortools
to pulp
for that...
resolved in #17
pulp
only supports python up to 3.4 and errors out when trying to importcplex
due to no support . A direction to go may be dumppulp
in favor ofortools
for usingCoin-or Branch Cut