Skip to content

Commit c3afdf4

Browse files
HackerFoovaughnbetz
authored andcommitted
Update documentation
Signed-off-by: Dustin DeWeese <[email protected]>
1 parent 6cf3466 commit c3afdf4

File tree

2 files changed

+42
-2
lines changed

2 files changed

+42
-2
lines changed

doc/src/vpr/command_line_usage.rst

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,46 @@ If any of init_t, exit_t or alpha_t is specified, the user schedule, with a fixe
680680

681681
**Default:** ``0.8``
682682

683+
.. option:: --alpha_min <float>
684+
685+
The minimum (starting) update factor (alpha) used.
686+
Ranges between 0 and alpha_max.
687+
Setting this flag selects Dusty's annealing schedule.
688+
689+
**Default:** ``0.2``
690+
691+
.. option:: --alpha_max <float>
692+
693+
The maximum (stopping) update factor (alpha) used after which simulated annealing will complete.
694+
Ranges between alpha_min and 1.
695+
Setting this flag selects Dusty's annealing schedule.
696+
697+
**Default:** ``0.9``
698+
699+
.. option:: --alpha_decay <float>
700+
701+
The rate at which alpha will approach 1: alpha(n) = 1 - (1 - alpha(n-1)) * alpha_decay
702+
Ranges between 0 and 1.
703+
Setting this flag selects Dusty's annealing schedule.
704+
705+
**Default:** ``0.7``
706+
707+
.. option:: --anneal_success_min <float>
708+
709+
The minimum success ratio after which the temperature will reset to maintain the target success ratio.
710+
Ranges between 0 and anneal_success_target.
711+
Setting this flag selects Dusty's annealing schedule.
712+
713+
**Default:** ``0.1``
714+
715+
.. option:: --anneal_success_target <float>
716+
717+
The temperature after each reset is selected to keep this target success ratio.
718+
Ranges between anneal_success_target and 1.
719+
Setting this flag selects Dusty's annealing schedule.
720+
721+
**Default:** ``0.25``
722+
683723
.. option:: --fix_pins {free | random | <file.pads>}
684724

685725
Controls how the placer handles I/O pads during placement.

vpr/src/base/read_options.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,13 +1580,13 @@ argparse::ArgumentParser create_arg_parser(std::string prog_name, t_options& arg
15801580

15811581
place_grp.add_argument(args.PlaceAlphaDecay, "--alpha_decay")
15821582
.help(
1583-
"The value that alpha is scaled by when successful.")
1583+
"The value that alpha is scaled by after reset.")
15841584
.default_value("0.7")
15851585
.show_in(argparse::ShowIn::HELP_ONLY);
15861586

15871587
place_grp.add_argument(args.PlaceSuccessMin, "--anneal_success_min")
15881588
.help(
1589-
"Minimum success ratio when annealing before restarting.")
1589+
"Minimum success ratio when annealing before resetting the temperature to maintain the target success ratio.")
15901590
.default_value("0.1")
15911591
.show_in(argparse::ShowIn::HELP_ONLY);
15921592

0 commit comments

Comments
 (0)