We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce92e06 commit ce963bdCopy full SHA for ce963bd
src/MOI_wrapper/MOI_wrapper.jl
@@ -3369,13 +3369,7 @@ end
3369
function MOI.get(model::Optimizer, attr::MOI.DualObjectiveValue)
3370
_throw_if_optimize_in_progress(model, attr)
3371
MOI.check_result_index_bounds(model, attr)
3372
- if model.has_infeasibility_cert
3373
- return MOI.Utilities.get_fallback(model, attr, Float64)
3374
- end
3375
- valueP = Ref{Cdouble}()
3376
- ret = GRBgetdblattr(model, "ObjBound", valueP)
3377
- _check_ret(model, ret)
3378
- return valueP[]
+ return MOI.Utilities.get_fallback(model, attr, Float64)
3379
end
3380
3381
function MOI.get(model::Optimizer, attr::MOI.ResultCount)::Int
0 commit comments