Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/17/10 13:42:53 (14 years ago)
Author:
svonolfe
Message:

Implemented unified tabu search (WIP) (#1177)

Location:
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPProblemInstance.cs

    r4860 r5127  
    7676    public CVRPProblemInstance() {
    7777      Parameters.Add(new ValueParameter<DoubleValue>("Capacity", "The capacity of each vehicle.", new DoubleValue(0)));
    78       Parameters.Add(new ValueParameter<DoubleValue>("EvalOverloadPenalty", "The overload penalty considered in the evaluation.", new DoubleValue(100)));
     78      Parameters.Add(new ValueParameter<DoubleValue>("EvalOverloadPenalty", "The overload penalty considered in the evaluation.", new DoubleValue(1)));
    7979
    8080      AttachEventHandlers();
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPTWProblemInstance.cs

    r4860 r5127  
    102102
    103103      Parameters.Add(new ValueParameter<DoubleValue>("EvalTimeFactor", "The time factor considered in the evaluation.", new DoubleValue(0)));
    104       Parameters.Add(new ValueParameter<DoubleValue>("EvalTardinessPenalty", "The tardiness penalty considered in the evaluation.", new DoubleValue(100)));
     104      Parameters.Add(new ValueParameter<DoubleValue>("EvalTardinessPenalty", "The tardiness penalty considered in the evaluation.", new DoubleValue(1)));
    105105
    106106      AttachEventHandlers();
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/VRPEvaluator.cs

    r4752 r5127  
    5555      get { return (ILookupParameter<DoubleValue>)Parameters["VehiclesUtilized"]; }
    5656    }
     57
     58    public ILookupParameter<DoubleValue> PenaltyParameter {
     59      get { return (ILookupParameter<DoubleValue>)Parameters["Penalty"]; }
     60    }
    5761   
    5862    [StorableConstructor]
     
    6569      Parameters.Add(new LookupParameter<DoubleValue>("Distance", "The distance."));
    6670      Parameters.Add(new LookupParameter<DoubleValue>("VehiclesUtilized", "The number of vehicles utilized."));
     71
     72      Parameters.Add(new LookupParameter<DoubleValue>("Penalty", "The applied penalty."));
    6773    }
    6874
     
    8187      VehcilesUtilizedParameter.ActualValue = new DoubleValue(0);
    8288      DistanceParameter.ActualValue = new DoubleValue(0);
     89      PenaltyParameter.ActualValue = new DoubleValue(0);
    8390    }
    8491
     
    8794      VehcilesUtilizedParameter.ActualValue.Value = tourEvaluation.VehicleUtilization;
    8895      DistanceParameter.ActualValue.Value = tourEvaluation.Distance;
     96      PenaltyParameter.ActualValue.Value = tourEvaluation.Penalty;
    8997    }
    9098
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/VRPProblemInstance.cs

    r4895 r5127  
    221221      Parameters.Add(new ValueParameter<DoubleArray>("Demand", "The demand of each customer.", new DoubleArray()));
    222222
    223       Parameters.Add(new ValueParameter<DoubleValue>("EvalFleetUsageFactor", "The fleet usage factor considered in the evaluation.", new DoubleValue(100)));
     223      Parameters.Add(new ValueParameter<DoubleValue>("EvalFleetUsageFactor", "The fleet usage factor considered in the evaluation.", new DoubleValue(0)));
    224224      Parameters.Add(new ValueParameter<DoubleValue>("EvalDistanceFactor", "The distance factor considered in the evaluation.", new DoubleValue(1)));
    225225
Note: See TracChangeset for help on using the changeset viewer.