Skip to content
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { GenericSolverDebugger } from "lib/testing/GenericSolverDebugger"
// @ts-ignore
import constructorInput from "./AssignableViaCapacityPathingSolver_DirectiveSubOptimal01.json"
import { AssignableViaCapacityPathingSolver_DirectiveSubOptimal } from "lib/solvers/AssignableViaAutoroutingPipeline/AssignableViaCapacityPathing/AssignableViaCapacityPathingSolver_DirectiveSubOptimal"

const createSolver = () => {
return new AssignableViaCapacityPathingSolver_DirectiveSubOptimal({
...(constructorInput as any)[0],
hyperParameters: {
FORCE_VIA_TRAVEL_CHANCE: 1,
FAR_VIA_MIN_DISTANCE: 10,
SHUFFLE_SEED: 4,
MAX_CLOSEST_VIA_SKIP: 0,
},
})
}

export default () => {
return <GenericSolverDebugger createSolver={createSolver} />
}
Loading
Loading