Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/29/19 17:45:06 (5 years ago)
Author:
ddorfmei
Message:

#2931: solved the issues found during the review

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Problems/CompiledProblemDefinition.cs

    r16405 r16582  
    2020#endregion
    2121
    22 namespace HeuristicLab.MathematicalOptimization.LinearProgramming {
     22using HeuristicLab.Common;
     23using HeuristicLab.Core;
    2324
    24   public abstract class CompiledProblemDefinition {
     25namespace HeuristicLab.ExactOptimization.LinearProgramming {
     26
     27  public class CompiledProblemDefinition : Item {
     28
     29    public CompiledProblemDefinition() {
     30    }
     31
     32    protected CompiledProblemDefinition(CompiledProblemDefinition original, Cloner cloner) : base(original, cloner) {
     33    }
     34
    2535    public dynamic vars { get; set; }
    2636
    27     public abstract void Initialize();
     37    public override IDeepCloneable Clone(Cloner cloner) =>
     38      new CompiledProblemDefinition(this, cloner);
     39
     40    public virtual void Initialize() {
     41    }
    2842  }
    2943}
Note: See TracChangeset for help on using the changeset viewer.