Free cookie consent management tool by TermsFeed Policy Generator

source: branches/PersistenceSpeedUp/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/HeuristicLab.Encodings.BinaryVectorEncoding-3.3.csproj @ 10391

Last change on this file since 10391 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.9 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
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>{66D249C3-A01D-42A8-82A2-919BC8EC3D83}</ProjectGuid>
9    <OutputType>Library</OutputType>
10    <AppDesignerFolder>Properties</AppDesignerFolder>
11    <RootNamespace>HeuristicLab.Encodings.BinaryVectorEncoding</RootNamespace>
12    <AssemblyName>HeuristicLab.Encodings.BinaryVectorEncoding-3.3</AssemblyName>
13    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
14    <TargetFrameworkProfile>
15    </TargetFrameworkProfile>
16    <FileAlignment>512</FileAlignment>
17    <SignAssembly>true</SignAssembly>
18    <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile>
19    <FileUpgradeFlags>
20    </FileUpgradeFlags>
21    <OldToolsVersion>3.5</OldToolsVersion>
22    <UpgradeBackupLocation />
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    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
57  </PropertyGroup>
58  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
59    <DebugSymbols>true</DebugSymbols>
60    <OutputPath>bin\x64\Debug\</OutputPath>
61    <DefineConstants>DEBUG;TRACE</DefineConstants>
62    <DebugType>full</DebugType>
63    <PlatformTarget>x64</PlatformTarget>
64    <ErrorReport>prompt</ErrorReport>
65    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
66  </PropertyGroup>
67  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
68    <OutputPath>bin\x64\Release\</OutputPath>
69    <DefineConstants>TRACE</DefineConstants>
70    <Optimize>true</Optimize>
71    <DebugType>pdbonly</DebugType>
72    <PlatformTarget>x64</PlatformTarget>
73    <ErrorReport>prompt</ErrorReport>
74    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
75  </PropertyGroup>
76  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
77    <DebugSymbols>true</DebugSymbols>
78    <OutputPath>bin\x86\Debug\</OutputPath>
79    <DefineConstants>DEBUG;TRACE</DefineConstants>
80    <DebugType>full</DebugType>
81    <PlatformTarget>x86</PlatformTarget>
82    <ErrorReport>prompt</ErrorReport>
83    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
84  </PropertyGroup>
85  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
86    <OutputPath>bin\x86\Release\</OutputPath>
87    <DefineConstants>TRACE</DefineConstants>
88    <Optimize>true</Optimize>
89    <DebugType>pdbonly</DebugType>
90    <PlatformTarget>x86</PlatformTarget>
91    <ErrorReport>prompt</ErrorReport>
92    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
93  </PropertyGroup>
94  <ItemGroup>
95    <Reference Include="System" />
96    <Reference Include="System.Core">
97      <RequiredTargetFramework>3.5</RequiredTargetFramework>
98    </Reference>
99    <Reference Include="System.Xml.Linq">
100      <RequiredTargetFramework>3.5</RequiredTargetFramework>
101    </Reference>
102    <Reference Include="System.Data.DataSetExtensions">
103      <RequiredTargetFramework>3.5</RequiredTargetFramework>
104    </Reference>
105    <Reference Include="System.Data" />
106    <Reference Include="System.Xml" />
107  </ItemGroup>
108  <ItemGroup>
109    <None Include="HeuristicLab.snk" />
110    <None Include="HeuristicLabEncodingsBinaryVectorEncodingPlugin.cs.frame" />
111    <None Include="Properties\AssemblyInfo.frame" />
112  </ItemGroup>
113  <ItemGroup>
114    <Compile Include="Creators\RandomBinaryVectorCreator.cs" />
115    <Compile Include="Crossovers\MultiBinaryVectorCrossover.cs" />
116    <Compile Include="Crossovers\UniformCrossover.cs" />
117    <Compile Include="Crossovers\SinglePointCrossover.cs" />
118    <Compile Include="Crossovers\NPointCrossover.cs" />
119    <Compile Include="HeuristicLabEncodingsBinaryVectorEncodingPlugin.cs" />
120    <Compile Include="BinaryVector.cs" />
121    <Compile Include="Interfaces\IBinaryVectorMultiNeighborhoodShakingOperator.cs" />
122    <Compile Include="Interfaces\IOneBitflipMoveOperator.cs" />
123    <Compile Include="Interfaces\IBinaryVectorCreator.cs" />
124    <Compile Include="Interfaces\IBinaryVectorCrossover.cs" />
125    <Compile Include="Interfaces\IBinaryVectorManipulator.cs" />
126    <Compile Include="Interfaces\IBinaryVectorOperator.cs" />
127    <Compile Include="BinaryVectorCreator.cs" />
128    <Compile Include="BinaryVectorCrossover.cs" />
129    <Compile Include="BinaryVectorManipulator.cs" />
130    <Compile Include="Interfaces\IBinaryVectorMoveOperator.cs" />
131    <Compile Include="Manipulators\SomePositionsBitflipManipulator.cs" />
132    <Compile Include="Manipulators\SinglePositionBitflipManipulator.cs" />
133    <Compile Include="Moves\OneBitflipMove\ExhaustiveOneBitflipMoveGenerator.cs" />
134    <Compile Include="Moves\OneBitflipMove\OneBitflipMove.cs" />
135    <Compile Include="Moves\OneBitflipMove\OneBitflipMoveGenerator.cs" />
136    <Compile Include="Moves\OneBitflipMove\OneBitflipMoveMaker.cs" />
137    <Compile Include="Moves\OneBitflipMove\OneBitflipMoveTabuChecker.cs" />
138    <Compile Include="Moves\OneBitflipMove\OneBitflipMoveTabuMaker.cs" />
139    <Compile Include="Moves\OneBitflipMove\OneBitflipMoveAttribute.cs" />
140    <Compile Include="Moves\OneBitflipMove\StochasticOneBitflipMultiMoveGenerator.cs" />
141    <Compile Include="Moves\OneBitflipMove\StochasticOneBitflipSingleMoveGenerator.cs" />
142    <Compile Include="Moves\OneIndexMove.cs" />
143    <Compile Include="Properties\AssemblyInfo.cs" />
144    <Compile Include="ShakingOperators\BinaryVectorShakingOperator.cs" />
145  </ItemGroup>
146  <ItemGroup>
147    <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
148      <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
149      <Name>HeuristicLab.Collections-3.3</Name>
150    </ProjectReference>
151    <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
152      <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
153      <Name>HeuristicLab.Common-3.3</Name>
154    </ProjectReference>
155    <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
156      <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
157      <Name>HeuristicLab.Core-3.3</Name>
158    </ProjectReference>
159    <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">
160      <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>
161      <Name>HeuristicLab.Data-3.3</Name>
162    </ProjectReference>
163    <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj">
164      <Project>{23DA7FF4-D5B8-41B6-AA96-F0561D24F3EE}</Project>
165      <Name>HeuristicLab.Operators-3.3</Name>
166    </ProjectReference>
167    <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj">
168      <Project>{25087811-F74C-4128-BC86-8324271DA13E}</Project>
169      <Name>HeuristicLab.Optimization.Operators-3.3</Name>
170    </ProjectReference>
171    <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
172      <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>
173      <Name>HeuristicLab.Optimization-3.3</Name>
174    </ProjectReference>
175    <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">
176      <Project>{56F9106A-079F-4C61-92F6-86A84C2D84B7}</Project>
177      <Name>HeuristicLab.Parameters-3.3</Name>
178    </ProjectReference>
179    <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
180      <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
181      <Name>HeuristicLab.Persistence-3.3</Name>
182    </ProjectReference>
183    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
184      <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
185      <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
186    </ProjectReference>
187  </ItemGroup>
188  <ItemGroup>
189    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
190      <Visible>False</Visible>
191      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
192      <Install>false</Install>
193    </BootstrapperPackage>
194    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
195      <Visible>False</Visible>
196      <ProductName>.NET Framework 3.5 SP1</ProductName>
197      <Install>true</Install>
198    </BootstrapperPackage>
199    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
200      <Visible>False</Visible>
201      <ProductName>Windows Installer 3.1</ProductName>
202      <Install>true</Install>
203    </BootstrapperPackage>
204  </ItemGroup>
205  <ItemGroup />
206  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
207  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
208       Other similar extension points exist, see Microsoft.Common.targets.
209  <Target Name="BeforeBuild">
210  </Target>
211  <Target Name="AfterBuild">
212  </Target>
213  -->
214  <PropertyGroup>
215    <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
216set ProjectDir=$(ProjectDir)
217set SolutionDir=$(SolutionDir)
218set Outdir=$(Outdir)
219
220call PreBuildEvent.cmd
221SubWCRev "%25ProjectDir%25\" "%25ProjectDir%25\HeuristicLabEncodingsBinaryVectorEncodingPlugin.cs.frame" "%25ProjectDir%25\HeuristicLabEncodingsBinaryVectorEncodingPlugin.cs"</PreBuildEvent>
222  </PropertyGroup>
223</Project>
Note: See TracBrowser for help on using the repository browser.