added local scons
This commit is contained in:
1 parent
f1c63793c7
commit
34fa181195
3 files changed
+8
-4
No files matched your search
@@ -15,3 +15,6 @@
|
||||
path = contrib/qubosolver/qbscxx
|
||||
url = ssh://git@sargas.org:2240/Tom/qbscxx.git
|
||||
branch = develop
|
||||
[submodule "SconsLocal"]
|
||||
path = SconsLocal
|
||||
url = http://sargas.org:3000/Tom/SconsLocal.git
|
||||
Submodule
+1
Submodule SconsLocal added at 46da7f9484.
+4
-4
@@ -6,13 +6,13 @@ from tqdm import tqdm
|
||||
import math
|
||||
import random
|
||||
|
||||
#__VERTEX_WEIGHT__ = -2
|
||||
#__EDGE_WEIGHT__ = 2
|
||||
__VERTEX_WEIGHT__ = -2
|
||||
__EDGE_WEIGHT__ = 2
|
||||
|
||||
__VERTEX_WEIGHT__ = 1
|
||||
__EDGE_WEIGHT__ = -2
|
||||
|
||||
def WMISdictQUBO(kSATInstance):
|
||||
__VERTEX_WEIGHT__ = -1
|
||||
|
||||
quboInstance = {}
|
||||
|
||||
for clauseIndex in range(kSATInstance.getNumberOfClauses()):
|
||||
|
||||
Reference in new issue
Block a user