Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Mar 20, 2024
1 parent 26b70a2 commit c4c99b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MOI/MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ function MOI.set(
_indices_and_coefficients(model, f)
obj = zeros(length(model.variable_info))
for (i, c) in zip(affine_indices, affine_coefficients)
obj[i] = c
obj[i+1] = c
end
@checked Lib.XPRSchgmqobj(model.inner, length(I), I, J, V)
model.objective_type = SCALAR_QUADRATIC
Expand Down

0 comments on commit c4c99b8

Please sign in to comment.