Differences between revisions 2 and 3
Revision 2 as of 2010-08-02 15:22:19
Size: 592
Editor: ErezKarpas
Comment:
Revision 3 as of 2010-08-02 15:31:30
Size: 875
Editor: MalteHelmert
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Back to HeuristicSpecification.

= LP solver support =

Some configurations of Fast Downward, such as optimal cost partitioning for landmark heuristics, require an Linear Programming (LP) solver and will complain if the planner has not been built with support for such a solver.
Line 2: Line 8:
To use the LP solver (for example, for optimal cost partitioning of landmarks heuristic), follow these instructions:
Line 4: Line 9:
== Instructions for Building Fast Downward with LP Solver == == Instructions for building Fast Downward with LP support ==
Line 6: Line 11:
 * Go to downward/search/lp/ Build Fast Downward with LP support as follows:
Line 8: Line 13:
 * run ./setup (this will build the LP solver, this might take a few minutes)

 * In downward/search, give the USE_LP_CLP=1 flag to make

  * make USE_LP_CLP=1

  * make USE_LP_CLP=1 release
{{{#!highlight bash
cd downward/search/lp
./setup # Build the LP solver -- might take a few minutes.
make USE_LP_CLP=1 # Build "search" (debug mode) with LP support.
make USE_LP_CLP=1 release # Build "release-search" (release mode) with LP support.
}}}

Back to HeuristicSpecification.

LP solver support

Some configurations of Fast Downward, such as optimal cost partitioning for landmark heuristics, require an Linear Programming (LP) solver and will complain if the planner has not been built with support for such a solver.

Fast Downward uses the COIN-OR LP Solver (CLP) with the Open Solver Interface.

Instructions for building Fast Downward with LP support

Build Fast Downward with LP support as follows:

   1 cd downward/search/lp
   2 ./setup                      # Build the LP solver -- might take a few minutes.
   3 make USE_LP_CLP=1            # Build "search" (debug mode) with LP support.
   4 make USE_LP_CLP=1 release    # Build "release-search" (release mode) with LP support.
   5