conroylau / lpinfer

lpinfer: An R Package for Inference in Linear Programs
GNU General Public License v3.0
3 stars 5 forks source link

Wrong upper bound for kappa in estbounds #45

Closed a-torgovitsky closed 4 years ago

a-torgovitsky commented 4 years ago
r <- estbounds(data, lpm, solver = "gurobi", norm = 1, kappa = 2)

leads to

Error: The variable 'kappa' has to be inside the interval [0, 1].

Any non-negative number should be ok for kappa

conroylau commented 4 years ago

Done! kappa can take values that are nonnegative. The above code yields an estimated bounds for [0, 1]. Thanks!