Skip to content

Commit

Permalink
Example fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielBrosch committed Sep 5, 2023
1 parent 91c3d71 commit 2fb6668
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/examples/QuadraticAssignmentProblems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand All @@ -149,4 +149,4 @@ termination_status(m)
#
objective_value(m)

@test objective_value(m) 48.3042 atol = 5#src
@test objective_value(m) 7.7942 atol = 5#src

2 comments on commit 2fb6668

@DanielBrosch
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/90858

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.3 -m "<description of version>" 2fb66682f34bf5e2a1a94ceb2923e17944de62fa
git push origin v0.1.3

Please sign in to comment.