entropicalabs / openqaoa

Multi-backend SDK for quantum optimisation
MIT License
116 stars 58 forks source link

UF: Adding the unbalanced penalization paper and solving some issues #198

Closed alejomonbar closed 1 year ago

alejomonbar commented 1 year ago

Unitary Fund

I decided to divide draft #181 into two. One for the issues with FromDocplex2IsingModel and the other for the bin packing problem. The problem is that the function does not raise an error when it appears. Additionally, I have included the link for the unbalanced penalization paper (https://arxiv.org/abs/2211.13914).

Description

Checklist

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Name the new unit-tests that you have added along with this change.

codecov[bot] commented 1 year ago

Codecov Report

Merging #198 (a1467be) into dev (6140672) will decrease coverage by 8.94%. The diff coverage is 100.00%.

:exclamation: Current head a1467be differs from pull request most recent head 908ddf0. Consider uploading reports for the commit 908ddf0 to get more accurate results

@@            Coverage Diff             @@
##              dev     #198      +/-   ##
==========================================
- Coverage   97.72%   88.79%   -8.94%     
==========================================
  Files          37       32       -5     
  Lines        6776     5799     -977     
==========================================
- Hits         6622     5149    -1473     
- Misses        154      650     +496     
Impacted Files Coverage Δ
tests/test_converters.py 100.00% <100.00%> (ø)

... and 17 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

vishal-ph commented 1 year ago

@alejomonbar, the tests are failing because your branch has an older version of .github/workflows/test_dev.yml. You can update your branch by pulling from dev. Then we can try running the tests again

alejomonbar commented 1 year ago

I updated this branch @vishal-ph