Failed
run_tests.TestPrimitives_mosek_cli.test_MarginModel (from run_tests.TestPrimitives_mosek_cli-20200305000456)
Failing for the past 1 build
(Since Failed
)
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.13375997160713957, not 1 Solution check warning: Dual variables associated with objective sum to 0.13375997160713957, not 1 Solution check warning: Dual variables associated with objective sum to 0.4606285443960656, not 1 Solution check warning: Dual variables associated with objective sum to 0.4606285443960656, not 1 Solution check warning: Dual variables associated with objective sum to 0.8330415153707194, not 1 Solution check warning: Dual variables associated with objective sum to 0.8317120529773006, not 1 Solution check warning: Dual variables associated with objective sum to 0.799202731982068, not 1 Solution check warning: Dual variables associated with objective sum to 0.7981981733652465, not 1 Solution check warning: Dual variables associated with objective sum to 0.8079758137747352, not 1 Solution check warning: Dual variables associated with objective sum to 0.8070726695920507, not 1 Solution check warning: Dual variables associated with objective sum to 0.8154247147587446, not 1 Solution check warning: Dual variables associated with objective sum to 0.8146063263806166, not 1 Solution check warning: Dual variables associated with objective sum to 0.8154247147587446, not 1 Solution check warning: Dual variables associated with objective sum to 0.8154247147587446, not 1 Solution check warning: Dual variables associated with objective sum to 0.7248884324218936, not 1 Solution check warning: Dual variables associated with objective sum to 0.4606285443960656, not 1 Solution check warning: Dual variables associated with objective sum to 0.7408831300980102, not 1 Solution check warning: Dual variables associated with objective sum to 0.7408831300980102, not 1 Solution check warning: Dual variables associated with objective sum to 0.7408831300980102, not 1 Solution check warning: Dual variables associated with objective sum to 0.7408831300980102, not 1 Solution check warning: Dual variables associated with objective sum to 0.4606285443960656, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.8569436889601626, not 1 Solution check warning: Dual variables associated with objective sum to 0.8559228121568424, not 1 Solution check warning: Dual variables associated with objective sum to 0.8216165126220852, not 1 Solution check warning: Dual variables associated with objective sum to 0.8208227537826902, not 1 Solution check warning: Dual variables associated with objective sum to 0.830752853424282, not 1 Solution check warning: Dual variables associated with objective sum to 0.8300447021206997, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159063499655, not 1 Solution check warning: Dual variables associated with objective sum to 0.837877294288052, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159063499655, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159063499655, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.8569436889601626, not 1 Solution check warning: Dual variables associated with objective sum to 0.8559228121568424, not 1 Solution check warning: Dual variables associated with objective sum to 0.8216165126220852, not 1 Solution check warning: Dual variables associated with objective sum to 0.8208227537826902, not 1 Solution check warning: Dual variables associated with objective sum to 0.830752853424282, not 1 Solution check warning: Dual variables associated with objective sum to 0.8300447021206997, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159063499655, not 1 Solution check warning: Dual variables associated with objective sum to 0.837877294288052, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159063499655, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159063499655, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5395448964453236, not 1 Solution check warning: Dual variables associated with objective sum to 0.5395448964453236, not 1 Solution check warning: Dual variables associated with objective sum to 0.5395448964453236, not 1 Solution check warning: Dual variables associated with objective sum to 0.5395448964453236, not 1 Solution check warning: Dual variables associated with objective sum to 0.13375997160713957, not 1 Solution check warning: Dual variables associated with objective sum to 0.13375997160713957, not 1 Solution check warning: Dual variables associated with objective sum to 0.4606285443960656, not 1 Solution check warning: Dual variables associated with objective sum to 0.4606285443960656, not 1 Solution check warning: Dual variables associated with objective sum to 0.8330415153707194, not 1 Solution check warning: Dual variables associated with objective sum to 0.8317120529773006, not 1 Solution check warning: Dual variables associated with objective sum to 0.799202731982068, not 1 Solution check warning: Dual variables associated with objective sum to 0.7981981733652465, not 1 Solution check warning: Dual variables associated with objective sum to 0.8079758137747352, not 1 Solution check warning: Dual variables associated with objective sum to 0.8070726695920507, not 1 Solution check warning: Dual variables associated with objective sum to 0.8154247147587446, not 1 Solution check warning: Dual variables associated with objective sum to 0.8146063263806166, not 1 Solution check warning: Dual variables associated with objective sum to 0.8154247147587446, not 1 Solution check warning: Dual variables associated with objective sum to 0.8154247147587446, not 1 Solution check warning: Dual variables associated with objective sum to 0.7248884324218936, not 1 Solution check warning: Dual variables associated with objective sum to 0.4606285443960656, not 1 Solution check warning: Dual variables associated with objective sum to 0.7408831300980102, not 1 Solution check warning: Dual variables associated with objective sum to 0.7408831300980102, not 1 Solution check warning: Dual variables associated with objective sum to 0.7408831300980102, not 1 Solution check warning: Dual variables associated with objective sum to 0.7408831300980102, not 1 Solution check warning: Dual variables associated with objective sum to 0.4606285443960656, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.8569436889601626, not 1 Solution check warning: Dual variables associated with objective sum to 0.8559228121568424, not 1 Solution check warning: Dual variables associated with objective sum to 0.8216165126220852, not 1 Solution check warning: Dual variables associated with objective sum to 0.8208227537826902, not 1 Solution check warning: Dual variables associated with objective sum to 0.830752853424282, not 1 Solution check warning: Dual variables associated with objective sum to 0.8300447021206997, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159063499655, not 1 Solution check warning: Dual variables associated with objective sum to 0.837877294288052, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159063499655, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159063499655, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.8569436889601626, not 1 Solution check warning: Dual variables associated with objective sum to 0.8559228121568424, not 1 Solution check warning: Dual variables associated with objective sum to 0.8216165126220852, not 1 Solution check warning: Dual variables associated with objective sum to 0.8208227537826902, not 1 Solution check warning: Dual variables associated with objective sum to 0.830752853424282, not 1 Solution check warning: Dual variables associated with objective sum to 0.8300447021206997, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159063499655, not 1 Solution check warning: Dual variables associated with objective sum to 0.837877294288052, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159063499655, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159063499655, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5888708077229085, not 1 Solution check warning: Dual variables associated with objective sum to 0.5395448964453236, not 1 Solution check warning: Dual variables associated with objective sum to 0.5395448964453236, not 1 Solution check warning: Dual variables associated with objective sum to 0.5395448964453236, not 1 Solution check warning: Dual variables associated with objective sum to 0.5395448964453236, not 1 Solution check warning: Dual variables associated with objective sum to 0.4606285443960656, not 1 Solution check warning: Dual variables associated with objective sum to 0.46062810946648536, not 1 Solution check warning: Dual variables associated with objective sum to 0.4606285443960656, not 1 Solution check warning: Dual variables associated with objective sum to 0.46062810946648536, 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.8863238140694677, 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.8842398521806034, 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.9021413616210436, 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.882634255354002, not 1