Skip to content

Failed

run_tests.TestPrimitives_mosek_cli.test_MarginModel (from run_tests.TestPrimitives_mosek_cli-20200305010833)

Failing for the past 1 build (Since Failed #430 )
Took 0.1 sec.

Error Message

gpkit.PosynomialInequality(SGP.PCCPslack >= 1)

Stacktrace

Traceback (most recent call last):
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/robust/robust/robust.py", line 459, in internalsolve
    return model.solve(verbosity=verbosity)
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/gpkit/constraints/prog_factories.py", line 125, in solvefn
    self.program, progsolve = genfunction(self, **kwargs)
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/gpkit/constraints/prog_factories.py", line 81, in programfn
    prog = program(self.cost, self, constants, **initargs)
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/gpkit/constraints/gp.py", line 94, in __init__
    self.hmaps = [cost_hmap] + list(self.as_hmapslt1(self.substitutions))
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/gpkit/constraints/set.py", line 163, in as_hmapslt1
    for l in self.flat(yield_if_hasattr="as_hmapslt1")))
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/gpkit/constraints/set.py", line 163, in as_hmapslt1
    for l in self.flat(yield_if_hasattr="as_hmapslt1")))
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/gpkit/constraints/set.py", line 163, in <genexpr>
    for l in self.flat(yield_if_hasattr="as_hmapslt1")))
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/gpkit/nomials/math.py", line 625, in as_hmapslt1
    raise InvalidGPConstraint("SignomialInequality could not simplify to a"
gpkit.exceptions.InvalidGPConstraint: SignomialInequality could not simplify to a PosynomialInequality; try calling `.localsolve` instead of `.solve` to form your Model as a SequentialGeometricProgram

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/robust/robust/testing/t_primitives.py", line 20, in test_MarginModel
    mm = MarginModel(m, gamma=0.5)
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/gpkit/constraints/model.py", line 54, in __init__
    cs = self.setup(*args, **kwargs)  # pylint: disable=no-member
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/robust/robust/margin.py", line 37, in setup
    self.nominal_solve = RobustModel.internalsolve(model, verbosity=0)
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/robust/robust/robust.py", line 461, in internalsolve
    return model.localsolve(verbosity=verbosity)
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/gpkit/constraints/prog_factories.py", line 126, in solvefn
    result = progsolve(solver, verbosity=verbosity, **kwargs)
  File "/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/reynolds/optimizer/mosek/gpkit/constraints/sgp.py", line 223, in localsolve
    del self.result["sensitivities"]["constraints"][slackconstraint]
KeyError: gpkit.PosynomialInequality(SGP.PCCPslack >= 1)
		

Standard Output

Solution check warning: Dual variables associated with objective sum to 0.0, not 1
Solution check warning: Dual variables associated with objective sum to 0.0, not 1
Solution check warning: Dual variables associated with objective sum to 0.0, not 1
Solution check warning: Dual variables associated with objective sum to 0.1337599639913826, not 1
Solution check warning: Dual variables associated with objective sum to 0.1337599639913826, not 1
Solution check warning: Dual variables associated with objective sum to 0.4606283609246332, not 1
Solution check warning: Dual variables associated with objective sum to 0.4606283609246332, not 1
Solution check warning: Dual variables associated with objective sum to 0.8330415201564609, not 1
Solution check warning: Dual variables associated with objective sum to 0.8317120628200761, not 1
Solution check warning: Dual variables associated with objective sum to 0.799202749250931, not 1
Solution check warning: Dual variables associated with objective sum to 0.7981982254200097, not 1
Solution check warning: Dual variables associated with objective sum to 0.8079758386216233, not 1
Solution check warning: Dual variables associated with objective sum to 0.8070726400879964, not 1
Solution check warning: Dual variables associated with objective sum to 0.8154246407107052, not 1
Solution check warning: Dual variables associated with objective sum to 0.8146063798243846, not 1
Solution check warning: Dual variables associated with objective sum to 0.8154246407107052, not 1
Solution check warning: Dual variables associated with objective sum to 0.8154246407107052, not 1
Solution check warning: Dual variables associated with objective sum to 0.7248859154503805, not 1
Solution check warning: Dual variables associated with objective sum to 0.4606283609246332, not 1
Solution check warning: Dual variables associated with objective sum to 0.7409601606400995, not 1
Solution check warning: Dual variables associated with objective sum to 0.7409601606400995, not 1
Solution check warning: Dual variables associated with objective sum to 0.7409601606400995, not 1
Solution check warning: Dual variables associated with objective sum to 0.7409601606400995, not 1
Solution check warning: Dual variables associated with objective sum to 0.4606283609246332, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.8569436862554927, not 1
Solution check warning: Dual variables associated with objective sum to 0.8559227446475318, not 1
Solution check warning: Dual variables associated with objective sum to 0.8216165198254926, not 1
Solution check warning: Dual variables associated with objective sum to 0.8208227377304171, not 1
Solution check warning: Dual variables associated with objective sum to 0.8307528308481578, not 1
Solution check warning: Dual variables associated with objective sum to 0.8300447104470864, not 1
Solution check warning: Dual variables associated with objective sum to 0.8385159164100329, not 1
Solution check warning: Dual variables associated with objective sum to 0.837877284246719, not 1
Solution check warning: Dual variables associated with objective sum to 0.8385159164100329, not 1
Solution check warning: Dual variables associated with objective sum to 0.8385159164100329, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.8569436862554927, not 1
Solution check warning: Dual variables associated with objective sum to 0.8559227446475318, not 1
Solution check warning: Dual variables associated with objective sum to 0.8216165198254926, not 1
Solution check warning: Dual variables associated with objective sum to 0.8208227377304171, not 1
Solution check warning: Dual variables associated with objective sum to 0.8307528308481578, not 1
Solution check warning: Dual variables associated with objective sum to 0.8300447104470864, not 1
Solution check warning: Dual variables associated with objective sum to 0.8385159164100329, not 1
Solution check warning: Dual variables associated with objective sum to 0.837877284246719, not 1
Solution check warning: Dual variables associated with objective sum to 0.8385159164100329, not 1
Solution check warning: Dual variables associated with objective sum to 0.8385159164100329, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.539548837722167, not 1
Solution check warning: Dual variables associated with objective sum to 0.539548837722167, not 1
Solution check warning: Dual variables associated with objective sum to 0.539548837722167, not 1
Solution check warning: Dual variables associated with objective sum to 0.539548837722167, not 1
Solution check warning: Dual variables associated with objective sum to 0.1337599639913826, not 1
Solution check warning: Dual variables associated with objective sum to 0.1337599639913826, not 1
Solution check warning: Dual variables associated with objective sum to 0.4606283609246332, not 1
Solution check warning: Dual variables associated with objective sum to 0.4606283609246332, not 1
Solution check warning: Dual variables associated with objective sum to 0.8330415201564609, not 1
Solution check warning: Dual variables associated with objective sum to 0.8317120628200761, not 1
Solution check warning: Dual variables associated with objective sum to 0.799202749250931, not 1
Solution check warning: Dual variables associated with objective sum to 0.7981982254200097, not 1
Solution check warning: Dual variables associated with objective sum to 0.8079758386216233, not 1
Solution check warning: Dual variables associated with objective sum to 0.8070726400879964, not 1
Solution check warning: Dual variables associated with objective sum to 0.8154246407107052, not 1
Solution check warning: Dual variables associated with objective sum to 0.8146063798243846, not 1
Solution check warning: Dual variables associated with objective sum to 0.8154246407107052, not 1
Solution check warning: Dual variables associated with objective sum to 0.8154246407107052, not 1
Solution check warning: Dual variables associated with objective sum to 0.7248859154503805, not 1
Solution check warning: Dual variables associated with objective sum to 0.4606283609246332, not 1
Solution check warning: Dual variables associated with objective sum to 0.7409601606400995, not 1
Solution check warning: Dual variables associated with objective sum to 0.7409601606400995, not 1
Solution check warning: Dual variables associated with objective sum to 0.7409601606400995, not 1
Solution check warning: Dual variables associated with objective sum to 0.7409601606400995, not 1
Solution check warning: Dual variables associated with objective sum to 0.4606283609246332, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.8569436862554927, not 1
Solution check warning: Dual variables associated with objective sum to 0.8559227446475318, not 1
Solution check warning: Dual variables associated with objective sum to 0.8216165198254926, not 1
Solution check warning: Dual variables associated with objective sum to 0.8208227377304171, not 1
Solution check warning: Dual variables associated with objective sum to 0.8307528308481578, not 1
Solution check warning: Dual variables associated with objective sum to 0.8300447104470864, not 1
Solution check warning: Dual variables associated with objective sum to 0.8385159164100329, not 1
Solution check warning: Dual variables associated with objective sum to 0.837877284246719, not 1
Solution check warning: Dual variables associated with objective sum to 0.8385159164100329, not 1
Solution check warning: Dual variables associated with objective sum to 0.8385159164100329, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.8569436862554927, not 1
Solution check warning: Dual variables associated with objective sum to 0.8559227446475318, not 1
Solution check warning: Dual variables associated with objective sum to 0.8216165198254926, not 1
Solution check warning: Dual variables associated with objective sum to 0.8208227377304171, not 1
Solution check warning: Dual variables associated with objective sum to 0.8307528308481578, not 1
Solution check warning: Dual variables associated with objective sum to 0.8300447104470864, not 1
Solution check warning: Dual variables associated with objective sum to 0.8385159164100329, not 1
Solution check warning: Dual variables associated with objective sum to 0.837877284246719, not 1
Solution check warning: Dual variables associated with objective sum to 0.8385159164100329, not 1
Solution check warning: Dual variables associated with objective sum to 0.8385159164100329, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.5888716171244383, not 1
Solution check warning: Dual variables associated with objective sum to 0.539548837722167, not 1
Solution check warning: Dual variables associated with objective sum to 0.539548837722167, not 1
Solution check warning: Dual variables associated with objective sum to 0.539548837722167, not 1
Solution check warning: Dual variables associated with objective sum to 0.539548837722167, not 1
Solution check warning: Dual variables associated with objective sum to 0.4606283609246332, not 1
Solution check warning: Dual variables associated with objective sum to 0.4606232523508556, not 1
Solution check warning: Dual variables associated with objective sum to 0.4606283609246332, not 1
Solution check warning: Dual variables associated with objective sum to 0.4606232523508556, not 1
SGP not convergent: Cost rose by 9% on GP solve 2. Details can be found in `m.program.results` or by solving at a higher verbosity. Note that convergence is not guaranteed for models with SignomialEqualities.

Solution check warning: Dual variables associated with objective sum to 0.8910849822359524, not 1
SGP not convergent: Cost rose by 9% on GP solve 2. Details can be found in `m.program.results` or by solving at a higher verbosity. Note that convergence is not guaranteed for models with SignomialEqualities.

Solution check warning: Dual variables associated with objective sum to 0.8824049702721775, not 1
SGP not convergent: Cost rose by 9% on GP solve 2. Details can be found in `m.program.results` or by solving at a higher verbosity. Note that convergence is not guaranteed for models with SignomialEqualities.

Solution check warning: Dual variables associated with objective sum to 0.8853394968801647, not 1
SGP not convergent: Cost rose by 9% on GP solve 2. Details can be found in `m.program.results` or by solving at a higher verbosity. Note that convergence is not guaranteed for models with SignomialEqualities.

Solution check warning: Dual variables associated with objective sum to 0.8843326688611012, not 1
	

Standard Error