Changeset 16288 for branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Problems
- Timestamp:
- 11/08/18 17:10:53 (6 years ago)
- Location:
- branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Problems
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Problems/ILinearProgrammingProblemDefinition.cs
r16233 r16288 1 1 #region License Information 2 3 2 /* HeuristicLab 4 3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) … … 19 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 20 19 */ 21 22 #endregion License Information 20 #endregion 23 21 24 22 using Google.OrTools.LinearSolver; -
branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Problems/LinearProgrammingProblem.cs
r16233 r16288 1 1 #region License Information 2 3 2 /* HeuristicLab 4 3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) … … 19 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 20 19 */ 21 22 #endregion License Information 20 #endregion 23 21 24 22 using System.Drawing; … … 44 42 } 45 43 46 pr ivateLinearProgrammingProblem(LinearProgrammingProblem original, Cloner cloner)44 protected LinearProgrammingProblem(LinearProgrammingProblem original, Cloner cloner) 47 45 : base(original, cloner) { 48 46 RegisterEvents(); … … 50 48 51 49 [StorableConstructor] 52 pr ivateLinearProgrammingProblem(bool deserializing) : base(deserializing) { }50 protected LinearProgrammingProblem(bool deserializing) : base(deserializing) { } 53 51 54 52 public new static Image StaticItemImage => VSImageLibrary.Script; -
branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Problems/LinearProgrammingProblemDefinitionScript.cs
r16233 r16288 1 1 #region License Information 2 3 2 /* HeuristicLab 4 3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) … … 19 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 20 19 */ 21 22 #endregion License Information 20 #endregion 23 21 24 22 using System; … … 38 36 [StorableClass] 39 37 public sealed class LinearProgrammingProblemDefinitionScript : Script, ILinearProgrammingProblemDefinition, IStorableContent { 40 pr otectedbool SuppressEvents { get; set; }38 private bool SuppressEvents { get; set; } 41 39 42 40 [Storable] 43 private VariableStore variableStore;41 private readonly VariableStore variableStore; 44 42 45 43 public VariableStore VariableStore => variableStore; … … 49 47 50 48 [StorableConstructor] 51 pr otectedLinearProgrammingProblemDefinitionScript(bool deserializing) : base(deserializing) { }49 private LinearProgrammingProblemDefinitionScript(bool deserializing) : base(deserializing) { } 52 50 53 pr otectedLinearProgrammingProblemDefinitionScript(LinearProgrammingProblemDefinitionScript original, Cloner cloner)51 private LinearProgrammingProblemDefinitionScript(LinearProgrammingProblemDefinitionScript original, Cloner cloner) 54 52 : base(original, cloner) { 55 53 variableStore = cloner.Clone(original.variableStore); … … 65 63 private volatile ILinearProgrammingProblemDefinition compiledProblemDefinition; 66 64 67 pr otectedILinearProgrammingProblemDefinition CompiledProblemDefinition {65 private ILinearProgrammingProblemDefinition CompiledProblemDefinition { 68 66 get { 69 67 // double checked locking pattern -
branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Problems/LinearProgrammingProblemDefintion.cs
r16233 r16288 1 using Google.OrTools.LinearSolver; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using Google.OrTools.LinearSolver; 2 23 using HeuristicLab.Problems.Programmable; 3 24 -
branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Problems/ProblemDefinitionScriptException.cs
r16233 r16288 1 1 #region License Information 2 3 2 /* HeuristicLab 4 3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) … … 19 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 20 19 */ 21 22 #endregion License Information 20 #endregion 23 21 24 22 using System;
Note: See TracChangeset
for help on using the changeset viewer.