sync
This commit is contained in:
@@ -99,7 +99,7 @@ def __run_qpu(ising_qubo_collection, model_type, result_collection):
|
||||
|
||||
solver_args = {}
|
||||
solver_args["annealing_time"] = int(input("annealing time (in us): "))
|
||||
solver_args["num_reads"] = int(input("number of reads per sample: "))
|
||||
solver_args["num_reads"] = int(input("number of reads per instance: "))
|
||||
|
||||
__run_on_scope(solver_input_query,
|
||||
db[result_collection],
|
||||
|
@@ -165,11 +165,10 @@ def extract_minisat_results():
|
||||
idb = script.connect_to_instance_pool()
|
||||
|
||||
scope = input("scope: ")
|
||||
result_collection = input("result collection: ")
|
||||
table_name = input("table name: ")
|
||||
|
||||
runs = queries.Minisat_run_scope_query_raw(idb)
|
||||
runs.query(scope, result_collection)
|
||||
runs.query(scope, "minisat_runs")
|
||||
|
||||
insert_row = ("INSERT INTO {} "
|
||||
"(run_id, "
|
||||
|
@@ -186,7 +186,7 @@ def create_wmis_qubos_for_scope(db, scope):
|
||||
for instance, instance_id in instances:
|
||||
qubo = SAT2QUBO.WMISdictQUBO(instance)
|
||||
|
||||
write_qubo_to_pool_db(db["wmis_qubos_2"], qubo, instance_id)
|
||||
write_qubo_to_pool_db(db["wmis_qubos"], qubo, instance_id)
|
||||
|
||||
def create_wmis_2_qubos_for_scope(db, scope):
|
||||
instances = queries.Instance_scope_query(db)
|
||||
|
Reference in New Issue
Block a user