Skip to content

agostini01/problem-solver-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bin Paking Solver


Given a set of objects with sizes and an integer K, can the objects be placed into K subsets of fixed size?


Depends

  • C++ compiler
  • Autoconf
  • Automake
  • Libtool

Build

  • In order to compile for installation:

      autoreconf -ivf
      cd build
      ../configure --prefix="$(pwd)/install" 	# Change path here
      make
      make install 							# or sudo make install
      # Executable can be found in $(projdir)/build/install/bin
    
  • Or just compile in genereral:

      autoreconf -ivf
      cd build
      ../configure
      make
      # Executable can be found in $(projdir)/build/src/bin
    
  • Run the Gtest tests with

      autoreconf -ivf
      ./configure
      make check
    
  • After successfull configuration, doxygen can be generated by running make on the right docs folder

      cd $(projdir)/docs
      make
    
      # or
      cd $(projdir)/build/docs
      make
    

Running

	# There is a dependency on where the bin looks for the input files
	# Thus the binary has to be run from the src/ folder.
	cd $(projdir)/src
	./main

Credits

Gtest+Autotools project setup was extracted from minimal-gtest-autotools.


Authors

Nicolas Agostini n.b.agostini@gmail.com Matan Kaminski kaminski.ma@husky.neu.edu Jan 2017

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages