Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 86432669 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

SearchAlgorithm: LineSearch now searches to half of tolerance (so that engine is surely satisfied)

parent 991709d3
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ namespace TUGraz.VectoCore.Utils
var result = evaluateFunction(x);
y = getYValue(result);
debug.Add(new { x = x.Value(), y = y.Value(), delta = criterion(result), result });
if (criterion(result).IsEqual(0, Constants.SimulationSettings.LineSearchTolerance)) {
if (criterion(result).IsEqual(0, Constants.SimulationSettings.LineSearchTolerance / 2)) {
LogManager.EnableLogging();
log.Debug("LineSearch found an operating point after {0} function calls.", count);
//iterationCount += count;
......
......@@ -219,9 +219,6 @@
<None Include="TestData\Bugs\Kies-20161115\job.vecto">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="TestData\Bugs\Kies-20161115\job.vsum">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="TestData\Bugs\Kies-20161115\shift.vgbs">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
......@@ -1650,6 +1647,8 @@
<Folder Include="Integration\FullPowertrain\" />
</ItemGroup>
<ItemGroup>
<Content Include="TestData\Bugs\Kies-20161115\readme.txt" />
<Content Include="TestData\Bugs\Mandl-20161115\readme.txt" />
<Content Include="TestData\Bugs\Silberholz-20161121\readme.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment