Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/12/18 14:23:45 (5 years ago)
Author:
ddorfmei
Message:

#2931:

  • upgraded Google OR-Tools to version 6.10
  • added TextValue and TextValueView to be able to display and edit a multiline string
  • added parameter to set solver specific parameters for supported solvers
  • added support for the Protocol Buffers representation of models (import/export)
  • added import of MPS models
  • added pause/stop functionality to CplexSolver and GlpkSolver
  • refactored wrapper (LinearSolver and related enums)
  • added new algorithm category Exact for LinearProgrammingAlgorithm
Location:
branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Problems
Files:
3 edited

Legend:

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

    r16288 r16373  
    2727  public interface ILinearProgrammingProblemDefinition {
    2828
    29     void BuildModel(Solver solver);
     29    bool BuildModel(Solver solver);
    3030
    3131    void Analyze(Solver solver, ResultCollection results);
  • branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Problems/LinearProgrammingProblem.cs

    r16288 r16373  
    2121
    2222using System.Drawing;
    23 using Google.OrTools.LinearSolver;
    2423using HeuristicLab.Common;
    2524using HeuristicLab.Common.Resources;
     
    3130namespace HeuristicLab.MathematicalOptimization.LinearProgramming.Problems {
    3231
    33   [Item("Linear/Mixed Integer Programming Problem (LP/MIP)", "")]
     32  [Item("Linear/Mixed Integer Programming Problem (LP/MIP)", "Represents a linear/mixed integer problem.")]
    3433  [Creatable(CreatableAttribute.Categories.CombinatorialProblems)]
    3534  [StorableClass]
     
    5655    private FixedValueParameter<LinearProgrammingProblemDefinitionScript> LinearProgrammingProblemScriptParameter =>
    5756      (FixedValueParameter<LinearProgrammingProblemDefinitionScript>)Parameters["ProblemScript"];
    58 
    59     public void BuildModel(Solver solver) => ProblemDefinition.BuildModel(solver);
    6057
    6158    public override IDeepCloneable Clone(Cloner cloner) {
  • branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Problems/LinearProgrammingProblemDefinitionScript.cs

    r16288 r16373  
    3333namespace HeuristicLab.MathematicalOptimization.LinearProgramming.Problems {
    3434
    35   [Item("Single-objective Problem Definition Script", "Script that defines the parameter vector and evaluates the solution for a programmable problem.")]
     35  [Item("Linear/Mixed Integer Programming Problem Definition Script", "Script that defines the model and evaluates the solution for a linear/mixed integer programming problem.")]
    3636  [StorableClass]
    3737  public sealed class LinearProgrammingProblemDefinitionScript : Script, ILinearProgrammingProblemDefinition, IStorableContent {
     
    144144    }
    145145
    146     public void BuildModel(Solver solver) => CompiledProblemDefinition.BuildModel(solver);
     146    public bool BuildModel(Solver solver) => CompiledProblemDefinition.BuildModel(solver);
    147147
    148148    public void Analyze(Solver solver, ResultCollection results) => CompiledProblemDefinition.Analyze(solver, results);
Note: See TracChangeset for help on using the changeset viewer.