Skip to content

Passed

gpkit.tests.from_paths.TestFiles.test_run_tests_py_mosek_cli (from gpkit.tests.from_paths.TestFiles-20220302154026)

Took 1 min 36 sec.

Standard Output

Final PCCP solution let non-GP constraints slacken by 0.026%. Calling .localsolve(pccp_penalty=...) with a higher `pccp_penalty` (it was 200 this time) will reduce slack if the model is solvable with less. To verify that the slack is needed, generate an SGP with `use_pccp=False` and start it from this model's  solution: e.g. `m.localsolve(use_pccp=False, x0=m.solution["variables"])`.
Solution check warning: Dual cost 115071.56623625649 does not match primal cost 115044.1
Final PCCP solution let 
...[truncated 248 chars]...
alse` and start it from this model's  solution: e.g. `m.localsolve(use_pccp=False, x0=m.solution["variables"])`.
Final PCCP solution let non-GP constraints slacken by 0.036%. Calling .localsolve(pccp_penalty=...) with a higher `pccp_penalty` (it was 200 this time) will reduce slack if the model is solvable with less. To verify that the slack is needed, generate an SGP with `use_pccp=False` and start it from this model's  solution: e.g. `m.localsolve(use_pccp=False, x0=m.solution["variables"])`.

Standard Error

Running tests...
----------------------------------------------------------------------
.F...F................FF..FF....F..F......
======================================================================
FAIL [0.025s]: test_correlated_monomials (run_tests.TestEquivalentPosynomials_mosek_cli)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jenkins/workspace/CE_gpkit_PR_research_models/buildnode/macys/optimizer/mosek/robust/ro
...[truncated 12068 chars]...
term_approximation.py", line 202, in test_bad_relations
    self.assertEqual(actual_relations_mons, relations_mons)
AssertionError: {gpkit.Monomial(8.65·u_2^0.086·u_6^0.21·u_24^0.21·u_17^2.[48875 chars]: 1}} != {gpkit.Monomial(1.23·x_0^-2.7471920470757305·u_0^1.945554[134404 chars]: 5}}
Diff is 332192 characters long. Set self.maxDiff to None to see it.

----------------------------------------------------------------------
Ran 42 tests in 78.314s

FAILED (failures=8)

Generating XML reports...