Skip to content

Version 1.0 - Linux/MacOs

Compare
Choose a tag to compare
@dariodenardi dariodenardi released this 13 Sep 14:48
· 7 commits to main since this release

Requirements

  • First, you must generate instaces with my other program. See my project
  • CMake must be installed on linux distribution. Read Tutorial
  • You also need a modern version of GCC, that supports at least C++11

Run the program

  • Open terminal
  • Move to the new directory: cd Greedy
  • Create a build directory: mkdir build
  • Move to the build directory: cd build
  • Run cmake: cmake ..
  • Run make: make
  • Run the executable that you find into Greedy/build/build/bin: ./GreedyAlgorithm [nameInstance] [Q] where nameInstance is the name of instance and Q is a number (1, 2, 3, 4, 5 or 6)