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 67467ce commit a66bf0aCopy full SHA for a66bf0a
test/problems.jl
@@ -461,11 +461,11 @@ function test_issue_122(model)
461
MOI.set(model, MOI.ObjectiveSense(), MOI.MAX_SENSE)
462
MOI.set(model, MOI.ObjectiveFunction{typeof(f)}(), f)
463
for i in 1:m
464
- f_i = sum(w[i,j] * x[i,j] for j in 1:n)
+ f_i = sum(w[i, j] * x[i, j] for j in 1:n)
465
MOI.add_constraint(model, f_i, MOI.LessThan(b[i]))
466
end
467
for j in 1:n
468
- MOI.add_constraint(model, sum(1.0 .* x[:,j]), MOI.EqualTo(1.0))
+ MOI.add_constraint(model, sum(1.0 .* x[:, j]), MOI.EqualTo(1.0))
469
470
MOI.optimize!(model)
471
@test MOI.get(model, MOI.ResultCount()) == 42
0 commit comments