Skip to content

Commit

Permalink
fixed failing notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
orsa-classiq committed Dec 16, 2024
1 parent 91e77e4 commit 28d6967
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
12 changes: 11 additions & 1 deletion applications/optimization/set_partition/set_partition.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,17 @@
},
{
"cell_type": "code",
"execution_count": 28,
"execution_count": 40,
"id": "4a8215b7-1a7c-4f6c-ad8f-24754816038c",
"metadata": {},
"outputs": [],
"source": [
"classical_solution = [pyo.value(set_partition_model.x[i]) for i in range(len(mylist))]"
]
},
{
"cell_type": "code",
"execution_count": 41,
"id": "a7524894-b5c5-42d4-8f92-a019bef5e7da",
"metadata": {
"tags": []
Expand Down
7 changes: 3 additions & 4 deletions tests/resources/timeouts.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

3_sat_grover.ipynb: 36
3_sat_grover.qmod: 48
3_sat_grover_large.qmod: 10
Expand Down Expand Up @@ -147,8 +146,8 @@ max_independent_set.ipynb: 60
max_independent_set.qmod: 64
max_induced_k_color_subgraph.ipynb: 1028
max_induced_k_color_subgraph.qmod: 1008
max_k_vertex_cover.ipynb: 300
max_k_vertex_cover.qmod: 300
max_k_vertex_cover.ipynb: 600
max_k_vertex_cover.qmod: 600
maximum_float_example.qmod: 10
maximum_integer_example.qmod: 10
mcx.ipynb: 236
Expand Down Expand Up @@ -325,4 +324,4 @@ whitebox_fuzzing.ipynb: 720
whitebox_fuzzing.qmod: 720
X.qmod: 10
Yasir_Mansour_HW3_VQE.ipynb: 30
Yasir_Mansour_HW4_molecule_eigensolver.ipynb: 600
Yasir_Mansour_HW4_molecule_eigensolver.ipynb: 600

0 comments on commit 28d6967

Please sign in to comment.