Version 9.3.

- Drop -arb and -openblas patches.
- Add -cvxopt patch.
- Add metainfo file.
This commit is contained in:
Jerry James 2021-06-18 11:37:21 -06:00
parent 26b688d416
commit 0a1b42ef2b
21 changed files with 1096 additions and 1037 deletions

24
sagemath-cvxopt.patch Normal file
View file

@ -0,0 +1,24 @@
diff -up src/sage/numerical/backends/cvxopt_backend.pyx.orig src/sage/numerical/backends/cvxopt_backend.pyx
--- src/sage/numerical/backends/cvxopt_backend.pyx.orig 2021-05-09 16:00:11.000000000 -0600
+++ src/sage/numerical/backends/cvxopt_backend.pyx 2021-05-28 12:05:47.551650940 -0600
@@ -550,7 +550,7 @@ cdef class CVXOPTBackend(GenericBackend)
self.answer = solvers.lp(c,G,h)
#possible outcomes
- if self.answer['status'] == 'optimized':
+ if self.answer['status'] in ['optimized', 'optimal']:
pass
elif self.answer['status'] == 'primal infeasible':
raise MIPSolverException("CVXOPT: primal infeasible")
diff -up src/sage/numerical/backends/cvxopt_sdp_backend.pyx.orig src/sage/numerical/backends/cvxopt_sdp_backend.pyx
--- src/sage/numerical/backends/cvxopt_sdp_backend.pyx.orig 2021-05-09 16:00:11.000000000 -0600
+++ src/sage/numerical/backends/cvxopt_sdp_backend.pyx 2021-05-28 12:05:47.552650940 -0600
@@ -150,7 +150,7 @@ cdef class CVXOPTSDPBackend(MatrixSDPBac
self.answer = solvers.sdp(c,Gs=G_matrix,hs=h_matrix)
#possible outcomes
- if self.answer['status'] == 'optimized':
+ if self.answer['status'] in ['optimized', 'optimal']:
pass
elif self.answer['status'] == 'primal infeasible':
raise SDPSolverException("CVXOPT: primal infeasible")