Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/11/12 09:16:27 (13 years ago)
Author:
abeham
Message:

#1614

  • updated GQAP
Location:
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3

    • Property svn:ignore
      •  

        old new  
        11Plugin.cs
        22obj
         3bin
  • branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Evaluators/GQAPEvaluator.cs

    r6956 r7311  
    2020#endregion
    2121
     22using System;
    2223using System.Linq;
    2324using HeuristicLab.Common;
     
    9899      double infeasibility = 0;
    99100
     101      if (weights.Rows != weights.Columns || distances.Rows != distances.Columns
     102        || weights.Rows != installCosts.Rows || distances.Rows != installCosts.Columns
     103        || demands.Length != weights.Rows || capacities.Length != distances.Rows)
     104        throw new InvalidOperationException("ERROR: The problem configuration is not valid! Check the sizes of the weights (NxN), distances (MxM) and installation costs (NxM) matrices as well as the length of the demand (N) and capacities (M) vectors.");
     105
    100106      int len = assignment.Length;
    101107      for (int i = 0; i < len; i++) {
Note: See TracChangeset for help on using the changeset viewer.