Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I added the graph labelling term
trace(C' P)
to the rQAP formulation in http://arxiv.org/pdf/1112.5507v5.pdf. The objective function is now (wherealpha
is chosen between 0 and 1):as opposed to previously
I wrote some basic tests for it in code/FAQ/Tests. There is an issue with code/FAQ/lines.m now finding a quadratic search error at times. I believe this may be because the objective function has now changed but did not fully understand the function and this may not be working correctly for non integer
alpha
.I also wrote a wrapper for the QAP solver so you can input adjacency matrices and fixed a small bug.
To test the new code, best to run the tests in code/FAQ/Tests.
P.S.
There are a couple of name changes I made to variables which I did before I thought I should contribute. I think they're fairly inconsequential.