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
19 stars 7 forks source link

COIN_HAS_CBC x DIP_HAS_CBC #99

Open Efsilvaa opened 7 years ago

Efsilvaa commented 7 years ago

Hi, My suggestion is change preprocessor names COIN_HAS_XXX (XXX = CBC, SYMPHONY, ...) by DIP_HAS_XXX in decompModel.cpp, as COIN_HAS_CBC is already defined in other lib, and DIP has its own solvers definitions (DIP_HAS_XXX).

Thanks, Eduardo

tkralphs commented 7 years ago

Hmm, yes, it seems this was changed in other parts of the code, but not in DecompModel.cpp. I'll take a look at it.