Free cookie consent management tool by TermsFeed Policy Generator

source: branches/SimulationCore/HeuristicLab.Encodings.RealVectorEncoding/3.3/HeuristicLab.Encodings.RealVectorEncoding-3.3.csproj @ 7064

Last change on this file since 7064 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: 13.4 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>{BB6D334A-4BB6-4674-9883-31A6EBB32CAB}</ProjectGuid>
9    <OutputType>Library</OutputType>
10    <AppDesignerFolder>Properties</AppDesignerFolder>
11    <RootNamespace>HeuristicLab.Encodings.RealVectorEncoding</RootNamespace>
12    <AssemblyName>HeuristicLab.Encodings.RealVectorEncoding-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    <DocumentationFile>bin\Release\HeuristicLab.Encodings.RealVectorEncoding-3.3.xml</DocumentationFile>
57    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
58  </PropertyGroup>
59  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
60    <DebugSymbols>true</DebugSymbols>
61    <OutputPath>bin\x86\Debug\</OutputPath>
62    <DefineConstants>DEBUG;TRACE</DefineConstants>
63    <DebugType>full</DebugType>
64    <PlatformTarget>x86</PlatformTarget>
65    <ErrorReport>prompt</ErrorReport>
66    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
67  </PropertyGroup>
68  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
69    <OutputPath>bin\x86\Release\</OutputPath>
70    <DefineConstants>TRACE</DefineConstants>
71    <DocumentationFile>bin\x86\Release\HeuristicLab.Encodings.RealVectorEncoding-3.3.xml</DocumentationFile>
72    <Optimize>true</Optimize>
73    <DebugType>pdbonly</DebugType>
74    <PlatformTarget>x86</PlatformTarget>
75    <ErrorReport>prompt</ErrorReport>
76    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
77  </PropertyGroup>
78  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
79    <DebugSymbols>true</DebugSymbols>
80    <OutputPath>bin\x64\Debug\</OutputPath>
81    <DefineConstants>DEBUG;TRACE</DefineConstants>
82    <DebugType>full</DebugType>
83    <PlatformTarget>x64</PlatformTarget>
84    <ErrorReport>prompt</ErrorReport>
85    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
86  </PropertyGroup>
87  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
88    <OutputPath>bin\x64\Release\</OutputPath>
89    <DefineConstants>TRACE</DefineConstants>
90    <DocumentationFile>bin\x64\Release\HeuristicLab.Encodings.RealVectorEncoding-3.3.xml</DocumentationFile>
91    <Optimize>true</Optimize>
92    <DebugType>pdbonly</DebugType>
93    <PlatformTarget>x64</PlatformTarget>
94    <ErrorReport>prompt</ErrorReport>
95    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
96  </PropertyGroup>
97  <ItemGroup>
98    <Reference Include="System" />
99    <Reference Include="System.Core">
100      <RequiredTargetFramework>3.5</RequiredTargetFramework>
101    </Reference>
102    <Reference Include="System.Data" />
103    <Reference Include="System.Xml" />
104  </ItemGroup>
105  <ItemGroup>
106    <Compile Include="Interfaces\IRealVectorMultiNeighborhoodShakingOperator.cs" />
107    <Compile Include="ParticleOperators\RealVectorParticleCreator.cs" />
108    <Compile Include="Crossovers\BlendAlphaBetaCrossover.cs" />
109    <Compile Include="Interfaces\IRealVectorManipulator.cs" />
110    <Compile Include="Interfaces\IRealVectorOperator.cs" />
111    <Compile Include="Interfaces\IRealVectorCrossover.cs" />
112    <Compile Include="Interfaces\IRealVectorCreator.cs" />
113    <Compile Include="BoundsChecker.cs" />
114    <Compile Include="Creators\UniformRandomRealVectorCreator.cs" />
115    <Compile Include="Interfaces\IRealVectorParticleCreator.cs" />
116    <Compile Include="Interfaces\IRealVectorParticleUpdater.cs" />
117    <Compile Include="Interfaces\IRealVectorSwarmUpdater.cs" />
118    <Compile Include="Manipulators\SelfAdaptiveNormalAllPositionsManipulator.cs" />
119    <Compile Include="ParticleOperators\RealVectorNeighborhoodParticleUpdater.cs" />
120    <Compile Include="ParticleOperators\RealVectorParticleUpdater.cs" />
121    <Compile Include="ParticleOperators\RealVectorSwarmUpdater.cs" />
122    <Compile Include="ParticleOperators\RealVectorTotallyConnectedParticleUpdater.cs" />
123    <Compile Include="RealVectorCreator.cs" />
124    <Compile Include="RealVectorCrossover.cs" />
125    <Compile Include="Properties\AssemblyInfo.cs" />
126    <Compile Include="RealVectorManipulator.cs" />
127  </ItemGroup>
128  <ItemGroup>
129    <Compile Include="Crossovers\AverageCrossover.cs" />
130    <Compile Include="Crossovers\BlendAlphaCrossover.cs" />
131    <Compile Include="Crossovers\DiscreteCrossover.cs" />
132    <Compile Include="Crossovers\HeuristicCrossover.cs" />
133    <Compile Include="Crossovers\LocalCrossover.cs" />
134    <Compile Include="Crossovers\MultiRealVectorCrossover.cs" />
135    <Compile Include="Crossovers\RandomConvexCrossover.cs" />
136    <Compile Include="Crossovers\SimulatedBinaryCrossover.cs" />
137    <Compile Include="Crossovers\SinglePointCrossover.cs">
138      <SubType>Code</SubType>
139    </Compile>
140    <Compile Include="Crossovers\UniformAllPositionsArithmeticCrossover.cs" />
141    <Compile Include="Crossovers\UniformSomePositionsArithmeticCrossover.cs" />
142    <Compile Include="HeuristicLabEncodingsRealVectorEncodingPlugin.cs" />
143    <Compile Include="Interfaces\IRealVectorStdDevStrategyParameterCreator.cs" />
144    <Compile Include="Interfaces\IRealVectorStdDevStrategyParameterCrossover.cs" />
145    <Compile Include="Interfaces\IRealVectorStdDevStrategyParameterManipulator.cs" />
146    <Compile Include="Interfaces\IRealVectorStdDevStrategyParameterOperator.cs" />
147    <Compile Include="Interfaces\IAdditiveRealVectorMoveOperator.cs" />
148    <Compile Include="Interfaces\IRealVectorBoundsChecker.cs" />
149    <Compile Include="Interfaces\IRealVectorMoveGenerator.cs" />
150    <Compile Include="Interfaces\IRealVectorMoveOperator.cs" />
151    <Compile Include="Manipulators\MultiRealVectorManipulator.cs" />
152    <Compile Include="Manipulators\FixedNormalAllPositionsManipulator.cs" />
153    <Compile Include="Moves\AdditiveMoveTabuChecker.cs" />
154    <Compile Include="Moves\AdditiveMoveTabuMaker.cs" />
155    <Compile Include="Moves\AdditiveMoveTabuAttribute.cs" />
156    <Compile Include="Moves\AdditiveMoveMaker.cs" />
157    <Compile Include="Moves\AdditiveMove.cs" />
158    <Compile Include="Moves\AdditiveMoveGenerator.cs" />
159    <Compile Include="Moves\StochasticNormalMultiMoveGenerator.cs" />
160    <Compile Include="Moves\StochasticPolynomialMultiMoveGenerator.cs" />
161    <Compile Include="RealVector.cs" />
162    <Compile Include="Manipulators\BreederGeneticAlgorithmManipulator.cs" />
163    <Compile Include="Manipulators\PolynomialAllPositionManipulator.cs" />
164    <Compile Include="Manipulators\MichalewiczNonUniformAllPositionsManipulator.cs">
165      <SubType>Code</SubType>
166    </Compile>
167    <Compile Include="Manipulators\MichalewiczNonUniformOnePositionManipulator.cs" />
168    <Compile Include="Manipulators\PolynomialOnePositionManipulator.cs" />
169    <Compile Include="Manipulators\UniformOnePositionManipulator.cs" />
170    <Compile Include="ReflectiveBoundsChecker.cs" />
171    <Compile Include="ShakingOperators\RealVectorShakingOperator.cs" />
172    <Compile Include="StrategyParameters\StdDevStrategyVectorCreator.cs" />
173    <Compile Include="StrategyParameters\StdDevStrategyVectorCrossover.cs" />
174    <Compile Include="StrategyParameters\StdDevStrategyVectorManipulator.cs" />
175    <None Include="HeuristicLab.snk" />
176    <None Include="HeuristicLabEncodingsRealVectorEncodingPlugin.cs.frame" />
177    <None Include="Properties\AssemblyInfo.frame" />
178  </ItemGroup>
179  <ItemGroup>
180    <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
181      <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
182      <Name>HeuristicLab.Collections-3.3</Name>
183    </ProjectReference>
184    <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
185      <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
186      <Name>HeuristicLab.Common-3.3</Name>
187    </ProjectReference>
188    <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
189      <Project>{F43B59AB-2B8C-4570-BC1E-15592086517C}</Project>
190      <Name>HeuristicLab.Core-3.3</Name>
191    </ProjectReference>
192    <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj">
193      <Project>{F473D9AF-3F09-4296-9F28-3C65118DAFFA}</Project>
194      <Name>HeuristicLab.Data-3.3</Name>
195    </ProjectReference>
196    <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj">
197      <Project>{23DA7FF4-D5B8-41B6-AA96-F0561D24F3EE}</Project>
198      <Name>HeuristicLab.Operators-3.3</Name>
199    </ProjectReference>
200    <ProjectReference Include="..\..\HeuristicLab.Optimization.Operators\3.3\HeuristicLab.Optimization.Operators-3.3.csproj">
201      <Project>{25087811-F74C-4128-BC86-8324271DA13E}</Project>
202      <Name>HeuristicLab.Optimization.Operators-3.3</Name>
203    </ProjectReference>
204    <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
205      <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>
206      <Name>HeuristicLab.Optimization-3.3</Name>
207    </ProjectReference>
208    <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj">
209      <Project>{56F9106A-079F-4C61-92F6-86A84C2D84B7}</Project>
210      <Name>HeuristicLab.Parameters-3.3</Name>
211    </ProjectReference>
212    <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
213      <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
214      <Name>HeuristicLab.Persistence-3.3</Name>
215    </ProjectReference>
216    <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
217      <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
218      <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
219    </ProjectReference>
220    <ProjectReference Include="..\..\HeuristicLab.Random\3.3\HeuristicLab.Random-3.3.csproj">
221      <Project>{F4539FB6-4708-40C9-BE64-0A1390AEA197}</Project>
222      <Name>HeuristicLab.Random-3.3</Name>
223    </ProjectReference>
224  </ItemGroup>
225  <ItemGroup>
226    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
227      <Visible>False</Visible>
228      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
229      <Install>false</Install>
230    </BootstrapperPackage>
231    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
232      <Visible>False</Visible>
233      <ProductName>.NET Framework 3.5 SP1</ProductName>
234      <Install>true</Install>
235    </BootstrapperPackage>
236    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
237      <Visible>False</Visible>
238      <ProductName>Windows Installer 3.1</ProductName>
239      <Install>true</Install>
240    </BootstrapperPackage>
241  </ItemGroup>
242  <ItemGroup />
243  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
244  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
245       Other similar extension points exist, see Microsoft.Common.targets.
246  <Target Name="BeforeBuild">
247  </Target>
248  <Target Name="AfterBuild">
249  </Target>
250  -->
251  <PropertyGroup>
252    <PreBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
253set ProjectDir=$(ProjectDir)
254set SolutionDir=$(SolutionDir)
255set Outdir=$(Outdir)
256
257call PreBuildEvent.cmd
258SubWCRev "%25ProjectDir%25\" "%25ProjectDir%25\HeuristicLabEncodingsRealVectorEncodingPlugin.cs.frame" "%25ProjectDir%25\HeuristicLabEncodingsRealVectorEncodingPlugin.cs"</PreBuildEvent>
259  </PropertyGroup>
260</Project>
Note: See TracBrowser for help on using the repository browser.