Skip to content

Commit ea5b4cd

Browse files
committed
Dynamic HD Iteration by Size/Connections
1 parent bd6cf67 commit ea5b4cd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/solvers/HyperHighDensitySolver/HyperSingleIntraNodeSolver.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,11 @@ export class HyperSingleIntraNodeSolver extends HyperParameterSupervisorSolver<
247247
viaMinDistFromBorder: 0.15,
248248
traceMargin: 0.1,
249249
traceThickness: this.constructorParams.traceWidth ?? 0.15,
250+
effort: this.effort,
250251
hyperParameters: {
251252
shuffleSeed: hyperParameters.SHUFFLE_SEED ?? 0,
252253
},
253254
})
254-
solver.MAX_ITERATIONS = 10_000_000
255255
return solver as any
256256
}
257257
if (hyperParameters.HIGH_DENSITY_A03) {
@@ -268,9 +268,9 @@ export class HyperSingleIntraNodeSolver extends HyperParameterSupervisorSolver<
268268
// needs more debugging- repro01 in the high-density-a01 repo
269269
// has a good reproduction
270270
traceThickness: 0.1, // this.constructorParams.traceWidth ?? 0.15,
271+
effort: this.effort,
271272
hyperParameters,
272273
})
273-
solver.MAX_ITERATIONS *= this.effort
274274
return solver as any
275275
}
276276
if (hyperParameters.CLOSED_FORM_TWO_TRACE_SAME_LAYER) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"zdwiel-dataset": "git+https://github.com/dwiel/tscircuit-benchmark.git#be36518b5bf51755dae92c230061ab3cf4e3e063"
7171
},
7272
"dependencies": {
73-
"@tscircuit/high-density-a01": "^0.0.24",
73+
"@tscircuit/high-density-a01": "^0.0.25",
7474
"fast-json-stable-stringify": "^2.1.0",
7575
"object-hash": "^3.0.0"
7676
}

0 commit comments

Comments
 (0)