-
Notifications
You must be signed in to change notification settings - Fork 27
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
Enh/options #110
Merged
Merged
Enh/options #110
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
fa20604
replace linearsolver by linear_solver
kalmarek 7cc5565
use the SCS(set_default_settings)
kalmarek a1476b1
check that all the supplied options are correct
kalmarek 43c8879
modify SCSSettings from options provided in kwargs
kalmarek 68ff2f4
add options to MOI
kalmarek 76bcf65
fix options tests
kalmarek 5e4d95c
repeat MOI tests for both Direct and Indirect solvers
kalmarek 7d3d1ce
remove the default values from comments in SCSSettings
kalmarek 16e3f9d
external constructor for SCSSettings with options
kalmarek af3609e
remove ! from SCS_set_default_settings
kalmarek 86a8bb2
replace T by linear_solver
kalmarek 6e2d775
another try at throwing errors
kalmarek e2b1e70
throw ArgumentError in SCSSettings only on unrecognized kwords
kalmarek c93f64b
test MPBWrapper with both Direct and Indirect linear_solvers
kalmarek d6c68e6
test MOIWrapper with "eps=1e-8"
kalmarek 78b6b63
test for precise ArgumentError message
kalmarek 3702e60
ignore build.log
kalmarek 5f422d7
perform all the checks in optimize! using sanatize_SCS_options
kalmarek db60fb9
tests for ArgumentError strings
kalmarek ab9ead7
remove checking options via try catch
kalmarek 7c199f8
Merge branch 'master' into enh/options
kalmarek 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
deps.jl | ||
usr | ||
build.log |
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.
Is there some way to test the text of the error message? That's pretty important in this case.
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.
https://github.com/JuliaLang/julia/blob/e7d15d4a013a43442b75ba4e477382804fa4ac49/stdlib/Test/src/Test.jl#L532
@test_throws
wants type, not an instanceThere 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.
Yes,
@test_throws
is probably not the way to do it. It may need atry/catch
where you test the error message inside thecatch
and test that thecatch
block executed.