sfcheung / semlbci

Find the likelihood based confidence intervals for parameters in structural equation modeling
https://sfcheung.github.io/semlbci/
1 stars 0 forks source link

Decide how to handle extra arguments in the objective function and the constraint function #15

Closed sfcheung closed 3 years ago

sfcheung commented 3 years ago

There seems to be an issue with nloptr on handling extra arguments:

https://github.com/jyypma/nloptr/issues/65

Need to find some workarounds for this issue. ci_bound_i will fail for some combinations of arguments (e.g., history does not work), probably due to this issue.

sfcheung commented 3 years ago

It seems that it works for now. Create a test (5b547fdbc3887bd1de700ce2c9529f852bc97271) and all tests passed. A similar issue may be raised again later if a new argument is added to this package's functions.