Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/HeuristicLab.Encodings.IntegerVectorEncoding-3.3.csproj @ 6350

Last change on this file since 6350 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: 9.8 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>{DDFB14DD-2A85-493C-A52D-E69729BBAEB0}</ProjectGuid>
9    <OutputType>Library</OutputType>
10    <AppDesignerFolder>Properties</AppDesignerFolder>
11    <RootNamespace>HeuristicLab.Encodings.IntegerVectorEncoding</RootNamespace>
12    <AssemblyName>HeuristicLab.Encodings.IntegerVectorEncoding-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.Data" />
100    <Reference Include="System.Xml" />
101  </ItemGroup>
102  <ItemGroup>
103    <None Include="HeuristicLab.snk" />
104    <None Include="HeuristicLabEncodingsIntegerVectorEncodingPlugin.cs.frame" />
105    <None Include="Properties\AssemblyInfo.frame" />
106  </ItemGroup>
107  <ItemGroup>
108    <Compile Include="Creators\UniformRandomIntegerVectorCreator.cs" />
109    <Compile Include="Crossovers\DiscreteCrossover.cs">
110      <SubType>Code</SubType>
111    </Compile>
112    <Compile Include="Crossovers\MultiIntegerVectorCrossover.cs" />
113    <Compile Include="Crossovers\SinglePointCrossover.cs">
114      <SubType>Code</SubType>
115    </Compile>
116    <Compile Include="HeuristicLabEncodingsIntegerVectorEncodingPlugin.cs" />
117    <Compile Include="Interfaces\IIntegerVectorCreator.cs" />
118    <Compile Include="Interfaces\IIntegerVectorCrossover.cs" />
119    <Compile Include="Interfaces\IIntegerVectorManipulator.cs" />
120    <Compile Include="Interfaces\IIntegerVectorMultiNeighborhoodShakingOperator.cs" />
121    <Compile Include="Interfaces\IIntegerVectorOperator.cs" />
122    <Compile Include="IntegerVectorCrossover.cs" />
123    <Compile Include="IntegerVectorManipulator.cs" />
124    <Compile Include="Manipulators\UniformOnePositionManipulator.cs">
125      <SubType>Code</SubType>
126    </Compile>
127    <Compile Include="IntegerVector.cs" />
128    <Compile Include="Properties\AssemblyInfo.cs" />
129    <Compile Include="IntegerVectorCreator.cs" />
130    <Compile Include="ShakingOperators\IntegerVectorShakingOperator.cs" />
131  </ItemGroup>
132  <ItemGroup>
133    <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
134      <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
135      <Name>HeuristicLab.Collections-3.3</Name>
136    </ProjectReference>
137    <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
138      <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
139      <Name>HeuristicLab.Common-3.3</Name>
140    </ProjectReference>
141    <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
142      <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
143      <Name>HeuristicLab.Core-3.3</Name>
144    </ProjectReference>
145    <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">
146      <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>
147      <Name>HeuristicLab.Data-3.3</Name>
148    </ProjectReference>
149    <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj">
150      <Project>{23DA7FF4-D5B8-41B6-AA96-F0561D24F3EE}</Project>
151      <Name>HeuristicLab.Operators-3.3</Name>
152    </ProjectReference>
153    <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj">
154      <Project>{25087811-F74C-4128-BC86-8324271DA13E}</Project>
155      <Name>HeuristicLab.Optimization.Operators-3.3</Name>
156    </ProjectReference>
157    <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
158      <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>
159      <Name>HeuristicLab.Optimization-3.3</Name>
160    </ProjectReference>
161    <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">
162      <Project>{56F9106A-079F-4C61-92F6-86A84C2D84B7}</Project>
163      <Name>HeuristicLab.Parameters-3.3</Name>
164    </ProjectReference>
165    <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
166      <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
167      <Name>HeuristicLab.Persistence-3.3</Name>
168    </ProjectReference>
169    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
170      <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
171      <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
172    </ProjectReference>
173  </ItemGroup>
174  <ItemGroup>
175    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
176      <Visible>False</Visible>
177      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
178      <Install>false</Install>
179    </BootstrapperPackage>
180    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
181      <Visible>False</Visible>
182      <ProductName>.NET Framework 3.5 SP1</ProductName>
183      <Install>true</Install>
184    </BootstrapperPackage>
185    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
186      <Visible>False</Visible>
187      <ProductName>Windows Installer 3.1</ProductName>
188      <Install>true</Install>
189    </BootstrapperPackage>
190  </ItemGroup>
191  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
192  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
193       Other similar extension points exist, see Microsoft.Common.targets.
194  <Target Name="BeforeBuild">
195  </Target>
196  <Target Name="AfterBuild">
197  </Target>
198  -->
199  <PropertyGroup>
200    <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
201set ProjectDir=$(ProjectDir)
202set SolutionDir=$(SolutionDir)
203set Outdir=$(Outdir)
204
205call PreBuildEvent.cmd
206SubWCRev "%25ProjectDir%25\" "%25ProjectDir%25\HeuristicLabEncodingsIntegerVectorEncodingPlugin.cs.frame" "%25ProjectDir%25\HeuristicLabEncodingsIntegerVectorEncodingPlugin.cs"</PreBuildEvent>
207  </PropertyGroup>
208</Project>
Note: See TracBrowser for help on using the repository browser.