ryantibs / quantgen

Tools for generalized quantile modeling
https://ryantibs.github.io/quantgen
14 stars 9 forks source link

quantile_lasso or gurobi seems sensitive to floating number precision #11

Open jingjtang opened 2 years ago

jingjtang commented 2 years ago

We ran into the error

Error in .local(x, i, j, ..., value) : 
  not-yet-implemented 'Matrix[<-' method

when using quantile_lasso using test.rds.

This is the script that I used test.R

We will see the error mentioned above if run the training with quantile_lasso. If we explore further into the error, we will know that gurobi tells us that this problem is INFEASIBLE.

However, we won't run into the same error if we do either of the thing listed below:

This seems weird.