Simulated annealing is a computational algorithm for optimization. It mimics the physical process of thermal annealing in which a metal is heated and then slowly cooled to settle into a highly ordered crystal structure. For common metals, the lowest energy state is already known. But the method is useful for other problems where the best state is not known and exhaustively searching all possible states is impractical. The method is applied by modeling the problem as a physical system with structure, energy, and temperature. This Python module implements simulated annealing so that it can be easily applied to a variety of problems. An example program is include to perform simulated annealing of the traveling salesman problem.
Pdbsql provides three samba passdb backend modules: pdb_mysql, pdb_pgsql, and pdb_multi. pdb_mysql is a MySQL passdb backend. pdb_pgsql is a PostgreSQL passdb backend. pdb_multi is a backend which loads multiple passdb backends. These are provided because support for MySQL and PostGreSQL passdb backends has been removed from the Samba source tree, due to lack of an active maintainer.
Shell Script Loader is a framework (in a helper script) that can be used by shell-script-based applications for easy including or loading of co-shell-scripts or subscripts. With this utility, scripters may now be able to apply multi-file or module-oriented scripting or programming in shells just like the way they are always done in known languages like Perl, PHP, and Ruby. The provided functions are load(), include(), and call() with the extended versions loadx(), includex(), and callx(). The extended versions can accept glob patterns and regular expressions. Shell Script Loader supports many shells including the very old ones like bash, zsh, ksh, pdksh, sh, ash, dsh, and all shells based on the original sh. Scripts made with Shell Script Loader may also be compiled to form a single script. A generic compiler written in awk is already available.