-
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
Switch to average function, Introduce StageManager #161
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
switch to splr-ema crate, using EMA2
|
Merged
7 tasks
…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
shnarazk
changed the title
Switch to average function
Switch to average function, Introduce StageManager
Mar 12, 2022
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.
See #160
dynamic_restart_threshold
more refactoring #164lb_entanglement
, which renamed fromlbd_of_dp
holds too small values, change the definition to accumulate only inter-block clause (1 < LBD).rst
toasg' and
cdb`. more refactoring #164Design Decisions to be noted
Dynamic control of restart threshold by StageManager and RestartManager