Closed sumi1234 closed 4 years ago
It seems you are using deprecated versions.
What version are you using ? Please try and use the last version (0.2.0). Note that PrunePaths
has been replaced by BestPaths
.
So try a pip uninstall vrpy
in a terminal, followed by a pip install vrpy
and rerun your code. Let me know if this fixes the error.
Thanks so much for the quick response ! This fixed my issue :)
I would just add that I continued to face the same error on just reinstalling vrpy. It was fixed after I uninstalled both cspy
and vrpy
before re-installing the latest versions.
( The version of vrpy on my system was 0.1.0 )
Great, happy to help! Yes indeed, be sure to uninstall cspy
as well. When installing vrpy
, the latest version of cspy
is automatically installed as well.
I am facing issues in using the library. While running the example in the documentation - I keep getting a type error init() got an unexpected keyword argument 'REF_forward'
When I set the pricing_strategy variable as "PrunePath", I don't get this error. However, it seems like the solver is only giving me the MIP solution in that case.
Environment : Anaconda 3 ( Python 3.7.6 ) on Windows 10.