statnet / ergm

Fit, Simulate and Diagnose Exponential-Family Models for Networks
Other
94 stars 36 forks source link

Optional MPLE existence check? #570

Open mbojan opened 2 days ago

mbojan commented 2 days ago

Some tests with bigger data show that MPLE existence checking in

https://github.com/statnet/ergm/blob/1f4401ed73356cbf89c2f35fd35d6a981f4caea0/R/ergm.mple.R#L75

is time-consuming and memory-hungry. It's an LP so I guess there are little chances of making it leaner (I'm not sure if there are LP implementations for sparse matrices etc...?). Perhaps we can make a control option to disable it on demand?