Changeset 16233 for branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Templates
- Timestamp:
- 10/17/18 17:51:26 (6 years ago)
- Location:
- branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Templates
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Templates/CompiledLinearProgrammingProblemDefinition.cs
r16172 r16233 6 6 7 7 namespace HeuristicLab.MathematicalOptimization.LinearProgramming { 8 8 9 public class CompiledLinearProgrammingProblemDefinition : CompiledProblemDefinition, ILinearProgrammingProblemDefinition { 9 10 10 private Variable x; 11 11 private Variable y; … … 18 18 public void BuildModel(Solver solver) { 19 19 // Use vars.yourVariable to access variables in the variable store i.e. yourVariable 20 // Example model taken from https://developers.google.com/optimization/mip/integer_opt 20 // Example model taken from https://developers.google.com/optimization/mip/integer_opt 21 21 // Define the decision variables 22 22 x = solver.MakeIntVar(0, 3.5, "x"); -
branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Templates/ScriptTemplates.Designer.cs
r16172 r16233 9 9 //------------------------------------------------------------------------------ 10 10 11 using System.CodeDom.Compiler;12 using System.ComponentModel;13 using System.Diagnostics;14 using System.Diagnostics.CodeAnalysis;15 using System.Globalization;16 using System.Resources;17 using System.Runtime.CompilerServices;18 19 11 namespace HeuristicLab.MathematicalOptimization.LinearProgramming { 20 12 /// <summary> … … 25 17 // To add or remove a member, edit your .ResX file then rerun ResGen 26 18 // with the /str option, or rebuild your VS project. 27 [ GeneratedCode("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]28 [ DebuggerNonUserCode()]29 [ CompilerGenerated()]19 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] 20 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 21 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 30 22 internal class ScriptTemplates { 31 23 32 private static ResourceManager resourceMan;24 private static global::System.Resources.ResourceManager resourceMan; 33 25 34 private static CultureInfo resourceCulture;26 private static global::System.Globalization.CultureInfo resourceCulture; 35 27 36 [ SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]28 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 37 29 internal ScriptTemplates() { 38 30 } … … 41 33 /// Returns the cached ResourceManager instance used by this class. 42 34 /// </summary> 43 [ EditorBrowsable(EditorBrowsableState.Advanced)]44 internal static ResourceManager ResourceManager {35 [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 36 internal static global::System.Resources.ResourceManager ResourceManager { 45 37 get { 46 if ( ReferenceEquals(resourceMan, null)) {47 ResourceManager temp = newResourceManager("HeuristicLab.MathematicalOptimization.LinearProgramming.Templates.ScriptTemplates" +38 if (object.ReferenceEquals(resourceMan, null)) { 39 global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("HeuristicLab.MathematicalOptimization.LinearProgramming.Templates.ScriptTemplates" + 48 40 "", typeof(ScriptTemplates).Assembly); 49 41 resourceMan = temp; … … 57 49 /// resource lookups using this strongly typed resource class. 58 50 /// </summary> 59 [ EditorBrowsable(EditorBrowsableState.Advanced)]60 internal static CultureInfo Culture {51 [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 52 internal static global::System.Globalization.CultureInfo Culture { 61 53 get { 62 54 return resourceCulture; … … 68 60 69 61 /// <summary> 70 /// Looks up a localized string similar to using System; 71 ///using System.Linq; 72 ///using System.Collections.Generic; 73 ///using HeuristicLab.Common; 74 ///using HeuristicLab.Core; 62 /// Looks up a localized string similar to using Google.OrTools.LinearSolver; 75 63 ///using HeuristicLab.Data; 76 ///using HeuristicLab.Encodings.BinaryVectorEncoding; 77 ///using HeuristicLab.Encodings.IntegerVectorEncoding; 78 ///using HeuristicLab.Encodings.RealVectorEncoding; 79 ///using HeuristicLab.Encodings.PermutationEncoding; 80 ///using HeuristicLab.Encodings.LinearLinkageEncoding; 81 ///using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 64 ///using HeuristicLab.MathematicalOptimization.LinearProgramming.Problems; 82 65 ///using HeuristicLab.Optimization; 83 ///using H [rest of string was truncated]";. 66 ///using HeuristicLab.Problems.Programmable; 67 /// 68 ///namespace HeuristicLab.MathematicalOptimization.LinearProgramming { 69 /// public class CompiledLinearProgrammingProblemDefinition : CompiledProblemDefinition, ILinearProgrammingProblemDefinition { 70 /// 71 /// private Variable x; 72 /// private Variable y; 73 /// 74 /// public override void Initialize() { 75 /// // [rest of string was truncated]";. 84 76 /// </summary> 85 77 internal static string CompiledLinearProgrammingProblemDefinition { -
branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Templates/ScriptTemplates.resx
r16172 r16233 60 60 : and then encoded with base64 encoding. 61 61 --> 62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/ XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">63 <xsd:import namespace="http://www.w3.org/ XML/1998/namespace" />62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/QualityUpdateIntervalMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> 63 <xsd:import namespace="http://www.w3.org/QualityUpdateIntervalML/1998/namespace" /> 64 64 <xsd:element name="root" msdata:IsDataSet="true"> 65 65 <xsd:complexType>
Note: See TracChangeset
for help on using the changeset viewer.