From 39513132d4a78e5d488fe17c4c690c40c005d2eb Mon Sep 17 00:00:00 2001 From: Kostas Andreadis Date: Tue, 15 Oct 2019 08:39:49 -0400 Subject: [PATCH] Set lower bound for A0 --- confluence/integrator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/confluence/integrator.py b/confluence/integrator.py index b0064f4..6be77a3 100644 --- a/confluence/integrator.py +++ b/confluence/integrator.py @@ -85,6 +85,7 @@ def integrate(self): ubnds = [0.0] * (self.nreaches * 2) lbnds[1::2] = [0.01] * self.nreaches ubnds[1::2] = [0.09] * self.nreaches + lbnds[::2] = np.abs(np.amin(self.data[-1], axis=0)) ubnds[::2] = [1e4] * self.nreaches bnds = list(zip(lbnds, ubnds)) x0 = [0.0] * (self.nreaches * 2)