migurski / Dymo

Map label placer with simulated annealing.
149 stars 17 forks source link

add "Might I suggest these settings next run..." output #14

Open nvkelso opened 13 years ago

nvkelso commented 13 years ago

First we run: python dymo-label.py -z 6 --minutes 2 --labels-file labels.json --places-file points.json data/US-z6.csv.gz

Then the advanced mode is: python dymo-label.py -z 5 --steps 10000 --max-temp 10 --min-temp 0.01 -l labels.json -p points.json data/US-z5.csv

But the automatic first run reports the steps, max, and min. But they are reported more like this: Annealing from 0.01 to 10 over 10000 steps:

It would be nice if it said: Annealing from 0.01 to 10 over 10000 steps: TIP: Use these settings next run: python dymo-label.py -z 5 --steps 10000 --max-temp 10 --min-temp 0.01 -l labels.json -p points.json data/US-z5.csv

Where it auto built the command for you subbing in the right stuff.