Enable vOptLib tests for KirlikSayin and TambyVanderpooten#119
Conversation
| MOI.set(model, MOA.Algorithm(), MOA.DominguezRios()) | ||
| MOI.set(model, MOI.Silent(), true) | ||
| # TODO(odow): it doesn't terminate | ||
| # vOptLib.run_tests(model) |
There was a problem hiding this comment.
@kofgokhan it looks like there's a bug in DominguezRios. It doesn't terminate on this problem (it gets into an infinite loop):
using Revise
import HiGHS
import MultiObjectiveAlgorithms as MOA
import MultiObjectiveAlgorithms: MOI
include("test/vOptLib.jl")
model = MOA.Optimizer(HiGHS.Optimizer)
MOI.set(model, MOA.Algorithm(), MOA.DominguezRios())
MOI.set(model, MOI.Silent(), true)
MOI.set(model, MOI.TimeLimitSec(), 60.0)
vOptLib.test_vOptLib_2KP50_11(model)There was a problem hiding this comment.
I could not replicate this on my machine. It returns 43 points. Used both HiGHS and CPLEX and I have not changed the tolerances. Did something change?
> model = MOA.Optimizer(HiGHS.Optimizer)
> MOI.get(model, MOI.RawOptimizerAttribute("primal_feasibility_tolerance"))
1.0e-7
> model = MOA.Optimizer(CPLEX.Optimizer)
> MOI.get(model, MOI.RawOptimizerAttribute("CPX_PARAM_EPRHS"))
1.0e-6
There was a problem hiding this comment.
My conclusion in #121 is that it's a presolve issue in HiGHS. If you can't replicate, then it probably means that it's machine dependent too :(
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #119 +/- ##
=======================================
Coverage 98.85% 98.85%
=======================================
Files 9 9
Lines 959 959
=======================================
Hits 948 948
Misses 11 11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
No description provided.