diff options
| author | jeanpouget-abadie <jean.pougetabadie@gmail.com> | 2015-02-05 12:42:12 -0500 |
|---|---|---|
| committer | jeanpouget-abadie <jean.pougetabadie@gmail.com> | 2015-02-05 12:42:12 -0500 |
| commit | 86208a1bd7e6a7735340b318be4b40ced8448f1a (patch) | |
| tree | 761c8b2f4d187c7060881b593eda111824137d66 /src/convex_optimization.py | |
| parent | dccbac2e2b99e46f64470ab7c23fe8f0f50ce9aa (diff) | |
| download | cascades-86208a1bd7e6a7735340b318be4b40ced8448f1a.tar.gz | |
adding four figures
Diffstat (limited to 'src/convex_optimization.py')
| -rw-r--r-- | src/convex_optimization.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/convex_optimization.py b/src/convex_optimization.py index 8dc6f82..0d506e1 100644 --- a/src/convex_optimization.py +++ b/src/convex_optimization.py @@ -90,7 +90,7 @@ def diff_and_opt(M_val, w_val, f_x, f_xz): def F(x=None, z=None): if x is None: - return 0, cvxopt.matrix(-.001, (n,1)) + return 0, cvxopt.matrix(-.1, (n,1)) elif z is None: y, y_diff = f_x(x, M_val, w_val) return cvxopt.matrix(float(y), (1, 1)),\ |
