Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/15/15 15:16:24 (8 years ago)
Author:
mkommend
Message:

#2521: Refactored problem base classes and adapted scheduling encoding, scheduling problem and unit tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ProblemRefactoring/HeuristicLab.Tests/HeuristicLab.Problems.QuadraticAssignment-3.3/QAPLIBInstancesTest.cs

    r13408 r13469  
    202202        try {
    203203          qap.Load(provider.LoadData(instance));
    204         } catch (Exception ex) {
     204        }
     205        catch (Exception ex) {
    205206          failedInstances.AppendLine(instance + ": " + ex.Message);
    206207        }
     
    223224        qap.Load(provider.LoadData(instance));
    224225        if (qaplibInstances.ContainsKey(instance.Name)
    225           && qap.BestKnownQuality != null && qap.BestKnownQuality != qaplibInstances[instance.Name])
     226          && qap.BestKnownQuality != qaplibInstances[instance.Name])
    226227          failedInstances.AppendLine(instance.Name + ": " + qap.BestKnownQuality.ToString() + " vs " + qaplibInstances[instance.Name]);
    227228      }
Note: See TracChangeset for help on using the changeset viewer.