-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constrained optimization episode 2: revenge of the slack variables #303
Closed
Closed
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
034f2cf
Add constraints and parsing tests
timholy 0c7a70f
Add pretty-printing of ConstraintBounds
timholy 8b1e03b
Implement barrier function and equality-constraints
timholy 1ba0abf
Fixes for julia-0.4
timholy 7d2ac1e
Add interior point Newton method state, setup of Newton update equation
timholy 6441534
Add interior-point Newton step update and backtracking linesearch
timholy 50b1582
Add a principled initialization for μ and λ
timholy 7102957
Add optimize for interior-point methods
timholy 11b0470
Add BaseTestNext to test/REQUIRE
timholy 2cf1421
Fix state bugs in linesearch and initialization
timholy f4bb08a
Add isfeasible and isinterior
timholy 4f55399
Add more utilities and record more variables with extended_trace
timholy 0e84777
Adopt exact updating of slack terms and λI during linesearch
timholy b4683be
Update f_x_previous; use safer inversion
timholy cada264
Skip solve_active_inequalities; it shouldn't be necessary now.
timholy 16d7ac0
Restrict one-sided function-value convergence to monotonic methods
timholy 2eb3e63
More robust isinterior/isfeasible
timholy b536638
Check finiteness in linesearch and eliminate eps component
timholy c3ca54b
Allow mu decrement based on sufficient gradient decrease or lack of p…
timholy c374b81
Trace alpha too
timholy 5c0241c
Support manually-supplied mu0 and fix a bug in initialization
timholy 61d68a1
Improve initialization of μ, λ
timholy 11234bc
Use Lagrangian val/grad rather than objective val/grad in assessing c…
timholy a3bbf90
Switch to primal-dual and clean up architecture
timholy dcfe788
Start Optim.ConstrainedProblems
timholy fd8f0d0
Trace the total equality violation
timholy 9715589
Store less state for IPNewton update
timholy 3772033
Implement some convert methods needed to leverage ForwardDiff
timholy d627e36
Support multi-parameter α in linesearch, check slope during linesearc…
timholy b91eac6
Check that solution has enough precision to count
timholy 69bd212
Add the Beale unconstrained problem
timholy d4e5192
WIP
timholy 0aee515
ipnewton linesearch: switch to one-sided tests
timholy 3b5d08b
Add option to show linesearch progress
timholy b250e77
Switch back to single-component alpha in linesearch
timholy 5bade65
Adopt an adaptive barrier penalty based on complementarity
timholy 39eb001
Introduce a primal-dual guard condition
timholy e79a3c7
Switch to a predictor algorithm for computing μ
timholy ad06e8a
Fix tests
timholy 1cbad48
Fix ambiguities, tests on julia 0.4
timholy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
any reason
ContraintBounds
are not exported?