Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/31/19 14:40:15 (5 years ago)
Author:
abeham
Message:

#1614: updated to new persistence and .NET 4.6.1

Location:
branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/CPLEX
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/CPLEX/CplexContext.cs

    r15616 r16728  
    2020#endregion
    2121
     22using HEAL.Attic;
    2223using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2525
    2626namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.CPLEX {
    2727  [Item("CPLEX Context", "A context for CPLEX solvers.")]
    28   [StorableClass]
     28  [StorableType("9A91A380-A6C3-4294-80D7-163AA13D600B")]
    2929  public class CplexContext : SingleSolutionContext<ISingleObjectiveSolutionScope<GQAPSolution>> {
    3030   
    3131    [StorableConstructor]
    32     protected CplexContext(bool deserializing) : base(deserializing) { }
     32    protected CplexContext(StorableConstructorFlag _) : base(_) { }
    3333    protected CplexContext(CplexContext original, Cloner cloner)
    3434      : base(original, cloner) {
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/CPLEX/CplexSolver.cs

    r15718 r16728  
    2222using System;
    2323using System.Threading;
     24using HEAL.Attic;
    2425using HeuristicLab.Common;
    2526using HeuristicLab.Core;
     
    2728using HeuristicLab.Encodings.IntegerVectorEncoding;
    2829using HeuristicLab.Optimization;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3030using ILOG.CPLEX;
    3131using ILOG.OPL;
     
    3333namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.CPLEX {
    3434  [Item("CPLEX Solver (GQAP)", "Base class")]
    35   [StorableClass]
     35  [StorableType("09AC71C5-20C7-4AC0-9E5A-405BA5075552")]
    3636  public abstract class CplexSolver : ContextAlgorithm<CplexContext, IntegerVectorEncoding> {
    3737    public override bool SupportsPause {
     
    4949
    5050    [StorableConstructor]
    51     protected CplexSolver(bool deserializing) : base(deserializing) { }
     51    protected CplexSolver(StorableConstructorFlag _) : base(_) { }
    5252    protected CplexSolver(CplexSolver original, Cloner cloner)
    5353    : base(original, cloner) {
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/CPLEX/GQAP-FY.cs

    r15604 r16728  
    2020#endregion
    2121
     22using HEAL.Attic;
    2223using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2525using ILOG.CPLEX;
    2626using ILOG.OPL;
     
    2828namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.CPLEX {
    2929  [Item("FY-Linearization CPLEX (GQAP)", "")]
    30   [StorableClass]
     30  [StorableType("C10D185E-B007-4C9F-9EFC-6EE1D44A3DE1")]
    3131  [Creatable(CreatableAttribute.Categories.Algorithms)]
    3232  public sealed class GQAP_FY : CplexSolver {
    3333   
    3434    [StorableConstructor]
    35     private GQAP_FY(bool deserializing) : base(deserializing) { }
     35    private GQAP_FY(StorableConstructorFlag _) : base(_) { }
    3636    private GQAP_FY(GQAP_FY original, Cloner cloner)
    3737    : base(original, cloner) {
  • branches/1614_GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/CPLEX/GQAP-KB.cs

    r15575 r16728  
    2020#endregion
    2121
     22using HEAL.Attic;
    2223using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2525using ILOG.CPLEX;
    2626using ILOG.OPL;
     
    2828namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms.CPLEX {
    2929  [Item("KB-Linearization CPLEX (GQAP)", "")]
    30   [StorableClass]
     30  [StorableType("649D3DB6-3E54-46E7-BB12-5F26417D6E40")]
    3131  [Creatable(CreatableAttribute.Categories.Algorithms)]
    3232  public sealed class GQAP_KB : CplexSolver {
    3333   
    3434    [StorableConstructor]
    35     private GQAP_KB(bool deserializing) : base(deserializing) { }
     35    private GQAP_KB(StorableConstructorFlag _) : base(_) { }
    3636    private GQAP_KB(GQAP_KB original, Cloner cloner)
    3737    : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.