conroylau / lpinfer

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

Move evaluation of `lpmodel` to outside the parallel loop in `subsample` and `fsst` #41

Closed conroylau closed 4 years ago

conroylau commented 4 years ago

Same rationale as in point 4 of the second comment in issue #30 - the parallel loop will be unable to find the functions defined in the lpmodel object if these functions are based on some other user-defined functions.