dirkschumacher / rcbc

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

inconsistency in example for cbc_solve() #53

Closed bernhard-da closed 2 years ago

bernhard-da commented 3 years ago

hi @dirkschumacher thx for this package, hope that it lands on cran soon.

i just spotted a small inconsistency: in the example for cbc_solve(), the mathematical formulation (eqn 1a) in line 172 is 1 * x + 2 * y + 0.5 * z while the objective coefficients used in the example (line 184) is obj = c(1, 2, 3)

dirkschumacher commented 2 years ago

Thanks! Will get fixed with PR #61

bernhard-da commented 2 years ago

@dirkschumacher great, thx!