annealing's Introduction
Jacob Xu C++ to run: cd anneal make ./anneal inputfile 13 -kempe -st notes: the INITPROB parameter may not work well if set too low i suspect it to because the initial solution is not good enough more details in code comments T is set to 10.0 if first trial run has changes/trails > 0.5 binary search was used to search for lowest k that FIXED_K finds a hard iteration limit is also set for fixed_k approach simulated annealing is run multiple times CUTOFF is supposed to be a double/float despite what is specified in the assignment i think the johnson part 2 paper sets it to 0.1 for fixed k binary search is used to set T based on INITPROB it is possible for a solution to be found during these trial runs inf looping was observed for some cases of kempe chain and fixed_k some simple checks were added to terminate early if same cost or same # of changes > 50 times then terminate a debug flag at top of anneal.cpp can be set true for more output the program was tested on the following run_sa("input1.txt"); // sanity benchmarks run_sa("input.txt"); run_sa("input2.txt"); run_sa("4-Insertions_3.col"); // medium size run_sa("2-FullIns_5.col"); // larger size
annealing's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.