This repository has been archived by the owner. It is now read-only.
A Templatized C++ Framework with Python Bindings for Heuristic Search
License
coin-or/Djinni
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Djinni: A Templatized C++ Framework with Python Bindings for Heuristic Search ============================================================================= Djinni 2.2 is a project-in-progress by the Henry B. Tippie College of Business at the University of Iowa, with additional help from computer science geeks in the Department of Computer Science. Djinni is a framework for implementing heuristic search algorithms. The core elements are coded in C++ and Python bindings are provided to simplify the user interface. The current version of Djinni implements compressed annealing (Ohlmann et al., 2004), a generalization of the well-known simulated annealing algorithm, and includes code used by Ohlmann and Thomas (2007) to solve the traveling salesman problem with time windows (TSPTW). The Djinni framework uses C++ templates to separate code into three parts: a heuristic search algorithm, a problem model, and problem data. Thus, it is straightforward to apply compressed or simulated annealing to problems other than the TSPTW. Furthermore, it is not difficult to apply different heuristic search algorithms to the same problem. The goal of Djinni is to provide a library for constrained combinatorial optimization which is: * Understandable. The entire workings of Djinni should be comprehensible to a Management Sciences undergraduate who has a little talent for programming. * Comprehensive. Tabu search, annealing, genetic algorithms, hybrid systems, bounded approximation algorithms and more should all be provided. * Scriptable. C and C++ are difficult languages to use properly, and it's unreasonable to expect undergraduates to learn the intricacies of pointers, memory management and/or object-oriented design and the Gang of Four patterns just to use an algorithm to solve a problem. * Efficient. Djinni's core should strive for efficiency and speed. However, there will be no trade-off with the understandability of the code. Any compromise between code efficiency and code clarity is based on a false dichotomy: we will have clarity with efficiency or we will have neither at all. At present we are meeting all of our goals save for the second. As of Djinni 2.2 we are only implementing annealing algorithms, including simulated and compressed variants. There are plans to implement tabu search and genetic algorithms for Djinni; however, we are not yet certain of the best way to implement them. If you have any strongly-held opinions, we would love to hear them! Full API documentation can be generated by going into the src/ subdirectory and running Doxygen. Please note that the documentation will not be automatically built; this removes a dependency on Doxygen we would otherwise have. In the src/examples subdirectory can be found two samples of how to use Djinni with Python. salesman is a command-line Python app that will display output to stdout, whereas pygtk-salesman will give a graphical representation of the route. pygtk-salesman requires the PyGTK toolkit be installed. Djinni's primary author is Robert Hansen, assisted in initial stages by Jeff Ohlmann, Barry Thomas, and Tristan Thiede. Justin Goodson assisted with some fine tuning and is the contact for Djinni. Thank you for downloading Djinni 2.2, and we hope that it's helpful to you in your searches! -- Rob Hansen, writing for the authors References: - Ohlmann, J., J. Bean, and S. Henderson (2004). Convergence in probability of compressed annealing. Mathematics of Operations Research, vol 29, 837-860. - Ohlmann, J. and B. Thomas (2007). A compressed annealing approach to the traveling salesman problem with time windows. INFORMS Journal on Computing, vol 19, 80-90.
About
A Templatized C++ Framework with Python Bindings for Heuristic Search
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published