Skip to content

Commit

Permalink
Update src/MOI_wrapper/MOI_wrapper.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Oct 30, 2023
1 parent 143bcb8 commit 8cd3814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MOI_wrapper/MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2994,7 +2994,7 @@ function MOI.get(
)
_throw_if_optimize_in_progress(model, attr)
MOI.check_result_index_bounds(model, attr)
col = c_column(model, x)
col = c_column(model, c)
if model.has_infeasibility_cert
dual = _farkas_variable_dual(model, col)
return min(dual, 0.0)
Expand Down

0 comments on commit 8cd3814

Please sign in to comment.