Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

PrimalStatus not implemented #28

Closed
pedroripper opened this issue Oct 4, 2022 · 1 comment · Fixed by #30
Closed

PrimalStatus not implemented #28

pedroripper opened this issue Oct 4, 2022 · 1 comment · Fixed by #30
Labels
bug Something isn't working

Comments

@pedroripper
Copy link
Member

MWE:

using JuMP
using ToQUBO
using Anneal


A = [1 0 0 1 1 1 0 1 1 1 1 ; 0 1 0 1 0 1 1 0 1 1 1; 0 0 1 0 1 0 1 1 1 1 1]
b = [1, 1, 1]
c = [2, 4, 4, 4, 4, 4, 5, 4, 5,6, 5]


model = Model(() -> ToQUBO.Optimizer(ExactSampler.Optimizer))
@variable(model, x[1:11], Bin)
@constraint(model, A*x .== b)
@objective(model, Min, c'x)

optimize!(model)

solution_summary(model)

Anneal version v0.4.3

@pedromxavier pedromxavier added the bug Something isn't working label Oct 5, 2022
@pedromxavier
Copy link
Contributor

DualStatus is also missing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants