Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/16/15 09:41:09 (9 years ago)
Author:
mkommend
Message:

#2174: Corrected maximization in programmable problem base classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/SingleObjectiveProgrammableProblem.cs

    r11753 r11780  
    4444    protected SingleObjectiveProgrammableProblem()
    4545      : base() {
    46       Parameters.Add(new FixedValueParameter<BoolValue>("Maximization", "Set to false if the problem should be minimized.", new BoolValue()));
     46      Parameters.Add(new FixedValueParameter<BoolValue>("Maximization", "Set to false if the problem should be minimized.", new BoolValue(Maximization)));
    4747      Parameters.Add(new OptionalValueParameter<DoubleValue>("BestKnownQuality", "The quality of the best known solution of this problem."));
    4848
Note: See TracChangeset for help on using the changeset viewer.