5fdb495a06de56bcd9b05a246fbb408cd9b644dd,benchmarks/benchmarks/optimize_linprog.py,KleeMinty,time_klee_minty,#KleeMinty#Any#Any#,63
Before Change
self.meth = meth
def time_klee_minty(self, meth, dims):
linprog(c=self.c, A_ub=self.A_ub, b_ub=self.b_ub, method=self.meth)
class LpGen(Benchmark):
params = [
After Change
self.meth = meth
def time_klee_minty(self, meth, dims):
res = linprog(c=self.c, A_ub=self.A_ub, b_ub=self.b_ub, method=self.meth)
np.testing.assert_allclose(self.obj, res.fun, rtol=1e-6, atol=1e-3)
np.testing.assert_allclose(self.xf, res.x, rtol=1e-6, atol=1e-3)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: scipy/scipy
Commit Name: 5fdb495a06de56bcd9b05a246fbb408cd9b644dd
Time: 2020-01-05
Author: mhaberla@calpoly.edu
File Name: benchmarks/benchmarks/optimize_linprog.py
Class Name: KleeMinty
Method Name: time_klee_minty
Project Name: scipy/scipy
Commit Name: a3e77a7b5f4a279a87c2fc689388fc8fe99ead9d
Time: 2018-12-22
Author: mdhaber@mit.edu
File Name: scipy/optimize/tests/test_linprog.py
Class Name: LinprogCommonTests
Method Name: test_empty_constraint_2
Project Name: scipy/scipy
Commit Name: 5fdb495a06de56bcd9b05a246fbb408cd9b644dd
Time: 2020-01-05
Author: mhaberla@calpoly.edu
File Name: benchmarks/benchmarks/optimize_linprog.py
Class Name: MagicSquare
Method Name: time_magic_square