Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_model_print_perf_py_mosek (from gpkit.tests.from_paths.TestFiles-20180420124106)

Failing for the past 1 build (Since Failed #83 )
Took 5.4 sec.

Error Message

0.0 cannot be raised to a negative power

Stacktrace

Traceback (most recent call last):
  File "c:\users\jenkins\workspace\gplibrary_pr_models\mosek\gpkit\gpkit\tests\helpers.py", line 62, in test
    testfn(name, import_dict, path)(self)
  File "c:\users\jenkins\workspace\gplibrary_pr_models\mosek\gpkit\gpkit\tests\from_paths.py", line 50, in <lambda>
    lambda self: getattr(self, name)()))  # pylint:disable=undefined-variable
  File "c:\users\jenkins\workspace\gplibrary_pr_models\mosek\gpkit\gpkit\tests\from_paths.py", line 39, in test_fn
    mod.test()
  File "print_perf.py", line 194, in test
  File "print_perf.py", line 42, in jho_subs
  File "c:\users\jenkins\workspace\gplibrary_pr_models\mosek\gpkit\gpkit\constraints\prog_factories.py", line 117, in solvefn
    self.program, progsolve = genfunction(self)
  File "c:\users\jenkins\workspace\gplibrary_pr_models\mosek\gpkit\gpkit\constraints\prog_factories.py", line 74, in programify
    prog = program(self.cost, self, constants, **kwargs)
  File "c:\users\jenkins\workspace\gplibrary_pr_models\mosek\gpkit\gpkit\constraints\sgp.py", line 64, in __init__
    self._gp = self.init_gp(self.substitutions)
  File "c:\users\jenkins\workspace\gplibrary_pr_models\mosek\gpkit\gpkit\constraints\sgp.py", line 185, in init_gp
    gp = GeometricProgram(self.cost, [gpconstrs, spapproxs], substitutions)
  File "c:\users\jenkins\workspace\gplibrary_pr_models\mosek\gpkit\gpkit\constraints\gp.py", line 72, in __init__
    self.posynomials.extend(self.as_posyslt1(self.substitutions))
  File "c:\users\jenkins\workspace\gplibrary_pr_models\mosek\gpkit\gpkit\constraints\set.py", line 254, in as_posyslt1
    posys = constraint.as_posyslt1(substitutions)
  File "c:\users\jenkins\workspace\gplibrary_pr_models\mosek\gpkit\gpkit\constraints\set.py", line 254, in as_posyslt1
    posys = constraint.as_posyslt1(substitutions)
  File "c:\users\jenkins\workspace\gplibrary_pr_models\mosek\gpkit\gpkit\nomials\math.py", line 471, in as_posyslt1
    hmap = self._simplify_posy_ineq(hmap, self.pmap)
  File "c:\users\jenkins\workspace\gplibrary_pr_models\mosek\gpkit\gpkit\nomials\math.py", line 428, in _simplify_posy_ineq
    scaled = hmap/coeff
  File "c:\users\jenkins\workspace\gplibrary_pr_models\mosek\gpkit\gpkit\small_classes.py", line 242, in __div__
    def __div__(self, other): return self * other**-1
ZeroDivisionError: 0.0 cannot be raised to a negative power
		

Standard Output

Beginning signomial solve.
Allowing negative dual variable(s) as small as -7.638995772746293e-14.
Allowing negative dual variable(s) as small as -7.965850201685498e-14.
Allowing negative dual variable(s) as small as -1.321119862812692e-13.
Allowing negative dual variable(s) as small as -1.2829212518716826e-13.
Solving took 4 GP solves and 17.5 seconds.
Beginning signomial solve.
Allowing negative dual variable(s) as small as -7.539867168115943e-14.
Allowing negative dual variable(s) as small as -7.595974630542068e-14.
Allowing negative dual variable(s) as small as -1.2610322942113728e-13.
Allowing negative dual variable(s) as small as -1.3174921223435554e-13.
Solving took 4 GP solves and 15 seconds.
	

Standard Error