Changeset 5947 for trunk/sources/HeuristicLab.Problems.QuadraticAssignment/3.3/QuadraticAssignmentProblem.cs
- Timestamp:
- 04/04/11 21:22:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.QuadraticAssignment/3.3/QuadraticAssignmentProblem.cs
r5933 r5947 333 333 .GetManifestResourceStream(InstancePrefix + instance + ".sln")) { 334 334 QAPLIBSolutionParser solParser = new QAPLIBSolutionParser(); 335 solParser.Parse(solStream, false); // most sln's seem to be of the type index = location => value = facility335 solParser.Parse(solStream, true); // most sln's seem to be of the type index = facility => value = location 336 336 if (solParser.Error != null) throw solParser.Error; 337 337 if (!solParser.Quality.IsAlmost(QAPEvaluator.Apply(new Permutation(PermutationTypes.Absolute, solParser.Assignment), Weights, Distances))) {
Note: See TracChangeset
for help on using the changeset viewer.