Double solver budget for better solution exploration
This commit is contained in:
@@ -144,8 +144,8 @@ func printStats(label string, results []runResult, runs int) {
|
|||||||
func main() {
|
func main() {
|
||||||
dir := flag.String("dir", "tmp", "directory with trip/students/constraints JSON files")
|
dir := flag.String("dir", "tmp", "directory with trip/students/constraints JSON files")
|
||||||
runs := flag.Int("runs", 20, "number of solver runs per parameter set")
|
runs := flag.Int("runs", 20, "number of solver runs per parameter set")
|
||||||
numRandom := flag.String("random", "50", "comma-separated random placement counts")
|
numRandom := flag.String("random", "100", "comma-separated random placement counts")
|
||||||
numPerturb := flag.String("perturb", "750", "comma-separated perturbation counts")
|
numPerturb := flag.String("perturb", "1500", "comma-separated perturbation counts")
|
||||||
perturbMin := flag.Int("pmin", 3, "perturbation min groups")
|
perturbMin := flag.Int("pmin", 3, "perturbation min groups")
|
||||||
perturbMax := flag.Int("pmax", 8, "perturbation max groups")
|
perturbMax := flag.Int("pmax", 8, "perturbation max groups")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ type Params struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var DefaultParams = Params{
|
var DefaultParams = Params{
|
||||||
NumRandom: 50,
|
NumRandom: 100,
|
||||||
NumPerturb: 750,
|
NumPerturb: 1500,
|
||||||
PerturbMin: 3,
|
PerturbMin: 3,
|
||||||
PerturbMax: 8,
|
PerturbMax: 8,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user