Free cookie consent management tool by TermsFeed Policy Generator

source: branches/SimulationCore/HeuristicLab.Optimization.Operators/3.3/HeuristicLab.Optimization.Operators-3.3.csproj @ 6868

Last change on this file since 6868 was 6042, checked in by abeham, 14 years ago

#1425

  • Changed LocalImprovementOperators
    • Changed interface (made Problem a property, added a property that denotes the type of the problem that it can be applied on, added some general parameters)
    • Added some parameters and wiring
    • Changed move discovery and parameterization and added a helper class to ease finding compatible move operators
    • Discovering only IMultiMoveOperators and IExhaustiveMoveOperators and putting the multi move ones first
    • Fixed bug in Apply method that could create an endless string of nested execution contexts
    • Removed all problem specific analyzers in the two local improvement operators and only left the BestAverageWorstQualityAnalyzer since it doesn't make any sense to perform diversity or allele analysis during local improvement in the most common case and those analyzers take a lot of time (one can always add them manually should he/she be interested). The analyzers in the VNS's Analyzer parameter are left untouched.
  • Removed shaking operator and interface from VNS plugin and added that to Optimization and Optimization.Operators
  • Changed some ValueParameters to ConstrainedValueParameters and added type discovery to fill them (using the ProblemType property to get compatible local improvement operators)
  • Added missing GPL license headers
  • Changed some ValueParameters to the new FixedValueParameters
  • Added an additional encoding specific ShakingOperator to each encoding and added that to each problem
    • reason is that only the problem/encoding can really decide if a shaking operator is meaningful or not
  • Fixed an unrelated bug in the BestAverageWorstQualityAnalyzer that I encountered (and made the fix backwards compatible)
    • Also added a snippet for creating the backwards compatible comment marker and region
  • Fixed the operator graph of the VNS main loop
    • The condition to continue only when the local search was not successful is not necessary and is not part of the VNS definition as far as I know it (only condition to break the inner loop is when k reaches k_max)
  • Changed the ShakingOperator to input current index and output the maximum number of neighborhoods instead of a boolean that indicates that the last index has been reached since the maximum number is a little more generally useful and equally powerful in modeling
    • Remodeled the VNS main loop to check for k < k_max in order to continue the inner loop
  • other changes that I forgot...

Still necessary

  • test, test, test
  • check for backwards compatible breakers
  • add a maximum evaluated solutions stop criterion
  • optionally: implement fast problem specific local search improvement operators that do not build on the whole generic overhead (e.g. a 2-opt TSP specific local search operator). The idea of VNS is really to converge to a local optimum which is difficult to achieve using the current rather limited termination options
