Skip to content

Commit

Permalink
new computation on QPU
Browse files Browse the repository at this point in the history
  • Loading branch information
kdomino committed Aug 10, 2023
1 parent 8e1fbec commit af14051
Show file tree
Hide file tree
Showing 67 changed files with 9 additions and 3 deletions.
Binary file modified results_KO_GLC/results20__cqm_1_Integer.pkl
Binary file not shown.
Binary file modified results_KO_GLC/results20__cqm_2_Integer.pkl
Binary file not shown.
Binary file modified results_KO_GLC/results20__cqm_3_Integer.pkl
Binary file not shown.
Binary file modified results_KO_GLC/results5__cqm_1_Integer.pkl
Binary file not shown.
Binary file modified results_KO_GLC/results5__cqm_2_Integer.pkl
Binary file not shown.
Binary file modified results_KO_GLC/results5__cqm_3_Integer.pkl
Binary file not shown.
Binary file added results_KO_GLC/results__sim_3_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/bqm10_10.0_case0_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/bqm10_2.5_case0_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/bqm10_2.5_case1_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/bqm10_2.5_case2_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/bqm10_2.5_case3_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/bqm10_2.5_case4_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/bqm10_2.5_case5_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/bqm10_2.5_case6_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/bqm10_2.5_case7_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/bqm10_5.0_case0_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/bqm10_7.5_case0_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/bqm20_10.0_case0_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/bqm20_2.5_case0_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/bqm20_5.0_case0_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/bqm20_7.5_case0_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/cqm100_case7_Integer.pkl
Binary file not shown.
Binary file modified solutions_quantum/cqm10_case7_Integer.pkl
Binary file not shown.
Binary file modified solutions_quantum/cqm15_case7_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/cqm20_case0_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/cqm20_case1_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/cqm20_case2_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/cqm20_case3_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/cqm20_case4_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/cqm20_case5_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/cqm20_case6_Integer.pkl
Binary file not shown.
Binary file modified solutions_quantum/cqm20_case7_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/cqm20_case8_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/cqm20_case9_Integer.pkl
Binary file not shown.
Binary file modified solutions_quantum/cqm25_case7_Integer.pkl
Binary file not shown.
Binary file modified solutions_quantum/cqm30_case7_Integer.pkl
Binary file not shown.
Binary file modified solutions_quantum/cqm40_case7_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/cqm50_case7_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/cqm5_case0_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/cqm5_case1_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/cqm5_case2_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/cqm5_case3_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/cqm5_case4_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/cqm5_case5_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/cqm5_case6_Integer.pkl
Binary file not shown.
Binary file modified solutions_quantum/cqm5_case7_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/cqm5_case8_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/cqm5_case9_Integer.pkl
Binary file not shown.
Binary file modified solutions_quantum/cqm60_case7_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/cqm6_case7_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/cqm70_case7_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/cqm7_case7_Integer.pkl
Binary file not shown.
Binary file removed solutions_quantum/cqm80_case7_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/sim_0.0001_case0_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/sim_0.0_case0_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/sim_0.1_case0_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/sim_1.0_case0_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/sim_1.5_case0_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/sim_10.0_case0_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/sim_2.0_case0_Integer.pkl
Binary file not shown.
Binary file added solutions_quantum/sim_2.5_case0_Integer.pkl
Binary file not shown.
12 changes: 9 additions & 3 deletions solutions_quantum/tmin_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ def load_data(solver,case, tmin):

def plotting_objective(solver, case, tmins):
dmax = 40
cplex_t = 7.89
cplex_obj = 188.75

objectives = {}
comp_time = {}
Expand All @@ -40,12 +42,14 @@ def plotting_objective(solver, case, tmins):
ax1.plot(tmins, y1, "o--", color = "green", label = "mean")
ax1.plot(tmins, y2, ":", color = "green", label = "envelope")
ax1.plot(tmins, y3, ":", color = "green")
cplex_objs = [cplex_obj for _ in tmins]
ax1.plot(tmins, cplex_objs, ":", color = "red", label = "CPLEX solver")
ax1.legend(ncol = 2, loc='best')

y1 = [np.mean(comp_time[tmin]) for tmin in tmins]
ax2.plot(tmins, y1, "d--", color = "blue", label = "mean hybrid solver")
cplex_t = [7.89 for _ in tmins]
ax2.plot(tmins, cplex_t, ":", color = "red", label = "CPLEX solver")
cplex_ts = [cplex_t for _ in tmins]
ax2.plot(tmins, cplex_ts, ":", color = "red", label = "CPLEX solver")
ax2.legend(loc='best')

y2 = [np.min(qpu_acess_time[tmin]) for tmin in tmins]
Expand All @@ -61,12 +65,14 @@ def plotting_objective(solver, case, tmins):
ax3.set_xlabel("t min parameter")
ax3.set_ylim(bottom=0, top = 0.04)

plt.xscale("log")



plt.savefig(f"{solver}_{case}_sweep_tmin.pdf")

if __name__ == "__main__":
tmins = [5,10,15,20,25,30,40]
tmins = [5, 6, 7, 10,15,20,25,30,40, 60]
solver = "cqm"
case = "case7"

Expand Down
Binary file removed solutions_quantum/wisla/cqm_wisla5_case1.pkl
Binary file not shown.
Binary file removed solutions_quantum/wisla/cqm_wisla6_case1.pkl
Binary file not shown.
Binary file removed solutions_quantum/wisla/cqm_wisla7_case1.pkl
Binary file not shown.
Binary file removed solutions_quantum/wisla/real_wisla_case1.pkl
Binary file not shown.

0 comments on commit af14051

Please sign in to comment.