Commit 7eea56a3 authored by Valentin Antuori's avatar Valentin Antuori
Browse files

clean depot for CP

parent 992c7417
......@@ -2,22 +2,15 @@ cmake_minimum_required(VERSION 3.0)
project(main)
#find_package(Torch REQUIRED)
#link_libraries(stdc++fs)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TORCH_CXX_FLAGS}")
set(SRCS
src/main.cpp
#src/policy-gradient.cpp
src/instance.cpp
src/solution.cpp
src/options.cpp
src/mcts.cpp
src/heuristic.cpp
src/SparseSet.cpp
src/DFSRollout.cpp
src/heuristic.cpp
)
......@@ -26,22 +19,18 @@ include_directories(src)
AUX_SOURCE_DIRECTORY(src/tclap TCLAP)
set(HEADERS
#src/policy-gradient.h
src/test.h
src/instance.h
src/solution.h
src/options.h
src/mcts.h
src/heuristic.h
src/SparseSet.hpp
src/DFSRollout.h
src/heuristic.h
${TCLAP}
)
add_executable(main ${SRCS} ${HEADERS})
#target_link_libraries(main "${TORCH_LIBRARIES}")
set_target_properties(main PROPERTIES
......
```
$ mkdir build && cd build
$ cmake DCMAKE_PREFIX_PATH=/path/to/libtorch ../
$ cmake CMakeLists.txt
$ make
$ ./main BENCHMARK [options]
Important options are :
--temperature Float : Temperature for the heuristic
--c_mode 1/0 : Active the dynamic compromise
--dfs : active the DFS component
--c Float : Value of the c coefficient
--c_decay Float : Decay of the dynamic compromise
--diminishing_decay Float : Decay of the SEDMI
--alpha Float : Threshold for the DFS
--fail Integer : Failt limit for the DFS
--restart Integer : Fail limit for the restart
--lb1 : Active the SAT mode for the DFS
```
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment