Failed
run_tests.TestPrimitives_mosek_conif.test_MarginModel (from run_tests.TestPrimitives_mosek_conif-20200305001753)
Failing for the past 1 build
(Since Failed
)
Error Message
gpkit.PosynomialInequality(SGP.PCCPslack >= 1)
Stacktrace
Traceback (most recent call last): File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/robust/robust/robust.py", line 459, in internalsolve return model.solve(verbosity=verbosity) File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/constraints/prog_factories.py", line 125, in solvefn self.program, progsolve = genfunction(self, **kwargs) File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/constraints/prog_factories.py", line 81, in programfn prog = program(self.cost, self, constants, **initargs) File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/constraints/gp.py", line 94, in __init__ self.hmaps = [cost_hmap] + list(self.as_hmapslt1(self.substitutions)) File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/constraints/set.py", line 163, in as_hmapslt1 for l in self.flat(yield_if_hasattr="as_hmapslt1"))) File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/constraints/set.py", line 163, in as_hmapslt1 for l in self.flat(yield_if_hasattr="as_hmapslt1"))) File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/constraints/set.py", line 163, in <genexpr> for l in self.flat(yield_if_hasattr="as_hmapslt1"))) File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/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 "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/robust/robust/testing/t_primitives.py", line 20, in test_MarginModel mm = MarginModel(m, gamma=0.5) File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/constraints/model.py", line 54, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/robust/robust/margin.py", line 37, in setup self.nominal_solve = RobustModel.internalsolve(model, verbosity=0) File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/robust/robust/robust.py", line 461, in internalsolve return model.localsolve(verbosity=verbosity) File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/optimizer/mosek/gpkit/constraints/prog_factories.py", line 126, in solvefn result = progsolve(solver, verbosity=verbosity, **kwargs) File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys_VM/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.13375996983025787, not 1 Solution check warning: Dual variables associated with objective sum to 0.13375996983025787, not 1 Solution check warning: Dual variables associated with objective sum to 0.46062787821728113, not 1 Solution check warning: Dual variables associated with objective sum to 0.46062787821728113, not 1 Solution check warning: Dual variables associated with objective sum to 0.8330415183229405, not 1 Solution check warning: Dual variables associated with objective sum to 0.8317120645744842, not 1 Solution check warning: Dual variables associated with objective sum to 0.7992027556874821, not 1 Solution check warning: Dual variables associated with objective sum to 0.7981982254463402, not 1 Solution check warning: Dual variables associated with objective sum to 0.807975749579114, not 1 Solution check warning: Dual variables associated with objective sum to 0.8070727246915292, not 1 Solution check warning: Dual variables associated with objective sum to 0.8154246665595339, not 1 Solution check warning: Dual variables associated with objective sum to 0.8146063848814962, not 1 Solution check warning: Dual variables associated with objective sum to 0.8154246665595339, not 1 Solution check warning: Dual variables associated with objective sum to 0.8154246665595339, not 1 Solution check warning: Dual variables associated with objective sum to 0.7248889976875895, not 1 Solution check warning: Dual variables associated with objective sum to 0.46062787821728113, 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.46062787821728113, 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.8569436960587871, not 1 Solution check warning: Dual variables associated with objective sum to 0.8559227047970513, not 1 Solution check warning: Dual variables associated with objective sum to 0.8216165101458833, not 1 Solution check warning: Dual variables associated with objective sum to 0.8208227235597721, not 1 Solution check warning: Dual variables associated with objective sum to 0.8307528358134662, not 1 Solution check warning: Dual variables associated with objective sum to 0.830044709528694, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159217057974, not 1 Solution check warning: Dual variables associated with objective sum to 0.8378772813836624, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159217057974, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159217057974, 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.8569436960587871, not 1 Solution check warning: Dual variables associated with objective sum to 0.8559227047970513, not 1 Solution check warning: Dual variables associated with objective sum to 0.8216165101458833, not 1 Solution check warning: Dual variables associated with objective sum to 0.8208227235597721, not 1 Solution check warning: Dual variables associated with objective sum to 0.8307528358134662, not 1 Solution check warning: Dual variables associated with objective sum to 0.830044709528694, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159217057974, not 1 Solution check warning: Dual variables associated with objective sum to 0.8378772813836624, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159217057974, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159217057974, 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.13375996983025787, not 1 Solution check warning: Dual variables associated with objective sum to 0.13375996983025787, not 1 Solution check warning: Dual variables associated with objective sum to 0.46062787821728113, not 1 Solution check warning: Dual variables associated with objective sum to 0.46062787821728113, not 1 Solution check warning: Dual variables associated with objective sum to 0.8330415183229405, not 1 Solution check warning: Dual variables associated with objective sum to 0.8317120645744842, not 1 Solution check warning: Dual variables associated with objective sum to 0.7992027556874821, not 1 Solution check warning: Dual variables associated with objective sum to 0.7981982254463402, not 1 Solution check warning: Dual variables associated with objective sum to 0.807975749579114, not 1 Solution check warning: Dual variables associated with objective sum to 0.8070727246915292, not 1 Solution check warning: Dual variables associated with objective sum to 0.8154246665595339, not 1 Solution check warning: Dual variables associated with objective sum to 0.8146063848814962, not 1 Solution check warning: Dual variables associated with objective sum to 0.8154246665595339, not 1 Solution check warning: Dual variables associated with objective sum to 0.8154246665595339, not 1 Solution check warning: Dual variables associated with objective sum to 0.7248889976875895, not 1 Solution check warning: Dual variables associated with objective sum to 0.46062787821728113, 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.46062787821728113, 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.8569436960587871, not 1 Solution check warning: Dual variables associated with objective sum to 0.8559227047970513, not 1 Solution check warning: Dual variables associated with objective sum to 0.8216165101458833, not 1 Solution check warning: Dual variables associated with objective sum to 0.8208227235597721, not 1 Solution check warning: Dual variables associated with objective sum to 0.8307528358134662, not 1 Solution check warning: Dual variables associated with objective sum to 0.830044709528694, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159217057974, not 1 Solution check warning: Dual variables associated with objective sum to 0.8378772813836624, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159217057974, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159217057974, 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.8569436960587871, not 1 Solution check warning: Dual variables associated with objective sum to 0.8559227047970513, not 1 Solution check warning: Dual variables associated with objective sum to 0.8216165101458833, not 1 Solution check warning: Dual variables associated with objective sum to 0.8208227235597721, not 1 Solution check warning: Dual variables associated with objective sum to 0.8307528358134662, not 1 Solution check warning: Dual variables associated with objective sum to 0.830044709528694, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159217057974, not 1 Solution check warning: Dual variables associated with objective sum to 0.8378772813836624, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159217057974, not 1 Solution check warning: Dual variables associated with objective sum to 0.8385159217057974, 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.46062787821728113, not 1 Solution check warning: Dual variables associated with objective sum to 0.4606283499228639, not 1 Solution check warning: Dual variables associated with objective sum to 0.46062787821728113, not 1 Solution check warning: Dual variables associated with objective sum to 0.4606283499228639, 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.8832316529686411, 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.8844688547911491, 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.8868093696434912, 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.8843422603456234, not 1