entropicalabs / openqaoa

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

UF: Adding the bin packing problem #201

Closed alejomonbar closed 1 year ago

alejomonbar commented 1 year ago

Unitary Fund

Description

I include the bin packing problem https://en.wikipedia.org/wiki/Bin_packing_problem in the list of problems. It comes with some new features such as classical_solution where it is used cplex to solve the problem and plot_solution where a string or dictionary is passed and it is plotted the solution.

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 #201 (9b1bbdd) into dev (945ae3f) will decrease coverage by 8.84%. The diff coverage is 98.43%.

:exclamation: Current head 9b1bbdd differs from pull request most recent head 34d8e09. Consider uploading reports for the commit 34d8e09 to get more accurate results

@@            Coverage Diff             @@
##              dev     #201      +/-   ##
==========================================
- Coverage   97.72%   88.89%   -8.84%     
==========================================
  Files          37       32       -5     
  Lines        6771     5862     -909     
==========================================
- Hits         6617     5211    -1406     
- Misses        154      651     +497     
Impacted Files Coverage Δ
tests/test_problems.py 99.07% <98.41%> (-0.09%) :arrow_down:
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