Differences between revisions 1 and 14 (spanning 13 versions)
Revision 1 as of 2014-01-27 10:59:05
Size: 1432
Editor: XmlRpcBot
Comment:
Revision 14 as of 2016-10-24 10:06:38
Size: 1916
Editor: XmlRpcBot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
If the FF heuristic should be used (for its estimates or its preferred operators) and we want to use preferred operators of the landmark count heuristic, we can exploit synergy effects by using the LAMA-FF synergy. This synergy can only be used via Predefinition (see [[ReusingHeuristics|ReusingHeuristics]]), for example: If the FF heuristic should be used (for its estimates or its preferred operators) and we want to use preferred operators of the landmark count heuristic, we can exploit synergy effects by using the LAMA-FF synergy. This synergy can only be used via Predefinition (see [[OptionSyntax#Predefinitions|Predefinitions]]), for example:
Line 9: Line 9:
lm_ff_syn(lm_graph, admissible=false, optimal=false, alm=true, cost_type=NORMAL) lm_ff_syn(lm_factory, admissible=false, optimal=false, alm=true, lpsolver=CPLEX, cost_type=NORMAL, cache_estimates=true)
Line 12: Line 12:
 * ''lm_graph'' ([[Doc/LandmarkGraph|LandmarkGraph]]):  * ''lm_factory'' ([[Doc/LandmarkFactory|LandmarkFactory]]):
Line 16: Line 16:
 * ''lpsolver'' ({CLP, CPLEX, GUROBI}): external solver that should be used to solve linear programs
  * {{{CLP}}}: default LP solver shipped with the COIN library
  * {{{CPLEX}}}: commercial solver by IBM
  * {{{GUROBI}}}: commercial solver
Line 20: Line 24:
 * ''cache_estimates'' (bool): cache heuristic estimates
'''Note:''' to use an LP solver, you must build the planner with LP support. See [[LPBuildInstructions|LPBuildInstructions]].

LAMA-FF synergy

If the FF heuristic should be used (for its estimates or its preferred operators) and we want to use preferred operators of the landmark count heuristic, we can exploit synergy effects by using the LAMA-FF synergy. This synergy can only be used via Predefinition (see Predefinitions), for example: "hlm,hff=lm_ff_syn(...)"

lm_ff_syn(lm_factory, admissible=false, optimal=false, alm=true, lpsolver=CPLEX, cost_type=NORMAL, cache_estimates=true)
  • lm_factory (LandmarkFactory):

  • admissible (bool): get admissible estimate

  • optimal (bool): optimal cost sharing

  • alm (bool): use action landmarks

  • lpsolver ({CLP, CPLEX, GUROBI}): external solver that should be used to solve linear programs

    • CLP: default LP solver shipped with the COIN library

    • CPLEX: commercial solver by IBM

    • GUROBI: commercial solver

  • cost_type ({NORMAL, ONE, PLUSONE}): Operator cost adjustment type. No matter what this setting is, axioms will always be considered as actions of cost 0 by the heuristics that treat axioms as actions.

    • NORMAL: all actions are accounted for with their real cost

    • ONE: all actions are accounted for as unit cost

    • PLUSONE: all actions are accounted for as their real cost + 1 (except if all actions have original cost 1, in which case cost 1 is used). This is the behaviour known for the heuristics of the LAMA planner. This is intended to be used by the heuristics, not search engines, but is supported for both.

  • cache_estimates (bool): cache heuristic estimates

Note: to use an LP solver, you must build the planner with LP support. See LPBuildInstructions.