Skip to content
Snippets Groups Projects
Commit a446694e authored by podlesny's avatar podlesny
Browse files

switch from default to custom bisection solver, default causes issues for...

switch from default to custom bisection solver, default causes issues for initial linear problem for a
parent 5f198606
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ class LineSearchSolver ...@@ -41,7 +41,7 @@ class LineSearchSolver
} }
int bisectionsteps = 0; int bisectionsteps = 0;
const Bisection globalBisection; //(0.0, 1.0, 0.0, 0.0); const Bisection globalBisection(0.0, 1.0, 0.0, 0.0);
x = globalBisection.minimize(f, f.scaling(), 0.0, bisectionsteps); x = globalBisection.minimize(f, f.scaling(), 0.0, bisectionsteps);
//std::cout << "x: " << x << "scaling: " << f.scaling(); //std::cout << "x: " << x << "scaling: " << f.scaling();
......
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