From 2fb66682f34bf5e2a1a94ceb2923e17944de62fa Mon Sep 17 00:00:00 2001 From: Daniel Brosch <73886037+DanielBrosch@users.noreply.github.com> Date: Tue, 5 Sep 2023 10:16:32 +0200 Subject: [PATCH] Example fix --- docs/src/examples/QuadraticAssignmentProblems.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/examples/QuadraticAssignmentProblems.jl b/docs/src/examples/QuadraticAssignmentProblems.jl index b3e01dc..ce7a13e 100644 --- a/docs/src/examples/QuadraticAssignmentProblems.jl +++ b/docs/src/examples/QuadraticAssignmentProblems.jl @@ -131,7 +131,7 @@ m = Model(CSDP.Optimizer) x = @variable(m, x[1:P.n] >= 0) @constraint(m, newA * x .== newB) -@objective(m, Max, newC * x) +@objective(m, Min, newC * x) psdBlocks = @rewrite(sum(x[i] * blkD.blks[i] for i = 1:P.n)); @@ -149,4 +149,4 @@ termination_status(m) # objective_value(m) -@test objective_value(m) ≈ 48.3042 atol = 5#src \ No newline at end of file +@test objective_value(m) ≈ 7.7942 atol = 5#src \ No newline at end of file