-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stages that control activity, elimination, reduction, restart, trail-saving and vivification #163
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shnarazk
changed the title
(reduce) implement dynamic reduction rate
(clause reduction) drastic reduction scheme
Mar 2, 2022
|
shnarazk
changed the title
(clause reduction) drastic reduction scheme
(clause reduction) Luby-based drastic reduction scheme
Mar 4, 2022
|
…against problems with small N
shnarazk
commented
Mar 5, 2022
shnarazk
changed the title
(clause reduction) Luby-based drastic reduction scheme
(clause reduction) Luby-based stage manager replacing the restart stabiilzer
Mar 5, 2022
shnarazk
changed the title
(clause reduction) Luby-based stage manager replacing the restart stabiilzer
Luby-based stage manager to control restart and clause-elimination/reduction/vivification
Mar 5, 2022
shnarazk
changed the title
Luby-based stage manager to control restart and clause-elimination/reduction/vivification
Stage manager to control restart and clause-elimination/reduction/vivification
Mar 5, 2022
|
after changing trail_saving, lbd_of_dq
|
shnarazk
force-pushed
the
periodical-purge-20220228
branch
from
March 6, 2022 15:00
5d55b67
to
04eb3eb
Compare
* Cargo.toml: disable "dynamci_restart_threshold" temporally * All generated clauses are supposed to be killed unless ... * splr-ema: version 0.1.1; add `EmaIF::set_value` and `Ema::with_value` * (search) fix type * (trail_saving.rs) parameter tuning * a bad direction * quick fix * (Eliminator::eliminate_combination_limit) delete and define as a local constant * renamed: src/processor/eliminator.rs -> src/processor/simplify.rs * rename 'lbd of dp' to 'literal block entanglement' * move Restarter::lbd to ClauseDB * move Restarter::asg to AssignStack as `assign_rate` * splr-ema::Ewa2: add a cache field to hold `1.0 - decay` * restart.rs: reorganize `cfg(feature = "Luby_restart")` * remove meaningless dereference of `as_view` * tweak the initial values of `AssignStack::level` to set valid values to given clauses * increase `ClauseDB:;lbd` when a new assignment is found * update the initial value of `rst_lbd_thr` based on experimentation * increase `ClauseDB:;lbd` when a new assignment is found (part 2) * cargo test
Merged
Experiment on stage reduction rate, based on ec7f4c0
|
shnarazk
changed the title
Stage manager to control restart, elimination, reduction, and vivification
Stage manager to control restart, elimination, reduction, trail-saving and vivification
Mar 9, 2022
shnarazk
changed the title
Stage manager to control restart, elimination, reduction, trail-saving and vivification
Stages that control restart, elimination, reduction, trail-saving and vivification
Mar 9, 2022
trail refinement
|
shnarazk
changed the title
Stages that control restart, elimination, reduction, trail-saving and vivification
Stages that control reward, restart, elimination, reduction, trail-saving and vivification
Mar 11, 2022
Survey on stage-based var activity compression
|
shnarazk
changed the title
Stages that control reward, restart, elimination, reduction, trail-saving and vivification
Stages that control activity, elimination, reduction, restart, trail-saving and vivification
Mar 11, 2022
7 tasks
shnarazk
added a commit
that referenced
this pull request
Apr 2, 2022
* a new branch ditch-fast-EMA-20220226 * (types.rs) add `EEA` * silly typo * rename EWA to Ewa * (types.rs) add `Ewa2` * add splr-ema crate * tiny change; ready to comparison * tweak history lengths; comment out fast EMA settings * Stages that control activity, elimination, reduction, restart, trail-saving and vivification (#163) * (reduce) implement dynamic reduction rate * tweak processor parameters * +Luby reduction * keep very small learnt clauses after clause reduction * (search) rename local variables * the best * probably better setting * refactored and tweak parameters * add splr-luby * use splr_luby * ditto * select reduction targets based on Luby stabilization span; very fast against problems with small N * new file: src/solver/stage.rs; introduce StageManager * splr-luby/src/lib.rs: add more methods * refactor StageManager and State * (reduce) revert some changes * (RestartIF) s/set_stabilization/set_sensibility/ * tiny refactor * (search) tiny changes * (search) StageManager controls simplify invocation directly * types.rs export SolverEvent; implement Instantiate for StageManager * (StageManager) s/threshold/end_of_stage/ * (StageManager) reorganize local names * more refactoring (#164) * Cargo.toml: disable "dynamci_restart_threshold" temporally * All generated clauses are supposed to be killed unless ... * splr-ema: version 0.1.1; add `EmaIF::set_value` and `Ema::with_value` * (search) fix type * (trail_saving.rs) parameter tuning * a bad direction * quick fix * (Eliminator::eliminate_combination_limit) delete and define as a local constant * renamed: src/processor/eliminator.rs -> src/processor/simplify.rs * rename 'lbd of dp' to 'literal block entanglement' * move Restarter::lbd to ClauseDB * move Restarter::asg to AssignStack as `assign_rate` * splr-ema::Ewa2: add a cache field to hold `1.0 - decay` * restart.rs: reorganize `cfg(feature = "Luby_restart")` * remove meaningless dereference of `as_view` * tweak the initial values of `AssignStack::level` to set valid values to given clauses * increase `ClauseDB:;lbd` when a new assignment is found * update the initial value of `rst_lbd_thr` based on experimentation * increase `ClauseDB:;lbd` when a new assignment is found (part 2) * cargo test * parameter tuning; use cfg! macro instead of cfg attribute * rename 'depG' label to 'entg' * (num_reducible) parameter tuning * (num_reducible) tiny parameter change * AssignStack: add stage_scale * implement stage-controlled trail-saving * implement stage-controlled var activity rescaling * renamed: misc/search.tex -> misc/algorithm.tex * bump version up to 0.15.0-alpha2
23 tasks
shnarazk
added a commit
that referenced
this pull request
Apr 3, 2022
- Add `RestartManager` and Remove `GeometricStabilizer` #161 - Switch from a decision-making model to a simple dynamics model for restart #164 - `RestartManager` is stored in `State`. - revise the definition of 'literal block entanglement' to accumulate only inter-block clauses (1 < LBD). - Move some EMAs in `rst` to `asg' and `cdb`. #164 - Rescale var activity after the end of the 2nd-level cycle of the Luby series. #163 - Restart stages change the trail-saving setting. #163 - The pre/in processor was demoted as an on-the-fly module. - Add `StageManager`, which compresses var activity after the end of each 2nd-level Luby cycle in order to diversify the direction of search. #161 - Drop refinement on trail_saving; restarts reset dependency. It's enough. - Change the definition of `ProgressASG`. It counts the number of assigned literals after restarts instead of unassigned ones.
shnarazk
added a commit
that referenced
this pull request
May 15, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Forked from #161 and spawned and merged #164.
dynamic_restart_threshold
more refactoring #164lbd_of_dp
holds too small values, revise the definitions of parameters used in trail saver and clause eliminator.cdb
fromrst
. more refactoring #164Design Decisions to be noted