From 2b7ac7e0affc9dc026cdb234052e9fe4a1f87d79 Mon Sep 17 00:00:00 2001 From: John Mason Date: Thu, 17 May 2018 14:29:32 -0700 Subject: [PATCH] added note about inverse bounds matrix --- optimize.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/optimize.py b/optimize.py index f79b1d7..cd8f404 100644 --- a/optimize.py +++ b/optimize.py @@ -340,6 +340,11 @@ def estimate_parameters( (bounds_matrix, lowerbounds, upperbounds) = build_bounds(naive) inverse_bounds_matrix = np.linalg.pinv(bounds_matrix) + # TODO: if the bounds become more sophisticated, use the calculation for + # the bilevel elementwise pseudoinverse to acquire the inverse bounds + # reprojection vectors. right now it isequivalent to the normal + # pseudoinverse + if FORCE_BETTER_INIT: init_lowerbounds = bounds.LOWERBOUNDS init_upperbounds = bounds.UPPERBOUNDS