-
Notifications
You must be signed in to change notification settings - Fork 601
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
RFC: Per-variable relative tolerance criteria for x #183
Merged
Merged
Changes from 12 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
7e5f41a
xtol_rel: L1 norm for whole-vector stopping criterion
aitap a92e4f5
vector_norm: fix uninitialized ret, move branch outside for loop, mak…
aitap 02a2ab0
diff_norm: like vector_norm, but for x-oldx
aitap 66f0c11
xtol_abs: test directly when diff_norm tests for weighted xtol_rel
aitap 2108efb
add double * x_weights to nlopt and nlopt_stopping structures
aitap 5ff10d3
don't forget to free the weights; actually declare the weight-related…
aitap 6c6430e
provide scale support for vector_norm and diff_norm
aitap a0e0040
add argument checks to nlopt_get_x_weights
aitap 038affa
do not allocate x_weights unless requested by
aitap caf1554
start documenting the new functions
aitap a65b52a
fixes, add equations
stevengj c31d1e7
Update NLopt_Reference.md
stevengj 00da0ee
param names
stevengj 91c262b
check for w < 0 in set_x_weights
aitap 98ef03c
add x_weights to C++ interface and document them
aitap d45c581
add x_weights to F77 interface and document them
aitap f8141bc
add & document x_weights to SWIG-based interfaces
aitap 64eedcc
add and document x_weights to Octave&Matlab
aitap 6f99d9e
set_x_weights: ISO C90 compatibility
aitap 42ce760
set_x_weights: provide informative error on w <= 0
aitap 5484d29
tweaks
stevengj 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
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
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.
It should probably check that all of the weights are > 0 or return an INVALID_ARGS