Skip to content
Snippets Groups Projects
Commit f1bd6f2b authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Add comments to bisection initialisation

parent bb9e0e31
Branches
No related tags found
No related merge requests found
......@@ -29,8 +29,14 @@ template <class MyConvexProblemTypeTEMPLATE> class MyBlockProblem {
class IterateObject;
MyBlockProblem(MyConvexProblemType &problem) : problem(problem) {
bisection = Bisection(0.0, 1.0, 1e-12, true, 0);
};
bisection =
Bisection(0.0, // acceptError: Stop if the search interval has
// become smaller than this number
1.0, // acceptFactor: ?
1e-12, // requiredResidual: ?
true, // fastQuadratic
0); // safety: acceptance factor for inexact minimization
}
/** \brief Constructs and returns an iterate object */
IterateObject getIterateObject() { return IterateObject(bisection, problem); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment