-
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
WIP: constrained optimization #50
Closed
Closed
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
680edc7
Add support for constraints and a interior-point methods
timholy 809be96
Add constrained tests, and don't load problems unless running tests
timholy 83a0bc3
Implement linear constraints
timholy f832562
Improve initial value of barrier coefficient
timholy 5fabfe8
Update for deprecation of infs
timholy 8f56008
Check type of function value, and fix type of initial t in interior-p…
timholy de95ece
Modify some asserts that were causing trouble for non-convex domains
timholy 72f18ea
nelder-mead: check that at least one starting point has finite value
timholy 048394a
Fix call to norm on high-dimensional objects
timholy 4d536b7
fminbox: remove unused tol argument and add mu0
timholy 7f48aeb
fixed some deprecation warnings thrown by julia 0.4. Used Compat pac…
Cody-G 7ed8c2a
Merge pull request #99 from Cody-G/fix_deprecations
timholy 0f35292
Fix ConstraintsNone parameter problem in step!
timholy 03c5e04
Fixes for 0.4 deprecations
timholy 4d1cdf4
Bump the default linesearchmax
timholy c0a3a3f
Julia 0.4 update
timholy 5c1e65e
More 0.4 fixes
timholy c2b7cda
Guarantee that the initial direction is a descent direction for objec…
timholy 92a1c08
Pass constraints through to minimizers
timholy ce8df0a
Automatically try a restart if we think we've converged
timholy 28ce676
Ensure that the search direction is a descent direction
timholy dc4a4c9
interior_newton: increment t if the step converged
timholy 67c9996
Fix returned function value when there are 0 parameters
timholy be3324a
Improvements to positive-definite newton step
timholy afccefc
Use PositiveFactorizations for the newton step
timholy dad89d2
Change convergence criteria in interior_newton to monitor solution, n…
timholy b66e6b6
dot->vecdot
timholy db76ca0
interior_newton: pass options, bail if encounter numeric instability
timholy 2943c3f
interior_newton: also check for finiteness
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
julia 0.2- | ||
julia 0.4 | ||
Calculus | ||
DualNumbers | ||
Compat | ||
PositiveFactorizations |
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
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.
Can you use
vecnorm(gr, Inf)
here?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.
Yeah.
Thanks for the comment!