progress in clasp series 3
play

Progress in clasp series 3 Martin Gebser Roland Kaminski Benjamin - PowerPoint PPT Presentation

Progress in clasp series 3 Martin Gebser Roland Kaminski Benjamin Kaufmann Javier Romero Torsten Schaub University of Potsdam potassco.sf.net (KRR@UP) Progress in clasp series 3 1 / 25 Outline 1 Motivation 2 Disjunctive solving 3


  1. Progress in clasp series 3 Martin Gebser Roland Kaminski Benjamin Kaufmann Javier Romero Torsten Schaub University of Potsdam potassco.sf.net (KRR@UP) Progress in clasp series 3 1 / 25

  2. Outline 1 Motivation 2 Disjunctive solving 3 Optimization 4 Heuristics 5 Configuration 6 Experiments 7 Summary potassco.sf.net (KRR@UP) Progress in clasp series 3 2 / 25

  3. Motivation Outline 1 Motivation 2 Disjunctive solving 3 Optimization 4 Heuristics 5 Configuration 6 Experiments 7 Summary potassco.sf.net (KRR@UP) Progress in clasp series 3 3 / 25

  4. Motivation Motivation DPLL smodels , dlv SAT assat , cmodels , lp2sat CDCL clasp , wasp Objective comprehensive description of clasp ’s series 3 Features of clasp series 3 parallel solving of disjunctive logic programs parallel optimization with orthogonal strategies declarative support for specifying domain heuristics a portfolio of prefabricated expert configurations and an application programming interface for library integration Empirical study contrasting them for solving optimization problems potassco.sf.net (KRR@UP) Progress in clasp series 3 4 / 25

  5. Motivation Motivation DPLL smodels , dlv SAT assat , cmodels , lp2sat CDCL clasp , wasp Objective comprehensive description of clasp ’s series 3 Features of clasp series 3 parallel solving of disjunctive logic programs parallel optimization with orthogonal strategies declarative support for specifying domain heuristics a portfolio of prefabricated expert configurations and an application programming interface for library integration Empirical study contrasting them for solving optimization problems potassco.sf.net (KRR@UP) Progress in clasp series 3 4 / 25

  6. Motivation Motivation DPLL smodels , dlv SAT assat , cmodels , lp2sat CDCL clasp , wasp Objective comprehensive description of clasp ’s series 3 Features of clasp series 3 parallel solving of disjunctive logic programs parallel optimization with orthogonal strategies declarative support for specifying domain heuristics a portfolio of prefabricated expert configurations and an application programming interface for library integration Empirical study contrasting them for solving optimization problems potassco.sf.net (KRR@UP) Progress in clasp series 3 4 / 25

  7. Motivation Motivation DPLL smodels , dlv SAT assat , cmodels , lp2sat CDCL clasp , wasp Objective comprehensive description of clasp ’s series 3 Features of clasp series 3 parallel solving of disjunctive logic programs parallel optimization with orthogonal strategies declarative support for specifying domain heuristics a portfolio of prefabricated expert configurations and an application programming interface for library integration Empirical study contrasting them for solving optimization problems potassco.sf.net (KRR@UP) Progress in clasp series 3 4 / 25

  8. Disjunctive solving Outline 1 Motivation 2 Disjunctive solving 3 Optimization 4 Heuristics 5 Configuration 6 Experiments 7 Summary potassco.sf.net (KRR@UP) Progress in clasp series 3 5 / 25

  9. Disjunctive solving Solving disjunctive logic programs Fact Solving DLPs leads to an elevated level of complexity Equitable interplay between generating and testing solvers n generating and k × n testing solvers (given k head cycle components) potassco.sf.net (KRR@UP) Progress in clasp series 3 6 / 25

  10. Disjunctive solving Solving disjunctive logic programs Fact Solving DLPs leads to an elevated level of complexity Equitable interplay between generating and testing solvers n generating and k × n testing solvers (given k head cycle components) potassco.sf.net (KRR@UP) Progress in clasp series 3 6 / 25

  11. Disjunctive solving Solving disjunctive logic programs Fact Solving DLPs leads to an elevated level of complexity Equitable interplay between generating and testing solvers n generating and k × n testing solvers Preprocessing (given k head cycle components) Non-HCF SCCs Shared HCC 1 ... HCC k Data Data Data Generator Tester 1 Tester k Solver 1 Solver 1 Solver 1 ... . . . . . . . . . Solver n Solver n Solver n Generator Tester Configuration Configuration potassco.sf.net (KRR@UP) Progress in clasp series 3 6 / 25

  12. Disjunctive solving Solving disjunctive logic programs Fact Solving DLPs leads to an elevated level of complexity Equitable interplay between generating and testing solvers n generating and k × n testing solvers (given k head cycle components) frequency of expensive unfounded set checks is configurable ( --partial-check ) testing solvers are configurable ( --tester ) potassco.sf.net (KRR@UP) Progress in clasp series 3 6 / 25

  13. Disjunctive solving Solving disjunctive logic programs Fact Solving DLPs leads to an elevated level of complexity Equitable interplay between generating and testing solvers n generating and k × n testing solvers (given k head cycle components) frequency of expensive unfounded set checks is configurable ( --partial-check ) testing solvers are configurable ( --tester ) Preprocessing --pre — Run preprocessing and exit gringo <file> | clasp --pre | cmodels potassco.sf.net (KRR@UP) Progress in clasp series 3 6 / 25

  14. Disjunctive solving Solving disjunctive logic programs Fact Solving DLPs leads to an elevated level of complexity Equitable interplay between generating and testing solvers n generating and k × n testing solvers (given k head cycle components) frequency of expensive unfounded set checks is configurable ( --partial-check ) testing solvers are configurable ( --tester ) Preprocessing --pre — Run preprocessing and exit gringo <file> | clasp --pre | wasp potassco.sf.net (KRR@UP) Progress in clasp series 3 6 / 25

  15. Disjunctive solving Solving disjunctive logic programs Fact Solving DLPs leads to an elevated level of complexity Equitable interplay between generating and testing solvers n generating and k × n testing solvers (given k head cycle components) frequency of expensive unfounded set checks is configurable ( --partial-check ) testing solvers are configurable ( --tester ) Preprocessing --pre — Run preprocessing and exit gringo <file> | clasp --pre | lp2sat | minisat potassco.sf.net (KRR@UP) Progress in clasp series 3 6 / 25

  16. Optimization Outline 1 Motivation 2 Disjunctive solving 3 Optimization 4 Heuristics 5 Configuration 6 Experiments 7 Summary potassco.sf.net (KRR@UP) Progress in clasp series 3 7 / 25

  17. Optimization Optimization strategies Model-guided approach --opt-strategy=bb, n classical branch-and-bound SAT SAT. . . SAT UNSAT Core-guided approach --opt-strategy=usc, n originated in MaxSAT community UNSAT UNSAT. . . UNSAT SAT Combination via multi-threading exchange of lower and upper bounds (in addition to nogoods) Enumeration of optimal models --opt-mode=optN combinable with --enum-mode , eg. to compute intersection and union of optimal models potassco.sf.net (KRR@UP) Progress in clasp series 3 8 / 25

  18. Optimization Optimization strategies Model-guided approach --opt-strategy=bb, n classical branch-and-bound SAT SAT. . . SAT UNSAT Core-guided approach --opt-strategy=usc, n originated in MaxSAT community UNSAT UNSAT. . . UNSAT SAT Combination via multi-threading exchange of lower and upper bounds (in addition to nogoods) Enumeration of optimal models --opt-mode=optN combinable with --enum-mode , eg. to compute intersection and union of optimal models potassco.sf.net (KRR@UP) Progress in clasp series 3 8 / 25

  19. Optimization Optimization strategies Model-guided approach --opt-strategy=bb, n classical branch-and-bound SAT SAT. . . SAT UNSAT Core-guided approach --opt-strategy=usc, n originated in MaxSAT community UNSAT UNSAT. . . UNSAT SAT Combination via multi-threading exchange of lower and upper bounds (in addition to nogoods) Enumeration of optimal models --opt-mode=optN combinable with --enum-mode , eg. to compute intersection and union of optimal models potassco.sf.net (KRR@UP) Progress in clasp series 3 8 / 25

  20. Optimization Optimization strategies Model-guided approach --opt-strategy=bb, n classical branch-and-bound SAT SAT. . . SAT UNSAT Core-guided approach --opt-strategy=usc, n originated in MaxSAT community UNSAT UNSAT. . . UNSAT SAT Combination via multi-threading exchange of lower and upper bounds (in addition to nogoods) Enumeration of optimal models --opt-mode=optN combinable with --enum-mode , eg. to compute intersection and union of optimal models potassco.sf.net (KRR@UP) Progress in clasp series 3 8 / 25

  21. Heuristics Outline 1 Motivation 2 Disjunctive solving 3 Optimization 4 Heuristics 5 Configuration 6 Experiments 7 Summary potassco.sf.net (KRR@UP) Progress in clasp series 3 9 / 25

  22. Heuristics Heuristic framework Change heuristic scores of atoms and signs --heuristic=domain Programmed heuristics expressed as a logic program Predicate heuristic (must be #shown) Modifiers init , factor , level , sign Example _heuristic(occurs(A,T),factor,T) :- action(A), time(T). Structural heuristics invoked via command line options Option --dom-mod= m , p Modifiers level , sign Example potassco.sf.net (KRR@UP) Progress in clasp series 3 10 / 25

  23. Heuristics Heuristic framework Change heuristic scores of atoms and signs --heuristic=domain Programmed heuristics expressed as a logic program Predicate heuristic (must be #shown) Modifiers init , factor , level , sign Example _heuristic(occurs(A,T),factor,T) :- action(A), time(T). Structural heuristics invoked via command line options Option --dom-mod= m , p Modifiers level , sign Example potassco.sf.net (KRR@UP) Progress in clasp series 3 10 / 25

Recommend


More recommend