[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] odd/brent a007bd6 10/11: Document a pessimization
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] odd/brent a007bd6 10/11: Document a pessimization |
Date: |
Tue, 22 Jun 2021 16:54:06 -0400 (EDT) |
branch: odd/brent
commit a007bd62f96fcf5e37d6e933bd6882eb758899ee
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Document a pessimization
A more elaborate discussion should be added to 'master'.
---
ihs_avsolve.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ihs_avsolve.cpp b/ihs_avsolve.cpp
index 3122ecc..bd1accb 100644
--- a/ihs_avsolve.cpp
+++ b/ihs_avsolve.cpp
@@ -245,6 +245,10 @@ currency AccountValue::SolveTest
);
}
if(worst_negative < C0)
+// The following alternative is not as good. Typically, the graph of
+// f(x) as a function of x is a dog-leg, where a solve must find the
+// hock. This pessimization tends to make one part vertical.
+// if(worst_negative < C0 && C0 <= value)
{
value = std::min(value, worst_negative);
}
- [lmi-commits] [lmi] odd/brent 682f2ac 01/11: Relocate a function template, (continued)
- [lmi-commits] [lmi] odd/brent 682f2ac 01/11: Relocate a function template, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent e83e0c6 04/11: Suppress suppression of secant technique, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent 37cf014 08/11: Define a macro to choose IQI criterion, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent b77190e 02/11: Print a trace of all lmi solves, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent abbcf94 06/11: Remove a few stray commented-out lines, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent b07c9d3 03/11: Experimentally suppress secant technique, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent 083aae0 05/11: Remove an obsolete idea, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent 117a974 09/11: Suppress detailed IQI comparison for the moment, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent 335316f 07/11: Rewrite 'static constexpr' in branch as in master, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent 662390c 11/11: Test Brent's method with Chandrupatla's IQI criterion, Greg Chicares, 2021/06/22
- [lmi-commits] [lmi] odd/brent a007bd6 10/11: Document a pessimization,
Greg Chicares <=