Add and measure a 57-board routing benchmark corpus
This commit is contained in:
parent
be3222e5ae
commit
2f2add98ec
1 changed files with 5892 additions and 4 deletions
|
|
@ -31,7 +31,7 @@ from inire import NetSpec, ObjectiveWeights, Port, RoutingOptions, RoutingProble
|
|||
problem = RoutingProblem(
|
||||
bounds=(0, 0, 1000, 1000),
|
||||
nets=(
|
||||
NetSpec("net1", Port(0, 0, 0), Port(100, 50, 0), width=2.0),
|
||||
NetSpec("net1", Port(50, 100, 0), Port(150, 100, 0), width=2.0),
|
||||
),
|
||||
)
|
||||
options = RoutingOptions(
|
||||
|
|
@ -50,6 +50,8 @@ if run.results_by_net["net1"].is_valid:
|
|||
print("Successfully routed net1!")
|
||||
```
|
||||
|
||||
Automatic routing is the default. It starts with up to 500 nodes per search attempt and can use the configured search ceiling for unresolved layouts. [Routing options](DOCS.md#automatic-routing)
|
||||
|
||||
For incremental workflows, feed prior routed results back into a new `RoutingProblem` via `static_obstacles` using `RoutingResult.locked_geometry`.
|
||||
|
||||
## Usage Examples
|
||||
|
|
@ -75,6 +77,8 @@ Runtime regression checks for the example scenarios are opt-in and require:
|
|||
INIRE_RUN_PERFORMANCE=1 python3 -m pytest -q inire/tests/test_example_performance.py
|
||||
```
|
||||
|
||||
The [routing benchmark matrix](docs/topological-routing.md#comparison) compares the baseline, soft guidance, and corridor seeds across several search budgets.
|
||||
|
||||
## Documentation
|
||||
|
||||
Current documentation lives in:
|
||||
|
|
|
|||
Loading…
Reference in a new issue