-
Notifications
You must be signed in to change notification settings - Fork 87
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
Add test for a feasibility problem #241
Conversation
Codecov Report
@@ Coverage Diff @@
## master #241 +/- ##
==========================================
- Coverage 59.17% 58.96% -0.22%
==========================================
Files 23 23
Lines 3559 3599 +40
==========================================
+ Hits 2106 2122 +16
- Misses 1453 1477 +24
Continue to review full report at Codecov.
|
src/Test/contlinear.jl
Outdated
function linear13test(model::MOI.ModelLike, config::TestConfig) | ||
atol = config.atol | ||
rtol = config.rtol | ||
# find x |
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.
"find x" -> "find x, y"
|
||
c1sol = 2 * xsol + 3 * ysol | ||
@test c1sol >= 1 || isapprox(c1sol, 1.0, atol=atol, rtol=rtol) | ||
@test xsol - ysol ≈ 0 atol=atol rtol=rtol |
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.
We should check ConstraintPrimal
too
Thanks, I've addressed the comments. |
Thanks ! |
No description provided.