conroylau / lpinfer

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

Bug in solver check with default #43

Closed a-torgovitsky closed 4 years ago

a-torgovitsky commented 4 years ago
estbounds(data, lpm)

leads to

Error in if (x == "gurobi") { : argument is of length zero
conroylau commented 4 years ago

Done! I have fixed the bug where I have used tolower on the solver name even if the solver name is NULL. This affected the later part of the code that assigns the solver.