Skip to content

Commit

Permalink
[App] Обновил Program в соответствии с изменениями в `NelderMeadMet…
Browse files Browse the repository at this point in the history
…hod`
  • Loading branch information
mSiotniHS committed Mar 28, 2023
1 parent ddb984e commit 42aa7b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion App/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using Lib;
using Lib.Helpers;

namespace App;

Expand Down Expand Up @@ -32,7 +33,7 @@ private static void Test(RealMultivariableFunction function)
});

var method = new NelderMeadMethod(classic, NoMoreThanNIterations);
var min = method.FindMinimum(function, initialSimplex);
var min = method.FindMinimum(function, initialSimplex, new ConsoleLogger());
Console.WriteLine(min);
}

Expand Down

0 comments on commit 42aa7b0

Please sign in to comment.