Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/21/18 09:50:12 (6 years ago)
Author:
ddorfmei
Message:

#2931:

  • created LinearProgrammingAlgorithm
    • created definitions for all LP/MIP solvers supported by OR-Tools
  • created LinearProgrammingProblem
    • created classes required for scripting: LinearProgrammingProblemDefinition, LinearProgrammingProblemDefinitionScript, CompiledLinearProgrammingProblemDefinition
    • created views: LinearProgrammingProblemView, LinearProgrammingProblemDefinitionScriptView
  • updated OR-Tools version in ExtLibs to 6.9
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2931_OR-Tools_LP_MIP/HeuristicLab.Problems.Programmable/3.3/ProblemDefinitionScript.cs

    r15583 r16172  
    11#region License Information
     2
    23/* HeuristicLab
    34 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     
    1819 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
    1920 */
    20 #endregion
     21
     22#endregion License Information
    2123
    2224using System;
     
    3032
    3133namespace HeuristicLab.Problems.Programmable {
     34
    3235  [Item("ProblemDefinitionScript", "Script that defines the parameter vector and evaluates the solution for a programmable problem.")]
    3336  [StorableClass]
     
    3740    [Storable]
    3841    private VariableStore variableStore;
     42
    3943    public VariableStore VariableStore {
    4044      get { return variableStore; }
     
    4650    [StorableConstructor]
    4751    protected ProblemDefinitionScript(bool deserializing) : base(deserializing) { }
     52
    4853    protected ProblemDefinitionScript(ProblemDefinitionScript original, Cloner cloner)
    4954      : base(original, cloner) {
     
    5156      codeChanged = original.codeChanged;
    5257    }
     58
    5359    protected ProblemDefinitionScript()
    5460      : base() {
    5561      variableStore = new VariableStore();
    5662    }
     63
    5764    protected ProblemDefinitionScript(string code)
    5865      : base(code) {
     
    6673    private readonly object compileLock = new object();
    6774    private volatile IProblemDefinition compiledProblemDefinition;
     75
    6876    protected IProblemDefinition CompiledProblemDefinition {
    6977      get {
     
    8088      }
    8189    }
     90
    8291    public dynamic Instance {
    8392      get { return compiledProblemDefinition; }
     
    131140
    132141    public event EventHandler ProblemDefinitionChanged;
     142
    133143    protected virtual void OnProblemDefinitionChanged() {
    134144      var handler = ProblemDefinitionChanged;
Note: See TracChangeset for help on using the changeset viewer.