Changeset 17545 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs
- Timestamp:
- 05/19/20 09:59:57 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs
r17544 r17545 91 91 Parameters.Add(new OptionalValueParameter<BinaryVector>("BestKnownSolution", "The best known solution of this Knapsack instance.")); 92 92 93 Dimension = Weights.Length;93 DimensionRefParameter.ForceValue(new IntValue(Weights.Length, @readonly: true)); 94 94 InitializeRandomKnapsackInstance(); 95 95
Note: See TracChangeset
for help on using the changeset viewer.