1QB-Information-Technologies / ccvm

Solve continuous non-convex optimization problems with Coherent Continous-Variable Machine (CCVM) architectures and solvers
GNU Affero General Public License v3.0
9 stars 0 forks source link

Investigate a test that takes a long time to solve #173

Open KatieO4t1qbit opened 7 months ago

KatieO4t1qbit commented 7 months ago

One of the tests in ccvm_simulators/tests/unit/ccvmplotlib/test_BoxQP_metadata.py takes a while, even though it should be a unit test. Let's see if we can speed it up a little bit!

KatieO4t1qbit commented 6 months ago

It looks like the culprit may be the test_generate_plot_data_valid test case. In particular, I think decreasing the amount of data in the ccvm_simulators/tests/data/metadata/valid_metadata.json file may help this test run faster.