-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Constrain precision parameter during optimization (#8)
Also adjust some expressions for improved numerical accuracy. The model coefficients are unbounded but the precision must be positive in order for the solution to be feasible. We can impose such a constraint by setting the precision to the maximum of the updated value at the current step and machine epsilon. This bumps Newton back into the feasible region so that optimization can continue in the right direction. Based on ideas and discussion with Jason Manley and Phillip Alday. Both are included as coauthors of this commit. Fixes #6. Co-authored-by: Jason Manley <[email protected]> Co-authored-by: Phillip Alday <[email protected]>
- Loading branch information
1 parent
861626b
commit 24f9a03
Showing
3 changed files
with
46 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24f9a03
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
24f9a03
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/85285
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: