coin-or / Dip

DIP is a decomposition-based solver framework for mixed integer linear programs.
https://github.com/coin-or/Dip/wiki
Eclipse Public License 1.0
17 stars 7 forks source link

Issue with setting "init_vars" #139

Open bruskey47 opened 1 year ago

bruskey47 commented 1 year ago

When trying to set initial variable values for my model in DipPy, I received an error from line 295 of ...Dip/src/dippy/DippyPythonUtils.cpp saying that the LpVariable class (from PuLP) "has no attribute getVarType".

I figured out a way around this issue my adding a "getVarType" attribute to the LpVariable class within my PuLP.py file. But previously, this error prevented me from setting an initial solution for my problem instance.