conroylau / lpinfer

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

Faulty error message in DKQS #56

Closed a-torgovitsky closed 4 years ago

a-torgovitsky commented 4 years ago
r <- dkqs(data, lpm, c(.3, .5), solver = "GUROBI")

yields

Error: The class of the variable '0.3' has to be numeric.The class of the variable '0.5' has to be numeric.
conroylau commented 4 years ago

This is fixed in an earlier commit a6aff54 where I have fixed a bug in the code that checks the numeric inputs. Thanks!