File size: 10.3 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
3  <PropertyGroup>
4    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6    <ProductVersion>9.0.30729</ProductVersion>
7    <SchemaVersion>2.0</SchemaVersion>
8    <ProjectGuid>{25087811-F74C-4128-BC86-8324271DA13E}</ProjectGuid>
9    <OutputType>Library</OutputType>
10    <AppDesignerFolder>Properties</AppDesignerFolder>
11    <RootNamespace>HeuristicLab.Optimization.Operators</RootNamespace>
12    <AssemblyName>HeuristicLab.Optimization.Operators-3.3</AssemblyName>
13    <SignAssembly>true</SignAssembly>
14    <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
15    <FileUpgradeFlags>
16    </FileUpgradeFlags>
17    <OldToolsVersion>3.5</OldToolsVersion>
18    <UpgradeBackupLocation>
19    </UpgradeBackupLocation>
20    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
21    <TargetFrameworkProfile>
22    </TargetFrameworkProfile>
23    <PublishUrl>publish\</PublishUrl>
24    <Install>true</Install>
25    <InstallFrom>Disk</InstallFrom>
26    <UpdateEnabled>false</UpdateEnabled>
27    <UpdateMode>Foreground</UpdateMode>
28    <UpdateInterval>7</UpdateInterval>
29    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
30    <UpdatePeriodically>false</UpdatePeriodically>
31    <UpdateRequired>false</UpdateRequired>
32    <MapFileExtensions>true</MapFileExtensions>
33    <ApplicationRevision>0</ApplicationRevision>
34    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
35    <IsWebBootstrapper>false</IsWebBootstrapper>
36    <UseApplicationTrust>false</UseApplicationTrust>
37    <BootstrapperEnabled>true</BootstrapperEnabled>
38  </PropertyGroup>
39  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
40    <DebugSymbols>true</DebugSymbols>
41    <DebugType>full</DebugType>
42    <Optimize>false</Optimize>
43    <OutputPath>bin\Debug\</OutputPath>
44    <DefineConstants>DEBUG;TRACE</DefineConstants>
45    <ErrorReport>prompt</ErrorReport>
46    <WarningLevel>4</WarningLevel>
47    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
48  </PropertyGroup>
49  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
50    <DebugType>pdbonly</DebugType>
51    <Optimize>true</Optimize>
52    <OutputPath>bin\Release\</OutputPath>
53    <DefineConstants>TRACE</DefineConstants>
54    <ErrorReport>prompt</ErrorReport>
55    <WarningLevel>4</WarningLevel>
56    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
57    <DocumentationFile>bin\Release\HeuristicLab.Optimization.Operators-3.3.xml</DocumentationFile>
58    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
59  </PropertyGroup>
60  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
61    <DebugSymbols>true</DebugSymbols>
62    <OutputPath>bin\x86\Debug\</OutputPath>
63    <DefineConstants>DEBUG;TRACE</DefineConstants>
64    <DebugType>full</DebugType>
65    <PlatformTarget>x86</PlatformTarget>
66    <ErrorReport>prompt</ErrorReport>
67    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
68  </PropertyGroup>
69  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
70    <OutputPath>bin\x86\Release\</OutputPath>
71    <DefineConstants>TRACE</DefineConstants>
72    <DocumentationFile>bin\x86\Release\HeuristicLab.Optimization.Operators-3.3.xml</DocumentationFile>
73    <Optimize>true</Optimize>
74    <DebugType>pdbonly</DebugType>
75    <PlatformTarget>x86</PlatformTarget>
76    <ErrorReport>prompt</ErrorReport>
77    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
78  </PropertyGroup>
79  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
80    <DebugSymbols>true</DebugSymbols>
81    <OutputPath>bin\x64\Debug\</OutputPath>
82    <DefineConstants>DEBUG;TRACE</DefineConstants>
83    <DebugType>full</DebugType>
84    <PlatformTarget>x64</PlatformTarget>
85    <ErrorReport>prompt</ErrorReport>
86    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
87  </PropertyGroup>
88  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
89    <OutputPath>bin\x64\Release\</OutputPath>
90    <DefineConstants>TRACE</DefineConstants>
91    <DocumentationFile>bin\x64\Release\HeuristicLab.Optimization.Operators-3.3.xml</DocumentationFile>
92    <Optimize>true</Optimize>
93    <DebugType>pdbonly</DebugType>
94    <PlatformTarget>x64</PlatformTarget>
95    <ErrorReport>prompt</ErrorReport>
96    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
97  </PropertyGroup>
98  <ItemGroup>
99    <Reference Include="System" />
100    <Reference Include="System.Core">
101      <RequiredTargetFramework>3.5</RequiredTargetFramework>
102    </Reference>
103    <Reference Include="System.Data" />
104    <Reference Include="System.Xml" />
105  </ItemGroup>
106  <ItemGroup>
107    <Compile Include="MultiObjective\CrowdedComparisonSorter.cs" />
108    <Compile Include="MultiObjective\CrowdingDistanceAssignment.cs" />
109    <Compile Include="ParentCopyCrossover.cs" />
110    <Compile Include="MultiObjective\FastNonDominatedSort.cs" />
111    <Compile Include="MultiObjective\RankAndCrowdingSorter.cs" />
112    <Compile Include="ShakingOperator.cs" />
113    <Compile Include="UserDefinedCrossover.cs" />
114    <Compile Include="UserDefinedEvaluator.cs" />
115    <Compile Include="UserDefinedManipulator.cs" />
116    <Compile Include="UserDefinedOperator.cs" />
117    <Compile Include="UserDefinedSolutionCreator.cs" />
118    <Compile Include="ProbabilisticQualityComparator.cs" />
119    <Compile Include="ResultsCollector.cs" />
120    <Compile Include="SASEGASAReunificator.cs" />
121    <Compile Include="SquareRootDiscreteDoubleValueModifier.cs" />
122    <Compile Include="DiscreteDoubleValueModifier.cs" />
123    <Compile Include="ExponentialDiscreteDoubleValueModifier.cs" />
124    <Compile Include="HeuristicLabOptimizationOperatorsPlugin.cs" />
125    <Compile Include="LinearDiscreteDoubleValueModifier.cs" />
126    <Compile Include="Properties\AssemblyInfo.cs" />
127    <Compile Include="ChildrenCreator.cs" />
128    <Compile Include="QuadraticDiscreteDoubleValueModifier.cs" />
129    <Compile Include="QualityComparator.cs" />
130    <Compile Include="SolutionsCreator.cs" />
131    <Compile Include="TabuMaker.cs" />
132    <Compile Include="UnidirectionalRingMigrator.cs" />
133    <Compile Include="WeightedParentsQualityComparator.cs" />
134  </ItemGroup>
135  <ItemGroup>
136    <None Include="HeuristicLab.snk" />
137    <None Include="HeuristicLabOptimizationOperatorsPlugin.cs.frame" />
138    <None Include="Properties\AssemblyInfo.frame" />
139  </ItemGroup>
140  <ItemGroup>
141    <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
142      <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
143      <Name>HeuristicLab.Collections-3.3</Name>
144    </ProjectReference>
145    <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
146      <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
147      <Name>HeuristicLab.Common-3.3</Name>
148    </ProjectReference>
149    <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
150      <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
151      <Name>HeuristicLab.Core-3.3</Name>
152    </ProjectReference>
153    <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">
154      <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>
155      <Name>HeuristicLab.Data-3.3</Name>
156    </ProjectReference>
157    <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj">
158      <Project>{23DA7FF4-D5B8-41B6-AA96-F0561D24F3EE}</Project>
159      <Name>HeuristicLab.Operators-3.3</Name>
160    </ProjectReference>
161    <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
162      <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>
163      <Name>HeuristicLab.Optimization-3.3</Name>
164    </ProjectReference>
165    <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">
166      <Project>{56F9106A-079F-4C61-92F6-86A84C2D84B7}</Project>
167      <Name>HeuristicLab.Parameters-3.3</Name>
168    </ProjectReference>
169    <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
170      <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
171      <Name>HeuristicLab.Persistence-3.3</Name>
172    </ProjectReference>
173    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
174      <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
175      <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
176    </ProjectReference>
177    <ProjectReference Include="..\..\HeuristicLab.Selection\3.3\HeuristicLab.Selection-3.3.csproj">
178      <Project>{2C36CD4F-E5F5-43A4-801A-201EA895FE17}</Project>
179      <Name>HeuristicLab.Selection-3.3</Name>
180    </ProjectReference>
181  </ItemGroup>
182  <ItemGroup>
183    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
184      <Visible>False</Visible>
185      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
186      <Install>false</Install>
187    </BootstrapperPackage>
188    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
189      <Visible>False</Visible>
190      <ProductName>.NET Framework 3.5 SP1</ProductName>
191      <Install>true</Install>
192    </BootstrapperPackage>
193    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
194      <Visible>False</Visible>
195      <ProductName>Windows Installer 3.1</ProductName>
196      <Install>true</Install>
197    </BootstrapperPackage>
198  </ItemGroup>
199  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
200  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
201       Other similar extension points exist, see Microsoft.Common.targets.
202  <Target Name="BeforeBuild">
203  </Target>
204  <Target Name="AfterBuild">
205  </Target>
206  -->
207  <PropertyGroup>
208    <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
209set ProjectDir=$(ProjectDir)
210set SolutionDir=$(SolutionDir)
211set Outdir=$(Outdir)
212
213call PreBuildEvent.cmd
214SubWCRev "%25ProjectDir%25\" "%25ProjectDir%25\HeuristicLabOptimizationOperatorsPlugin.cs.frame" "%25ProjectDir%25\HeuristicLabOptimizationOperatorsPlugin.cs"</PreBuildEvent>
215  </PropertyGroup>
216</Project>
Note: See TracBrowser for help on using the repository browser.