dirkschumacher / rcbc

COIN-OR branch and cut (CBC) bindings for R
https://dirkschumacher.github.io/rcbc/
Other
20 stars 5 forks source link

Binary variables #26

Closed cmber closed 5 years ago

cmber commented 6 years ago

Is there any option to incorporate binary variable spec into the problem formulation? As far as I understand we can either specify continous or integer but doesn’t seem possible to pass the binary option. Thanks for any hints

dirkschumacher commented 6 years ago

I faintly remember that cbc (or was it GLPK) does not have binary variables. They are just integer variables with bounds 0/1. The solver should detect that these variables are special.